summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-08-08 11:56:24 +0300
committerScott Garman <scott.a.garman@intel.com>2012-08-08 11:17:39 -0700
commitf189ee78bed0920cfd33689ebb9aad45fded2c4d (patch)
treeafe424ea4c8193572dd229d16b7a9f18fccb8cff
parentc2bd2936907ea8b776d58e8cc58a8359a6e7e9b9 (diff)
downloadopenembedded-core-f189ee78bed0920cfd33689ebb9aad45fded2c4d.tar.gz
openembedded-core-f189ee78bed0920cfd33689ebb9aad45fded2c4d.tar.bz2
openembedded-core-f189ee78bed0920cfd33689ebb9aad45fded2c4d.zip
foomatic: fix perl path for target
This problem appears on F17 when configure finds /bin/perl, since the beh script is a target side script, we need to set PERL in the do_configure_prepend in order for the correct perl to be used Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Reworked commit to fix merge conflicts with denzil branch. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
-rw-r--r--meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb b/meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb
index 223bb02ca4..8626d38eb2 100644
--- a/meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb
+++ b/meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb
@@ -10,7 +10,7 @@ format using a printer-specific, but spooler-independent PPD file. \
"
DEPENDS += "cups perl libxml2"
-PR = "r3"
+PR = "r4"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca445f6965873eca0259a17f833"
@@ -25,6 +25,7 @@ inherit autotools
EXTRA_OECONF += "--disable-file-converter-check --with-file-converter=texttops"
do_configure_prepend() {
+ export PERL="${bindir}/env perl"
export LIB_CUPS=${exec_prefix}/lib/cups # /usr/lib NOT libdir
export CUPS_BACKENDS=${exec_prefix}/lib/cups/backend # /usr/lib NOT libdir
export CUPS_FILTERS=${exec_prefix}/lib/cups/filter # /usr/lib NOT libdir