[packages/php] optimize builds for non-defautl sapis not to build cli/cgi
glen
glen at pld-linux.org
Fri May 2 10:34:54 CEST 2014
commit 96ae08b155ad9d43cb339b4984ca21f71ad07409
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri May 2 11:32:16 2014 +0300
optimize builds for non-defautl sapis not to build cli/cgi
php.spec | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/php.spec b/php.spec
index 978af4a..1a73bf2 100644
--- a/php.spec
+++ b/php.spec
@@ -2168,21 +2168,21 @@ for sapi in $sapis; do
sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}'
;;
fpm)
- sapi_args='--disable-cli --enable-fpm'
+ sapi_args='--disable-cli --disable-cgi --enable-fpm'
;;
embed)
sapi_args='--disable-cli --disable-cgi --enable-embed'
;;
apxs1)
ver=$(rpm -q --qf '%{V}' apache1-devel)
- sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver"
+ sapi_args="--disable-cli --disable-cgi --with-apxs=%{apxs1} --with-apache-version=$ver"
;;
apxs2)
ver=$(rpm -q --qf '%{V}' apache-devel)
- sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver"
+ sapi_args="--disable-cli --disable-cgi --with-apxs2=%{apxs2} --with-apache-version=$ver"
;;
litespeed)
- sapi_args='--with-litespeed'
+ sapi_args='--disable-cli --disable-cgi --with-litespeed '
;;
esac
@@ -2323,7 +2323,7 @@ cp -af Makefile.cli Makefile
%endif
%if %{with litespeed}
-%{__make} -f Makefile.litespeed
+%{__make} -f Makefile.litespeed litespeed
%endif
%if %{with embed}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/96ae08b155ad9d43cb339b4984ca21f71ad07409
More information about the pld-cvs-commit
mailing list