OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 26-Nov-2005 09:54:08 Branch: HEAD Handle: 2005112608540800 Modified files: openpkg-src/php5 php5.spec Log: add PDO support; add SQLite support Summary: Revision Changes Path 1.40 +15 -0 openpkg-src/php5/php5.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/php5/php5.spec ============================================================================ $ cvs diff -u -r1.39 -r1.40 php5.spec --- openpkg-src/php5/php5.spec 26 Nov 2005 08:24:19 -0000 1.39 +++ openpkg-src/php5/php5.spec 26 Nov 2005 08:54:08 -0000 1.40 @@ -41,6 +41,7 @@ # package options %option with_calendar no +%option with_sqlite no %option with_mysql no %option with_pgsql no %option with_gd no @@ -107,6 +108,10 @@ BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20050615, gcc, flex, bison PreReq: OpenPKG, openpkg >= 20050615, MTA +%if "%{with_sqlite}" == "yes" +BuildPreReq: sqlite +PreReq: sqlite +%endif %if "%{with_mysql}" == "yes" BuildPreReq: mysql PreReq: mysql @@ -295,16 +300,25 @@ --with-config-file-path=%{l_prefix}/etc/php5 \ --libdir=%{l_prefix}/lib/php5 \ --disable-all \ + --enable-pdo \ %if "%{with_calendar}" == "yes" --enable-calendar \ %endif +%if "%{with_sqlite}" == "yes" + --with-sqlite=%{l_prefix} \ + --with-pdo-sqlite=%{l_prefix} \ +%else + --without-sqlite \ +%endif %if "%{with_mysql}" == "yes" --with-mysql=%{l_prefix} \ + --with-pdo-mysql=%{l_prefix} \ %else --without-mysql \ %endif %if "%{with_pgsql}" == "yes" --with-pgsql=%{l_prefix} \ + --with-pdo-pgsql=%{l_prefix} \ %else --without-pgsql \ %endif @@ -403,6 +417,7 @@ %endif %if "%{with_odbc}" == "yes" --with-unixODBC=%{l_prefix} \ + --with-pdo-odbc=unixODBC,%{l_prefix} \ %endif %if "%{with_mbregex}" == "yes" --enable-mbregex \ @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org