]> git.pld-linux.org Git - packages/php.git/commitdiff
- apache1 as bcond
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 3 Apr 2005 12:25:30 +0000 (12:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php.spec -> 1.425

php.spec

index a38279a3e638e2faf2131c134c1ccdb8fa361137..7d104308b697e06f8712f7c6475c39d00e1b8e37 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -23,6 +23,7 @@
 %bcond_with    interbase_inst  # use InterBase install., not Firebird  (BR: proprietary libs)
 %bcond_with    oci8            # with Oracle oci8 extension module     (BR: proprietary libs)
 %bcond_with    oracle          # with oracle extension module          (BR: proprietary libs)
+%bcond_with    apache1         # build with apache1
 %bcond_without mysqli          # with mysqli support (Requires mysql > 4.1)
 %bcond_without cpdf            # without cpdf extension module
 %bcond_without curl            # without CURL extension module
@@ -49,8 +50,8 @@
 %bcond_without tidy            # without Tidy extension module
 %bcond_without wddx            # without WDDX extension module
 %bcond_without xmlrpc          # without XML-RPC extension module
-#
-%define        _apache2        %(rpm -q apache-devel 2> /dev/null | grep -Eq -e '-2\\.[0-9]+\\.' && echo 1 || echo 0)
+
+%define        _apache2        %{?with_apache1:0}%{!?with_apache1:1}
 %if %{_apache2}
 %define        apxs            /usr/sbin/apxs
 %else
This page took 0.037777 seconds and 4 git commands to generate.