summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2008-09-09 19:41:39 +0000
committerStanislav Brabec <utx@penguin.cz>2008-09-09 19:41:39 +0000
commitb9af9fd613c9f3a983f772bcb7011943a851051b (patch)
tree65bcff4f50466fecc398e75bffa7d50e11ce1b15 /packages
parent3cc9b4aa2f5ec60d084ad151eb3671bd4af10a6f (diff)
intltool: Better fix of perl path not breaking native nor cross build.
Diffstat (limited to 'packages')
-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() {