aboutsummaryrefslogtreecommitdiffstats
path: root/lang/php5
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2008-06-19 07:21:59 +0800
committerpav <pav@FreeBSD.org>2008-06-19 07:21:59 +0800
commitd43504dbbc83c47cf062aabe72880173decc2968 (patch)
tree826a58aa9591f5f76e7e863e55885af6a28d4ed6 /lang/php5
parent448fc9b14bb73566e0f0d16619788e012ebdc6dc (diff)
downloadfreebsd-ports-gnome-d43504dbbc83c47cf062aabe72880173decc2968.tar.gz
freebsd-ports-gnome-d43504dbbc83c47cf062aabe72880173decc2968.tar.zst
freebsd-ports-gnome-d43504dbbc83c47cf062aabe72880173decc2968.zip
- Add WITH_SQLITE_PORT knob for php5-pdo_sqlite port, to use system-wide
sqlite3 instead of bundled one PR: ports/115800 Submitted by: Maxim Khitrov <mkhitrov@gmail.com> Approved by: maintainer timeout (ale; 9 months)
Diffstat (limited to 'lang/php5')
-rw-r--r--lang/php5/Makefile.ext5
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/php5/Makefile.ext b/lang/php5/Makefile.ext
index b1836720a42e..5490e2fe2342 100644
--- a/lang/php5/Makefile.ext
+++ b/lang/php5/Makefile.ext
@@ -304,7 +304,12 @@ USE_PHP_BUILD= yes
.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