[Bug 227732] lang/php72 missing lmdb option
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Apr 24 02:31:02 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227732
Bug ID: 227732
Summary: lang/php72 missing lmdb option
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: tz at freebsd.org
Reporter: uzimac at da3m0n8t3r.com
Flags: maintainer-feedback?(tz at freebsd.org)
Assignee: tz at freebsd.org
build in databases/php72-dba
--- /usr/ports/lang/php72/Makefile.ext 2018-03-08 15:48:41.000000000 -0400
+++ /home/waitman/php72.Makefile.ext 2018-04-23 22:01:32.575442000 -0400
@@ -41,7 +41,7 @@
.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 @@
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
@@ -467,6 +468,11 @@
LIB_DEPENDS+= libtokyocabinet.so:databases/tokyocabinet
CONFIGURE_ARGS+=--with-tcadb=${LOCALBASE}
+. endif
+. if ${PORT_OPTIONS:MLMDB}
+LIB_DEPENDS+= liblmdb.so:databases/lmdb
+
+CONFIGURE_ARGS+=--with-lmdb=${LOCALBASE}
. endif
. if empty(PORT_OPTIONS:MINIFILE)
CONFIGURE_ARGS+=--disable-inifile
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list