]> git.pld-linux.org Git - packages/php4.git/commitdiff
- update for new apr
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 2 Oct 2004 22:10:07 +0000 (22:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php4.spec -> 1.360

php4.spec

index a909d95c52c71ad49138930e56db22866868cf12..376f8dcdb0e36056af61f3708361bc24274c036d 100644 (file)
--- a/php4.spec
+++ b/php4.spec
@@ -62,13 +62,11 @@ Summary(ru):        PHP 
 Summary(uk):   PHP ÷ÅÒÓ¦§ 4 -- ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
 Name:          php4
 Version:       4.3.9
-%define        _rc     %{nil}
-# Release:     0.%{_rc}.1
-Release:       0.1
+Release:       0.2
 Epoch:         0
 Group:         Libraries
 License:       PHP
-Source0:       http://downloads.php.net/ilia/php-%{version}%{_rc}.tar.bz2
+Source0:       http://downloads.php.net/ilia/php-%{version}.tar.bz2
 # Source0-md5: b799bbb330da60324d972641baab693c
 Source1:       FAQ.%{name}
 Source2:       zend.gif
@@ -184,7 +182,8 @@ BuildRequires:      zziplib-devel
 BuildRequires: fcgi-devel
 # apache 1.3 vs apache 2.0
 %if %{_apache2}
-BuildRequires: apr-devel >= 1:0.9.4-1
+BuildRequires: apr-devel >= 1:1.0.0
+BuildRequires: apr-util-devel >= 1:1.0.0
 PreReq:                apache >= 2.0.40
 Requires:      apache(modules-api) = %{apache_modules_api}
 %else
@@ -1488,7 +1487,7 @@ PEAR/*.php), dostarczanych z PHP, zainstaluj odpowiednie pakiety
 php-pear-* (php-pear-PEAR, php-pear-Archive_Tar, itp).
 
 %prep
-%setup -q -n php-%{version}%{_rc}
+%setup -q -n php-%{version}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -1528,8 +1527,11 @@ cp php.ini-dist php.ini
 %endif
 %patch31 -p1
 
+# new apr
+sed -i -e 's#apr-config#apr-1-config#g' sapi/apache*/*.m4
+
 %build
-CFLAGS="%{rpmcflags} -DEAPI=1 -I/usr/X11R6/include"
+CFLAGS="%{rpmcflags} -DEAPI=1 -I/usr/X11R6/include `%{_bindir}/apr-1-config --cppflags --includes` `%{_bindir}/apu-1-config --includes`"
 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
 ./buildconf --force
 %{__libtoolize}
This page took 0.175515 seconds and 4 git commands to generate.