OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 12-Mar-2008 10:36:44
Branch: HEAD Handle: 2008031209364201
Modified files:
openpkg-src/apache-php apache-php.spec
openpkg-src/php php.spec
Log:
add optional support for Tidy
Summary:
Revision Changes Path
1.20 +11 -1 openpkg-src/apache-php/apache-php.spec
1.174 +11 -1 openpkg-src/php/php.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/apache-php/apache-php.spec
============================================================================
$ cvs diff -u -r1.19 -r1.20 apache-php.spec
--- openpkg-src/apache-php/apache-php.spec 14 Jan 2008 18:39:17 -0000
1.19
+++ openpkg-src/apache-php/apache-php.spec 12 Mar 2008 09:36:42 -0000
1.20
@@ -39,7 +39,7 @@
Group: Web
License: PHP
Version: %{V_php}
-Release: 20080114
+Release: 20080312
# package options
%option with_suhosin no
@@ -81,6 +81,7 @@
%option with_snmp no
%option with_sqlite no
%option with_ssl no
+%option with_tidy no
%option with_versioning no
%option with_wddx no
%option with_xml no
@@ -257,6 +258,10 @@
BuildPreReq: libxml
PreReq: libxml
%endif
+%if "%{with_tidy}" == "yes"
+BuildPreReq: tidy
+PreReq: tidy
+%endif
AutoReq: no
AutoReqProv: no
@@ -528,6 +533,11 @@
%if "%{with_iconv}" == "yes"
--with-iconv=%{l_prefix} \
%endif
+%if "%{with_tidy}" == "yes"
+ --with-tidy=%{l_prefix} \
+%else
+ --without-tidy \
+%endif
--with-apxs2=%{l_prefix}/sbin/apxs \
--disable-cli \
--disable-cgi \
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/php/php.spec
============================================================================
$ cvs diff -u -r1.173 -r1.174 php.spec
--- openpkg-src/php/php.spec 14 Jan 2008 18:39:29 -0000 1.173
+++ openpkg-src/php/php.spec 12 Mar 2008 09:36:43 -0000 1.174
@@ -39,7 +39,7 @@
Group: Language
License: PHP
Version: %{V_php}
-Release: 20080114
+Release: 20080312
# package options
%option with_suhosin no
@@ -81,6 +81,7 @@
%option with_snmp no
%option with_sqlite no
%option with_ssl no
+%option with_tidy no
%option with_versioning no
%option with_wddx no
%option with_xml no
@@ -254,6 +255,10 @@
BuildPreReq: libxml
PreReq: libxml
%endif
+%if "%{with_tidy}" == "yes"
+BuildPreReq: tidy
+PreReq: tidy
+%endif
AutoReq: no
AutoReqProv: no
@@ -524,6 +529,11 @@
%if "%{with_iconv}" == "yes"
--with-iconv=%{l_prefix} \
%endif
+%if "%{with_tidy}" == "yes"
+ --with-tidy=%{l_prefix} \
+%else
+ --without-tidy \
+%endif
--enable-cli \
--enable-cgi \
--enable-force-cgi-redirect \
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]