Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2007 13:18:48 -0400
From:      "Maxim Khitrov" <mkhitrov@gmail.com>
To:        ports@freebsd.org
Subject:   Patch: lang/php5 (pdo_sqlite extension)
Message-ID:  <26ddd1750708241018u421c473ey9f668c3360b0f584@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

I sent this patch to the maintainer of lang/php5 port, but did not
receive a response. Was advised to send an e-mail to ports@ instead.
This patch adds a knob to databases/php5-pdo_sqlite port called
WITH_SQLITE_PORT. When set, instead of compiling the bundled version
of sqlite library, pdo_sqlite extension will use the shared one from
the databases/sqlite3. The port is usually more up to date, so this is
convenient for people who need to do development and testing with
newer sqlite versions.

Thanks,
Maxim Khitrov

--- Makefile.ext.orig   Thu Aug 16 08:56:41 2007
+++ Makefile.ext        Thu Aug 16 09:00:20 2007
@@ -305,7 +305,12 @@
 .endif

 .if ${PHP_MODNAME} == "pdo_sqlite"
+.      if defined(WITH_SQLITE_PORT)
+USE_SQLITE=    yes
+CONFIGURE_ARGS+=--with-pdo-sqlite=${LOCALBASE}
+.      else
 CONFIGURE_ARGS+=--with-pdo-sqlite
+.      endif

 USE_PHP=       pdo
 USE_PHP_BUILD= yes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26ddd1750708241018u421c473ey9f668c3360b0f584>