diff options
author | tz <tz@FreeBSD.org> | 2018-04-25 17:52:52 +0800 |
---|---|---|
committer | tz <tz@FreeBSD.org> | 2018-04-25 17:52:52 +0800 |
commit | 627b0bb5ea6f7f927c37faca5aeee109c9f46ee1 (patch) | |
tree | 4571db702b6f64082d992c561c11fba306f8b42b | |
parent | 1a8b9a15e971259b79805e7b8efea71af5f4d5a8 (diff) | |
download | freebsd-ports-gnome-627b0bb5ea6f7f927c37faca5aeee109c9f46ee1.tar.gz freebsd-ports-gnome-627b0bb5ea6f7f927c37faca5aeee109c9f46ee1.tar.zst freebsd-ports-gnome-627b0bb5ea6f7f927c37faca5aeee109c9f46ee1.zip |
lang/php72: Add missing lmdb support for php72-dba
PHP 7.2 adds lmdb support to its dba module. Add support via OPTION.
PR: 227732
Submitted by: Waitman Gobble <uzimac@da3m0n8t3r.com>
-rw-r--r-- | lang/php72/Makefile.ext | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/php72/Makefile.ext b/lang/php72/Makefile.ext index de51747412ae..6e3898ec32da 100644 --- a/lang/php72/Makefile.ext +++ b/lang/php72/Makefile.ext @@ -41,7 +41,7 @@ CONFIGURE_ARGS+=--with-curl=${LOCALBASE} .if ${PHP_MODNAME} == "dba" CONFIGURE_ARGS+=--enable-dba -OPTIONS_DEFINE= CDB DB4 GDBM QDBM TOKYO INIFILE FLATFILE +OPTIONS_DEFINE= CDB DB4 GDBM QDBM TOKYO INIFILE FLATFILE LMDB OPTIONS_DEFAULT=CDB INIFILE FLATFILE CDB_DESC= cdb database support @@ -51,6 +51,7 @@ QDBM_DESC= QDBM database support TOKYO_DESC= Tokyo Cabinet database support INIFILE_DESC= INI file support FLATFILE_DESC= flatfile support +LMDB_DESC= LMDB database support PHP_HEADER_DIRS= libcdb libflatfile libinifile .endif @@ -474,6 +475,11 @@ CONFIGURE_ARGS+=--disable-inifile . if empty(PORT_OPTIONS:MFLATFILE) CONFIGURE_ARGS+=--disable-flatfile . endif + +. if ${PORT_OPTIONS:MLMDB} +LIB_DEPENDS+= liblmdb.so:databases/lmdb +CONFIGURE_ARGS+= --with-lmdb=${LOCALBASE} +.endif .endif .if ${PHP_MODNAME} == "mysqli" |