1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- 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)
This commit is contained in:
Pav Lucistnik 2008-06-18 23:21:59 +00:00
parent c9398312a3
commit 5a297c8052
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215180
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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