summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-04-04 00:55:01 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-04-04 22:57:30 +0200
commitb392cb4c743cce128c2c777f3b2116d546118ec6 (patch)
treea95e6efcb75ca9b3fd8c3492a90cfda449b490ad /package
parentc830a1a510c32d3f0d9db045762950e24a8d9b0c (diff)
downloadbuildroot-novena-b392cb4c743cce128c2c777f3b2116d546118ec6.tar.gz
buildroot-novena-b392cb4c743cce128c2c777f3b2116d546118ec6.zip
foomatic-filters: make location of enscript very clear
Passing --with-file-converter=enscript isn't enough since the build system will try the fallback options (a2ps, mpage, texttops) if it's not found. This has two bad effects: one of the tools leaking from the distribution making foomatic-filters think everything will be the same on the target (and failing when that's not the case), and failed builds when none is found (enscript is installed in the target directory, the build system doesn't look there). So just avoid the test by stating explicitly where enscript will live in the target. Fixes: http://autobuild.buildroot.net/results/37ad3d2c5c35f00c644a2c572f1429bafa4b7cf4/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/foomatic-filters/foomatic-filters.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/foomatic-filters/foomatic-filters.mk b/package/foomatic-filters/foomatic-filters.mk
index ad7ab7a68..6e1348601 100644
--- a/package/foomatic-filters/foomatic-filters.mk
+++ b/package/foomatic-filters/foomatic-filters.mk
@@ -9,8 +9,8 @@ FOOMATIC_FILTERS_SITE = http://www.openprinting.org/download/foomatic
FOOMATIC_FILTERS_LICENSE = GPLv2+
FOOMATIC_FILTERS_LICENSE_FILES = COPYING
FOOMATIC_FILTERS_DEPENDENCIES = cups libusb enscript
-
FOOMATIC_FILTERS_CONF_OPT = --with-file-converter=enscript
+FOOMATIC_FILTERS_CONF_ENV = ac_cv_path_ENSCRIPT="/usr/bin/enscript"
ifeq ($(BR2_PACKAGE_DBUS),y)
FOOMATIC_FILTERS_CONF_OPT += --enable-dbus