diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-08-08 11:56:24 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-08 10:06:00 +0100 |
commit | 2dec760b79bb7e2e79c33c5127fa64685bd86a18 (patch) | |
tree | 0a1ca24a162ec8365854b72faa3774b685ecd840 | |
parent | 87ffccb5dc184375e8807834e3b9b08ada708105 (diff) | |
download | poky-2dec760b79bb7e2e79c33c5127fa64685bd86a18.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: 5290e82ecef08b5e573d7442627276d7b42c6b93)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/foomatic/foomatic-filters_4.0.16.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/foomatic/foomatic-filters_4.0.16.bb b/meta/recipes-extended/foomatic/foomatic-filters_4.0.16.bb index 5f145b0681..d158f946a4 100644 --- a/meta/recipes-extended/foomatic/foomatic-filters_4.0.16.bb +++ b/meta/recipes-extended/foomatic/foomatic-filters_4.0.16.bb | |||
@@ -10,7 +10,7 @@ format using a printer-specific, but spooler-independent PPD file. \ | |||
10 | " | 10 | " |
11 | 11 | ||
12 | DEPENDS += "cups perl libxml2" | 12 | DEPENDS += "cups perl libxml2" |
13 | PR = "r0" | 13 | PR = "r1" |
14 | 14 | ||
15 | LICENSE = "GPLv2+" | 15 | LICENSE = "GPLv2+" |
16 | LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca445f6965873eca0259a17f833" | 16 | LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca445f6965873eca0259a17f833" |
@@ -25,6 +25,7 @@ inherit autotools | |||
25 | EXTRA_OECONF += "--disable-file-converter-check --with-file-converter=texttops" | 25 | EXTRA_OECONF += "--disable-file-converter-check --with-file-converter=texttops" |
26 | 26 | ||
27 | do_configure_prepend() { | 27 | do_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 |