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: 21-Apr-2004 19:49:05
Branch: HEAD Handle: 2004042118490500
Modified files:
openpkg-src/php php.spec
Log:
add optional mcrypt support
Summary:
Revision Changes Path
1.78 +9 -1 openpkg-src/php/php.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/php/php.spec
============================================================================
$ cvs diff -u -r1.77 -r1.78 php.spec
--- openpkg-src/php/php.spec 16 Apr 2004 07:20:12 -0000 1.77
+++ openpkg-src/php/php.spec 21 Apr 2004 17:49:05 -0000 1.78
@@ -34,7 +34,7 @@
Group: Language
License: PHP
Version: 4.3.6
-Release: 20040416
+Release: 20040421
# package options
%option with_calendar no
@@ -64,6 +64,7 @@
%option with_transsid no
%option with_curl no
%option with_mhash no
+%option with_mcrypt no
%option with_wddx no
%option with_gdbm no
%option with_versioning no
@@ -185,6 +186,10 @@
BuildPreReq: mhash
PreReq: mhash
%endif
+%if "%{with_mcrypt}" == "yes"
+BuildPreReq: libmcrypt
+PreReq: libmcrypt
+%endif
%if "%{with_gdbm}" == "yes"
BuildPreReq: gdbm, gdbm::with_ndbm = yes
PreReq: gdbm, gdbm::with_ndbm = yes
@@ -368,6 +373,9 @@
%endif
%if "%{with_mhash}" == "yes"
--with-mhash=%{l_prefix} \
+%endif
+%if "%{with_mcrypt}" == "yes"
+ --with-mcrypt=%{l_prefix} \
%endif
%if "%{with_curl}" == "yes"
--with-curl=%{l_prefix} \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]