OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 31-Aug-2004 12:49:39
Branch: HEAD Handle: 2004083111493900
Modified files:
openpkg-src/php php.spec
Log:
simplify condition syntax
Summary:
Revision Changes Path
1.91 +2 -4 openpkg-src/php/php.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/php/php.spec
============================================================================
$ cvs diff -u -r1.90 -r1.91 php.spec
--- openpkg-src/php/php.spec 30 Aug 2004 17:21:36 -0000 1.90
+++ openpkg-src/php/php.spec 31 Aug 2004 10:49:39 -0000 1.91
@@ -38,7 +38,7 @@
Group: Language
License: PHP
Version: %{V_php}
-Release: 20040830
+Release: 20040831
# package options
%option with_bc no
@@ -271,11 +271,9 @@
%if "%{with_gdbm}" == "yes"
libs="$libs -lndbm -lgdbm"
%endif
-%if "%{with_gd}" == "yes"
-%if "%{with_pdflib}" != "yes"
+%if "%{with_gd}" == "yes" && "%{with_pdflib}" != "yes"
libs="$libs -lpng -lz"
%endif
-%endif
%if "%{with_gettext}" == "yes"
libs="$libs -liconv"
%endif
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]