From owner-svn-ports-all@freebsd.org Wed Apr 25 09:52:53 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 363BFFC1F29; Wed, 25 Apr 2018 09:52:53 +0000 (UTC) (envelope-from tz@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DC80E78A65; Wed, 25 Apr 2018 09:52:52 +0000 (UTC) (envelope-from tz@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D79362787C; Wed, 25 Apr 2018 09:52:52 +0000 (UTC) (envelope-from tz@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3P9qqmv033806; Wed, 25 Apr 2018 09:52:52 GMT (envelope-from tz@FreeBSD.org) Received: (from tz@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3P9qqj3033805; Wed, 25 Apr 2018 09:52:52 GMT (envelope-from tz@FreeBSD.org) Message-Id: <201804250952.w3P9qqj3033805@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tz set sender to tz@FreeBSD.org using -f From: Torsten Zuehlsdorff Date: Wed, 25 Apr 2018 09:52:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r468268 - head/lang/php72 X-SVN-Group: ports-head X-SVN-Commit-Author: tz X-SVN-Commit-Paths: head/lang/php72 X-SVN-Commit-Revision: 468268 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2018 09:52:53 -0000 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 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"