summaryrefslogtreecommitdiff
path: root/packages/intltool
diff options
context:
space:
mode:
Diffstat (limited to 'packages/intltool')
-rw-r--r--packages/intltool/intltool-native_0.40.3.bb2
-rw-r--r--packages/intltool/intltool_0.40.3.bb4
2 files changed, 4 insertions, 2 deletions
diff --git a/packages/intltool/intltool-native_0.40.3.bb b/packages/intltool/intltool-native_0.40.3.bb
index a90b667d6d..b9550cc982 100644
--- a/packages/intltool/intltool-native_0.40.3.bb
+++ b/packages/intltool/intltool-native_0.40.3.bb
@@ -5,7 +5,7 @@ PR = "r2"
inherit native
DEPENDS = "libxml-parser-perl-native"
-export PERL = "/usr/bin/env perl"
+EXTRA_OEMAKE = "'PERL_TARGET=/usr/bin/env perl'"
do_configure_prepend() {
cd ${S}
diff --git a/packages/intltool/intltool_0.40.3.bb b/packages/intltool/intltool_0.40.3.bb
index 218cb6dbb3..b4000dc7c0 100644
--- a/packages/intltool/intltool_0.40.3.bb
+++ b/packages/intltool/intltool_0.40.3.bb
@@ -2,8 +2,10 @@ require intltool.inc
PR = "r2"
+EXTRA_OEMAKE = "'PERL_TARGET=/usr/bin/perl'"
+
do_configure_prepend() {
- sed -i -e s:\\\$\(PERL\):/usr/bin/perl:g Makefile.am
+ sed -i -e s:\\\$\(PERL\):\$\(PERL_TARGET\):g Makefile.am
}
do_configure_append() {