summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Schonken <olivier.schonken@gmail.com>2013-05-11 00:21:35 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-05-11 19:13:38 (GMT)
commite074805b5c1c96788e001869936d8fcc8b9b9edb (patch)
tree972e633be2c9fee8e8172c5e7363a2d33786804e
parent8c87152fe88fa3a30c93aec6b01574bf37e2b328 (diff)
downloadbuildroot-e074805b5c1c96788e001869936d8fcc8b9b9edb.tar.gz
buildroot-e074805b5c1c96788e001869936d8fcc8b9b9edb.tar.bz2
Disable building of cups driver in host-gutenprint
This should fix http://autobuild.buildroot.org/results/d2e386b50744aeda7257a0b78aafe90ba4da697c/ Because there is no host-cups package, host-gutenprint cant build the host-cups drivers - missing includes and libs. Host gutenprint only built to get the xml. Thus not a loss. Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/gutenprint/gutenprint.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/package/gutenprint/gutenprint.mk b/package/gutenprint/gutenprint.mk
index 0463771..a598ea9 100644
--- a/package/gutenprint/gutenprint.mk
+++ b/package/gutenprint/gutenprint.mk
@@ -41,6 +41,13 @@ HOST_GUTENPRINT_DEPENDENCIES =
# The host-gutenprint shall create the required header
HOST_GUTENPRINT_MAKE_ENV =
+# Even with --without-cups, gutenprint will still add the output of
+# cups-config --cflags / --ldflags to it's compiler/linker flags if
+# available on host.
+# Notice: Because of the configure logic, it needs to be set to the
+# empty string to to disable this, not just to /bin/false like elsewhere.
+HOST_GUTENPRINT_CONF_ENV = ac_cv_path_CUPS_CONFIG=''
+
HOST_GUTENPRINT_CONF_OPT = --disable-libgutenprintui2 \
--disable-samples \
--without-gimp2 \
@@ -51,7 +58,8 @@ HOST_GUTENPRINT_CONF_OPT = --disable-libgutenprintui2 \
--without-foomatic3 \
--disable-escputil \
--disable-test \
- --disable-testpattern
+ --disable-testpattern \
+ --without-cups
# Needed by autoreconf
define GUTENPRINT_CREATE_M4_DIR