Date: Wed, 25 Apr 2018 09:52:52 +0000 (UTC) From: Torsten Zuehlsdorff <tz@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r468268 - head/lang/php72 Message-ID: <201804250952.w3P9qqj3033805@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tz Date: Wed Apr 25 09:52:52 2018 New Revision: 468268 URL: https://svnweb.freebsd.org/changeset/ports/468268 Log: 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> Modified: head/lang/php72/Makefile.ext Modified: head/lang/php72/Makefile.ext ============================================================================== --- head/lang/php72/Makefile.ext Wed Apr 25 09:34:05 2018 (r468267) +++ head/lang/php72/Makefile.ext Wed Apr 25 09:52:52 2018 (r468268) @@ -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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804250952.w3P9qqj3033805>