]> git.pld-linux.org Git - packages/php.git/commitdiff
- rel 5; fix system_gd bcond auto/th/php-5_2_9-5
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 17 Mar 2009 12:11:41 +0000 (12:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php.spec -> 1.787

php.spec

index aa0f914822c5814503157397d33a1347ce6e09c0..c1f12a341b421e97666b15422541ff1e6b9d0676 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -83,7 +83,7 @@ ERROR: You need to select at least one Apache SAPI to build shared modules.
 %undefine      with_filter
 %endif
 
-%define                rel 4
+%define                rel 5
 Summary:       PHP: Hypertext Preprocessor
 Summary(fr.UTF-8):     Le langage de script embarque-HTML PHP
 Summary(pl.UTF-8):     Język skryptowy PHP
@@ -182,7 +182,7 @@ BuildRequires:      flex
 BuildRequires: freetds-devel
 %endif
 BuildRequires: freetype-devel >= 2.0
-%if %{without system_gd}
+%if %{with system_gd}
 BuildRequires: gd-devel >= 2.0.28-4
 BuildRequires: gd-devel(imagerotate) = 5.2.0
 %endif
@@ -694,7 +694,7 @@ Summary:    GD extension module for PHP
 Summary(pl.UTF-8):     Moduł GD dla PHP
 Group:         Libraries
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
-%if %{without system_gd}
+%if %{with system_gd}
 Requires:      gd >= 2.0.28-4
 Requires:      gd(gif)
 Requires:      gd(imagerotate) = 5.2.0
@@ -1638,7 +1638,9 @@ cp php.ini-dist php.ini
 %patch16 -p1
 %patch17 -p1
 %patch18 -p1
+%if %{with system_gd}
 %patch19 -p1
+%endif
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1
@@ -1866,7 +1868,7 @@ for sapi in $sapis; do
        --with-iconv=shared \
        --with-freetype-dir=shared \
        --with-gettext=shared \
-       --with-gd=shared%{!?with_system_gd:,/usr} \
+       --with-gd=shared%{?with_system_gd:,/usr} \
        --with-gdbm \
        --with-gmp=shared \
        %{?with_imap:--with-imap=shared --with-imap-ssl} \
This page took 0.0501 seconds and 4 git commands to generate.