summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-08-08 08:56:24 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-21 10:16:44 (GMT)
commita8d4eb449f110491d2a51600d3a5c9e7c389e588 (patch)
treefb1f32a37d3ce0c587170afe0f81b839c135613c /meta/recipes-extended
parent4253c34000407ffa5eda00cb5d92e9758f423f9e (diff)
downloadpoky-a8d4eb449f110491d2a51600d3a5c9e7c389e588.tar.gz
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 (From OE-Core rev: f189ee78bed0920cfd33689ebb9aad45fded2c4d) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-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 223bb02..8626d38 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. \
10" 10"
11 11
12DEPENDS += "cups perl libxml2" 12DEPENDS += "cups perl libxml2"
13PR = "r3" 13PR = "r4"
14 14
15LICENSE = "GPLv2+" 15LICENSE = "GPLv2+"
16LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca445f6965873eca0259a17f833" 16LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca445f6965873eca0259a17f833"
@@ -25,6 +25,7 @@ inherit autotools
25EXTRA_OECONF += "--disable-file-converter-check --with-file-converter=texttops" 25EXTRA_OECONF += "--disable-file-converter-check --with-file-converter=texttops"
26 26
27do_configure_prepend() { 27do_configure_prepend() {
28 export PERL="${bindir}/env perl"
28 export LIB_CUPS=${exec_prefix}/lib/cups # /usr/lib NOT libdir 29 export LIB_CUPS=${exec_prefix}/lib/cups # /usr/lib NOT libdir
29 export CUPS_BACKENDS=${exec_prefix}/lib/cups/backend # /usr/lib NOT libdir 30 export CUPS_BACKENDS=${exec_prefix}/lib/cups/backend # /usr/lib NOT libdir
30 export CUPS_FILTERS=${exec_prefix}/lib/cups/filter # /usr/lib NOT libdir 31 export CUPS_FILTERS=${exec_prefix}/lib/cups/filter # /usr/lib NOT libdir