diff options
author | ale <ale@FreeBSD.org> | 2011-04-15 22:52:14 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2011-04-15 22:52:14 +0800 |
commit | b0adec81dc6725a3d45fb1c2ab0847d5b8c24fed (patch) | |
tree | 458f4f0f8bde042caa8d8e726fed58bd20585650 /lang | |
parent | 94f8d2d3323e60a20fe05623bf31a29e4517f0f5 (diff) | |
download | freebsd-ports-gnome-b0adec81dc6725a3d45fb1c2ab0847d5b8c24fed.tar.gz freebsd-ports-gnome-b0adec81dc6725a3d45fb1c2ab0847d5b8c24fed.tar.zst freebsd-ports-gnome-b0adec81dc6725a3d45fb1c2ab0847d5b8c24fed.zip |
Add support for php5-sqlite3 port.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/php5-extensions/Makefile | 6 | ||||
-rw-r--r-- | lang/php5/Makefile.ext | 7 | ||||
-rw-r--r-- | lang/php53/Makefile.ext | 7 |
3 files changed, 16 insertions, 4 deletions
diff --git a/lang/php5-extensions/Makefile b/lang/php5-extensions/Makefile index 9d5d9a1bb621..3be6a298854e 100644 --- a/lang/php5-extensions/Makefile +++ b/lang/php5-extensions/Makefile @@ -6,7 +6,7 @@ # PORTNAME= php5 -PORTVERSION= 1.4 +PORTVERSION= 1.5 CATEGORIES= lang MASTER_SITES= # none PKGNAMESUFFIX= -extensions @@ -34,6 +34,7 @@ WITH_POSIX= yes WITH_SESSION= yes WITH_SIMPLEXML= yes WITH_SQLITE= yes +WITH_SQLITE3= yes WITH_TOKENIZER= yes WITH_XML= yes WITH_XMLREADER= yes @@ -83,6 +84,7 @@ OPTIONS= BCMATH "bc style precision math functions" off \ SOAP "SOAP support" off \ SOCKETS "sockets support" off \ SQLITE "sqlite support" on \ + SQLITE3 "sqlite3 support" on \ SYBASE_CT "Sybase database support" off \ SYSVMSG "System V message support" off \ SYSVSEM "System V semaphore support" off \ @@ -113,7 +115,7 @@ ALL_OPTIONS= BCMATH BZ2 CALENDAR CTYPE CURL DBA \ MSSQL MYSQL MYSQLI \ ODBC OPENSSL PCNTL PDF PDO PDO_SQLITE PGSQL POSIX \ PSPELL READLINE RECODE SESSION SHMOP SIMPLEXML SNMP SOAP \ - SOCKETS SQLITE SYBASE_CT SYSVMSG SYSVSEM SYSVSHM \ + SOCKETS SQLITE SQLITE3 SYBASE_CT SYSVMSG SYSVSEM SYSVSHM \ TIDY TOKENIZER WDDX XML XMLREADER XMLRPC XMLWRITER XSL \ YAZ ZIP ZLIB diff --git a/lang/php5/Makefile.ext b/lang/php5/Makefile.ext index bb2b685c241f..47d9eef82c93 100644 --- a/lang/php5/Makefile.ext +++ b/lang/php5/Makefile.ext @@ -344,6 +344,11 @@ PHP_HEADER_DIRS=libsqlite/src OPTIONS= UTF8 "Enable UTF-8 support" off .endif +.if ${PHP_MODNAME} == "sqlite3" +USE_SQLITE= yes +CONFIGURE_ARGS+=--with-sqlite3=${LOCALBASE} +.endif + .if ${PHP_MODNAME} == "sybase_ct" LIB_DEPENDS+= ct.4:${PORTSDIR}/databases/freetds @@ -513,7 +518,7 @@ BROKEN_WITH_MYSQL= 323 40 . endif .endif -.if ${PHP_MODNAME} == "openssl" +.if ${PHP_MODNAME} == "openssl" || ${PHP_MODNAME} == "sqlite3" post-extract: @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 .endif diff --git a/lang/php53/Makefile.ext b/lang/php53/Makefile.ext index bb2b685c241f..47d9eef82c93 100644 --- a/lang/php53/Makefile.ext +++ b/lang/php53/Makefile.ext @@ -344,6 +344,11 @@ PHP_HEADER_DIRS=libsqlite/src OPTIONS= UTF8 "Enable UTF-8 support" off .endif +.if ${PHP_MODNAME} == "sqlite3" +USE_SQLITE= yes +CONFIGURE_ARGS+=--with-sqlite3=${LOCALBASE} +.endif + .if ${PHP_MODNAME} == "sybase_ct" LIB_DEPENDS+= ct.4:${PORTSDIR}/databases/freetds @@ -513,7 +518,7 @@ BROKEN_WITH_MYSQL= 323 40 . endif .endif -.if ${PHP_MODNAME} == "openssl" +.if ${PHP_MODNAME} == "openssl" || ${PHP_MODNAME} == "sqlite3" post-extract: @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 .endif |