[packages/php/PHP_5_4] exclude "none" from --php-sapis
glen
glen at pld-linux.org
Thu Aug 2 01:05:02 CEST 2012
commit 8a92567a4a36eeacdb7893a7b0b331a596d8dc4b
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Aug 2 01:17:18 2012 +0300
exclude "none" from --php-sapis
php.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/php.spec b/php.spec
index 8561024..aa5f694 100644
--- a/php.spec
+++ b/php.spec
@@ -2244,7 +2244,7 @@ for sapi in $sapis; do
done
# as we build each SAPI in own make, adjust php-config.in forehead
-sapis=$(awk '/^PHP_SAPI = /{print $3}' Makefile.* | sort -u | xargs)
+sapis=$(awk '/^PHP_SAPI = /{print $3}' Makefile.* | sort -u | grep -v none | xargs)
sed -i -e "s, at PHP_INSTALLED_SAPIS@,$sapis," "scripts/php-config.in"
# must make libphp_common first, so modules can link against it.
More information about the pld-cvs-commit
mailing list