[Dh-make-php-commits] r185 - trunk/pecl.template

Uwe Steinmann steinm at costa.debian.org
Tue May 30 11:55:28 UTC 2006


Author: steinm
Date: 2006-05-30 11:55:26 +0000 (Tue, 30 May 2006)
New Revision: 185

Modified:
   trunk/pecl.template/rules
Log:
- replace /usr/bin/php-config4 --phpapi' by
  '/usr/bin/php-config4 --extension-dir | xargs basename' because
  php-config4 in sarge doesn't have the --phpapi option (Closes: #365667)


Modified: trunk/pecl.template/rules
===================================================================
--- trunk/pecl.template/rules	2006-05-30 11:28:28 UTC (rev 184)
+++ trunk/pecl.template/rules	2006-05-30 11:55:26 UTC (rev 185)
@@ -29,7 +29,9 @@
 SOURCE_DIR=$(shell ls -d $(PECL_PKG_REALNAME)-*)
 BINARYTARGETS=##binarytargets##
 
-phpapiver4=$(shell /usr/bin/php-config4 --phpapi)
+# Sarge doesn't support --phpapi option (Bug #365667)
+#phpapiver4=$(shell /usr/bin/php-config4 --phpapi)
+phpapiver4=$(/usr/bin/php-config4 --extension-dir | xargs basename)
 phpapiver5=$(shell /usr/bin/php-config5 --phpapi)
 
 configure-v4 configure-v5: configure-v%: configure-stamp-v%




More information about the Dh-make-php-commits mailing list