From patchwork Mon Aug 13 21:15:09 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [28/32] foomatic: fix perl path for target Date: Mon, 13 Aug 2012 21:15:09 -0000 From: Scott Garman X-Patchwork-Id: 34441 Message-Id: To: openembedded-core@lists.openembedded.org From: Saul Wold 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 Signed-off-by: Richard Purdie Reworked commit to fix merge conflicts with denzil branch. Signed-off-by: Scott Garman --- .../foomatic/foomatic-filters_4.0.7.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. \ " 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