SOURCES: php-config-dir.patch (NEW) - add --config-dir to php-config

glen glen at pld-linux.org
Thu Dec 14 00:19:13 CET 2006


Author: glen                         Date: Wed Dec 13 23:19:13 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add --config-dir to php-config

---- Files affected:
SOURCES:
   php-config-dir.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/php-config-dir.patch
diff -u /dev/null SOURCES/php-config-dir.patch:1.1
--- /dev/null	Thu Dec 14 00:19:13 2006
+++ SOURCES/php-config-dir.patch	Thu Dec 14 00:19:08 2006
@@ -0,0 +1,28 @@
+--- php-5.2.0/scripts/php-config.in~	2006-07-27 11:53:16.000000000 +0300
++++ php-5.2.0/scripts/php-config.in	2006-12-14 01:11:33.348180526 +0200
+@@ -2,6 +2,7 @@
+ 
+ prefix="@prefix@"
+ exec_prefix="@exec_prefix@"
++config_dir='@sysconfdir@'
+ version="@PHP_VERSION@"
+ version_id="@PHP_VERSION_ID@"
+ includedir="@includedir@/php"
+@@ -25,6 +26,8 @@
+ 	echo $libs;;
+ --extension-dir)
+ 	echo $extension_dir;;
++--config-dir)
++	echo $config_dir;;
+ --include-dir)
+ 	echo $includedir;;
+ --php-binary)
+@@ -34,7 +37,7 @@
+ --vernum)
+ 	echo $version_id;;
+ *)
+-	echo "Usage: $0 [--prefix|--includes|--ldflags|--libs|--extension-dir|--include-dir|--php-binary|--version|--vernum]"
++	echo "Usage: $0 [--prefix|--includes|--ldflags|--libs|--extension-dir|--config-dir|--include-dir|--php-binary|--version|--vernum]"
+ 	exit 1;;
+ esac
+ 
================================================================


More information about the pld-cvs-commit mailing list