summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-06-18 23:21:59 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-06-18 23:21:59 +0000
commit5a297c8052c40e35bd3cb6347a474d6b045ec2bf (patch)
tree3110d38c1a37d3fcfdf2447895475735f5e1969a /lang
parent* Update to 1.0.0 (diff)
- 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)
Notes
Notes: svn path=/head/; revision=215180
Diffstat (limited to 'lang')
-rw-r--r--lang/php5/Makefile.ext5
-rw-r--r--lang/php53/Makefile.ext5
2 files changed, 10 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
diff --git a/lang/php53/Makefile.ext b/lang/php53/Makefile.ext
index b1836720a42e..5490e2fe2342 100644
--- a/lang/php53/Makefile.ext
+++ b/lang/php53/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