diff options
author | pav <pav@FreeBSD.org> | 2008-06-19 07:21:59 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2008-06-19 07:21:59 +0800 |
commit | d43504dbbc83c47cf062aabe72880173decc2968 (patch) | |
tree | 826a58aa9591f5f76e7e863e55885af6a28d4ed6 /lang | |
parent | 448fc9b14bb73566e0f0d16619788e012ebdc6dc (diff) | |
download | freebsd-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')
-rw-r--r-- | lang/php5/Makefile.ext | 5 | ||||
-rw-r--r-- | lang/php53/Makefile.ext | 5 |
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 |