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: 12-Feb-2004 09:19:20
Branch: HEAD Handle: 2004021208192000
Modified files:
openpkg-src/php php.spec
Log:
be smart and do not require an MTA for a scripting language by default
Summary:
Revision Changes Path
1.75 +11 -2 openpkg-src/php/php.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/php/php.spec
============================================================================
$ cvs diff -u -r1.74 -r1.75 php.spec
--- openpkg-src/php/php.spec 7 Feb 2004 17:57:55 -0000 1.74
+++ openpkg-src/php/php.spec 12 Feb 2004 08:19:20 -0000 1.75
@@ -34,7 +34,7 @@
Group: Language
License: PHP
Version: 4.3.4
-Release: 20040207
+Release: 20040212
# package options
%option with_calendar no
@@ -70,6 +70,7 @@
%option with_pear no
%option with_snmp no
%option with_iconv no
+%option with_sendmail no
# fixing implicit extension dependencies and correlations
%if "%{with_pear}" == "yes"
@@ -96,7 +97,7 @@
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130, gcc, sed, flex, bison
-PreReq: OpenPKG, openpkg >= 20040130, MTA
+PreReq: OpenPKG, openpkg >= 20040130
%if "%{with_mysql}" == "yes"
BuildPreReq: mysql
PreReq: mysql
@@ -195,6 +196,10 @@
BuildPreReq: snmp
PreReq: snmp
%endif
+%if "%{with_sendmail}" == "yes"
+BuildPreReq: MTA
+PreReq: MTA
+%endif
AutoReq: no
AutoReqProv: no
@@ -257,7 +262,11 @@
CPPFLAGS="$cppflags" \
LDFLAGS="$ldflags" \
LIBS="$libs" \
+%if "%{with_sendmail}" == "yes"
PROG_SENDMAIL="%{l_prefix}/sbin/sendmail" \
+%else
+ PROG_SENDMAIL="`%{l_shtool} path false`" \
+%endif
./configure \
--prefix=%{l_prefix} \
--sysconfdir=%{l_prefix}/etc/php \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]