]> git.pld-linux.org Git - packages/php.git/commitdiff
- versioning bcond
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 15 Apr 2006 23:05:56 +0000 (23:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- clean linkflags from CFLAGS

Changed files:
    php.spec -> 1.564

php.spec

index 99ef28e9e002968c9d8be844db9a3c581805550d..48e8bf5d5a87cf237b3916962fa4f1e1073a6a8c 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -49,6 +49,7 @@
 %bcond_without apache2         # disable building apache 2.x module
 %bcond_without fcgi            # disable building FCGI SAPI
 %bcond_without zts             # disable experimental-zts
+%bcond_with            versioning      # build with experimental versioning (to load php4/php5 into same apache)
 
 %define apxs1          /usr/sbin/apxs1
 %define        apxs2           /usr/sbin/apxs
@@ -79,7 +80,7 @@ Summary(ru):  PHP 
 Summary(uk):   PHP ÷ÅÒÓ¦§ 5 - ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
 Name:          php
 Version:       5.1.2
-%define        _rel 8
+%define        _rel 8.4
 Release:       %{_rel}%{?with_hardening:hardened}
 Epoch:         4
 License:       PHP
@@ -129,6 +130,8 @@ Patch34:    %{name}-ini-search-path.patch
 # The case with threaded MPMs is lost even without this hack.
 # http://bugs.php.net/bug.php?id=36152
 Patch35:       %{name}-openssl-huge-hack.patch
+Patch36:       %{name}-versioning.patch
+Patch37:       %{name}-linkflags-clean.patch
 URL:           http://www.php.net/
 %{?with_interbase:%{!?with_interbase_inst:BuildRequires:       Firebird-devel >= 1.0.2.908-2}}
 %{?with_pspell:BuildRequires:  aspell-devel >= 2:0.50.0}
@@ -1537,8 +1540,7 @@ Modu
 
 %prep
 %setup -q
-# this patch is broken by design, breaks --enable-versioning for example
-# update: --enable-version is broken by itself, it disables dynamic modules.
+%patch37 -p1
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -1576,6 +1578,7 @@ patch -p1 < %{PATCH30} || exit 1
 %patch33 -p1
 %patch34 -p1
 %patch35 -p1
+%{?with_versioning:%patch36 -p1}
 
 # conflict seems to be resolved by recode patches
 rm -f ext/recode/config9.m4
This page took 0.821754 seconds and 4 git commands to generate.