Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2018 02:30:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 227732] lang/php72 missing lmdb option
Message-ID:  <bug-227732-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227732

            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@freebsd.org
          Reporter: uzimac@da3m0n8t3r.com
             Flags: maintainer-feedback?(tz@freebsd.org)
          Assignee: tz@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} =3D=3D "dba"
 CONFIGURE_ARGS+=3D--enable-dba

-OPTIONS_DEFINE=3D        CDB DB4 GDBM QDBM TOKYO INIFILE FLATFILE
+OPTIONS_DEFINE=3D        CDB DB4 GDBM QDBM TOKYO INIFILE FLATFILE LMDB
 OPTIONS_DEFAULT=3DCDB INIFILE FLATFILE

 CDB_DESC=3D      cdb database support
@@ -51,6 +51,7 @@
 TOKYO_DESC=3D    Tokyo Cabinet database support
 INIFILE_DESC=3D  INI file support
 FLATFILE_DESC=3D flatfile support
+LMDB_DESC=3D     LMDB database support

 PHP_HEADER_DIRS=3D       libcdb libflatfile libinifile
 .endif
@@ -467,6 +468,11 @@
 LIB_DEPENDS+=3D  libtokyocabinet.so:databases/tokyocabinet

 CONFIGURE_ARGS+=3D--with-tcadb=3D${LOCALBASE}
+.      endif
+.      if ${PORT_OPTIONS:MLMDB}
+LIB_DEPENDS+=3D  liblmdb.so:databases/lmdb
+
+CONFIGURE_ARGS+=3D--with-lmdb=3D${LOCALBASE}
 .      endif
 .      if empty(PORT_OPTIONS:MINIFILE)
 CONFIGURE_ARGS+=3D--disable-inifile

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227732-7788>