]> git.pld-linux.org Git - packages/php.git/commitdiff
exclude "none" from --php-sapis
authorElan Ruusamäe <glen@delfi.ee>
Wed, 1 Aug 2012 22:17:18 +0000 (01:17 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 1 Aug 2012 22:17:18 +0000 (01:17 +0300)
php.spec

index 8561024ac619219b9cb6f70c3d5602b9e613398f..aa5f6944a2345198defc2d3f4b7cdb57b6af6e04 100644 (file)
--- 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,@PHP_INSTALLED_SAPIS@,$sapis," "scripts/php-config.in"
 
 # must make libphp_common first, so modules can link against it.
This page took 0.066813 seconds and 4 git commands to generate.