]> git.pld-linux.org Git - packages/php.git/commitdiff
- disable pear completely
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 9 Oct 2005 21:01:16 +0000 (21:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- require at least one apache SAPI to build shared moules

Changed files:
    php.spec -> 1.496

php.spec

index 79458fd9cf5dfd7b3f265cde2732c8984981cba5..0d7c370abdb55e80497d51d2f6a308192b92b90a 100644 (file)
--- a/php.spec
+++ b/php.spec
 %undefine      with_interbase
 %endif
 
+%if %{without apache1} && %{without apache2}
+ERROR: You need to select at least one Apache SAPI to build shared modules.
+%endif
+
 # x86-only lib
 %ifnarch %{ix86}
 %undefine      with_msession
@@ -1661,7 +1665,7 @@ for sapi in $sapis; do
        %{?with_openssl:--with-openssl=shared} \
        %{?with_oracle:--with-oracle=shared} \
        %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=shared,/usr} \
-       --with-pear=%{php_pear_dir} \
+       --without-pear \
        %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
        --with-png-dir=/usr \
        %{?with_pspell:--with-pspell=shared} \
This page took 0.049236 seconds and 4 git commands to generate.