summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-05-01 13:56:55 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-01 13:57:09 +0200
commit650e8e2f5cba420f546e59103286496ac62b34eb (patch)
treec2ce77207153d7c7887f5c430265dd7c04fe7f7b /package
parent1069f8276585131cef852603e93b883e16f11058 (diff)
downloadbuildroot-novena-650e8e2f5cba420f546e59103286496ac62b34eb.tar.gz
buildroot-novena-650e8e2f5cba420f546e59103286496ac62b34eb.zip
cups: cleanup python support
The CFLAGS handling isn't needed. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/cups/cups.mk9
1 files changed, 3 insertions, 6 deletions
diff --git a/package/cups/cups.mk b/package/cups/cups.mk
index c19ae0cbc..7f1f52eaa 100644
--- a/package/cups/cups.mk
+++ b/package/cups/cups.mk
@@ -10,7 +10,6 @@ CUPS_SITE = http://ftp.easysw.com/pub/cups/$(CUPS_VERSION)
CUPS_INSTALL_STAGING = YES
CUPS_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) DSTROOT=$(STAGING_DIR) install
CUPS_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) DSTROOT=$(TARGET_DIR) install
-CUPS_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) $(CUPS_CFLAGS)"
CUPS_CONF_OPT = --without-perl \
--without-java \
--disable-gnutls \
@@ -36,12 +35,10 @@ else
endif
ifeq ($(BR2_PACKAGE_PYTHON),y)
- CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)
- CUPS_CONF_ENV += ac_cv_path_python=$(STAGING_DIR)/usr/bin/python
- CUPS_CONF_OPT += --with-python
- CUPS_DEPENDENCIES += python
+ CUPS_CONF_OPT += --with-python
+ CUPS_DEPENDENCIES += python
else
- CUPS_CONF_OPT += --without-python
+ CUPS_CONF_OPT += --without-python
endif
ifeq ($(BR2_PACKAGE_CUPS_PDFTOPS),y)