]> code.ossystems Code Review - openembedded-core.git/commitdiff
foomatic: fix perl path for target
authorSaul Wold <sgw@linux.intel.com>
Wed, 8 Aug 2012 08:56:24 +0000 (11:56 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 Aug 2012 09:05:52 +0000 (10:05 +0100)
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>
meta/recipes-extended/foomatic/foomatic-filters_4.0.16.bb

index 5f145b068188e40cd55e2fa9d669ddf27a09d581..d158f946a49bf7358f5a9e8d247c3c0203b6a4e0 100644 (file)
@@ -10,7 +10,7 @@ format using a printer-specific, but spooler-independent PPD file. \
 "
 
 DEPENDS += "cups perl libxml2"
-PR = "r0"
+PR = "r1"
 
 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