cups: fixup php extension build
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 1 May 2012 08:56:45 +0000 (10:56 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 1 May 2012 08:56:45 +0000 (10:56 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/cups/cups.mk

index 2357306d38cab4c3f4cb24a8651bc1537a979db0..c19ae0cbcaf6497cf7b594e407045ea02c5a9ab2 100644 (file)
@@ -28,17 +28,11 @@ ifeq ($(BR2_PACKAGE_XORG7),y)
 endif
 
 ifeq ($(BR2_PACKAGE_PHP),y)
-       CUPS_CFLAGS +=          -I$(STAGING_DIR)/usr/include/php
-       CUPS_CFLAGS +=          -I$(STAGING_DIR)/usr/include/php/main
-       CUPS_CFLAGS +=          -I$(STAGING_DIR)/usr/include/php/regex
-       CUPS_CFLAGS +=          -I$(STAGING_DIR)/usr/include/php/TSRM
-       CUPS_CFLAGS +=          -I$(STAGING_DIR)/usr/include/php/Zend
-       CUPS_CFLAGS +=          -I$(STAGING_DIR)/usr/include/php/ext
-       CUPS_CONF_ENV +=        ac_cv_path_php=$(STAGING_DIR)/usr/bin/php
-       CUPS_CONF_OPT +=        --with-php
-       CUPS_DEPENDENCIES +=    php
+       CUPS_CONF_ENV += ac_cv_path_PHPCONFIG=$(STAGING_DIR)/usr/bin/php-config
+       CUPS_CONF_OPT += --with-php
+       CUPS_DEPENDENCIES += php
 else
-       CUPS_CONF_OPT +=        --without-php
+       CUPS_CONF_OPT += --without-php
 endif
 
 ifeq ($(BR2_PACKAGE_PYTHON),y)