From owner-svn-ports-head@FreeBSD.ORG Tue Jan 14 01:02:27 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CC2A1E95; Tue, 14 Jan 2014 01:02:27 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9E95A1CB3; Tue, 14 Jan 2014 01:02:27 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0E12RL5083366; Tue, 14 Jan 2014 01:02:27 GMT (envelope-from delphij@svn.freebsd.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0E12RaU083364; Tue, 14 Jan 2014 01:02:27 GMT (envelope-from delphij@svn.freebsd.org) Message-Id: <201401140102.s0E12RaU083364@svn.freebsd.org> From: Xin LI Date: Tue, 14 Jan 2014 01:02:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339653 - in head/net/openldap24-server: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jan 2014 01:02:27 -0000 Author: delphij Date: Tue Jan 14 01:02:26 2014 New Revision: 339653 URL: http://svnweb.freebsd.org/changeset/ports/339653 Log: Support building against Berkeley DB 6.x. PR: ports/185630 Submitted by: Yasuhiro KIMURA Added: head/net/openldap24-server/files/patch-bdb6 (contents, props changed) Modified: head/net/openldap24-server/Makefile Modified: head/net/openldap24-server/Makefile ============================================================================== --- head/net/openldap24-server/Makefile Tue Jan 14 00:44:46 2014 (r339652) +++ head/net/openldap24-server/Makefile Tue Jan 14 01:02:26 2014 (r339653) @@ -46,6 +46,7 @@ LATEST_LINK?= ${PKGNAMEPREFIX}openldap2 USE_OPENSSL= yes USE_AUTOTOOLS= libtool .if !defined(CLIENT_ONLY) +USE_AUTOTOOLS+= autoconf USERS= ldap GROUPS= ldap .endif @@ -343,7 +344,7 @@ INVALID_BDB_VER= 42 USE_BDB= yes # XXX Can BDB 5.x use XY instead of X as version? -.if ${WITH_BDB_VER} >= 43 || ${WITH_BDB_VER} == 5 +.if ${WITH_BDB_VER} >= 43 || ${WITH_BDB_VER} == 5 || ${WITH_BDB_VER} == 6 CONFIGURE_ARGS+= --enable-bdb=${BACKEND_ENABLE} \ --enable-hdb=${BACKEND_ENABLE} PLIST_SUB+= BACK_BDB=${BACKEND_PLIST} \ Added: head/net/openldap24-server/files/patch-bdb6 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/openldap24-server/files/patch-bdb6 Tue Jan 14 01:02:26 2014 (r339653) @@ -0,0 +1,18 @@ +--- build/openldap.m4.orig 2013-11-15 12:31:27.000000000 +0900 ++++ build/openldap.m4 2014-01-10 15:21:33.000000000 +0900 +@@ -357,7 +357,14 @@ + AC_DEFUN([OL_BERKELEY_DB_LINK], + [ol_cv_lib_db=no + +-if test $ol_cv_bdb_major = 5 ; then ++if test $ol_cv_bdb_major = 6 ; then ++ OL_BERKELEY_DB_TRY(ol_cv_db_db_6_dot_m,[-ldb-6.$ol_cv_bdb_minor]) ++ OL_BERKELEY_DB_TRY(ol_cv_db_db6m,[-ldb6$ol_cv_bdb_minor]) ++ OL_BERKELEY_DB_TRY(ol_cv_db_db_6m,[-ldb-6$ol_cv_bdb_minor]) ++ OL_BERKELEY_DB_TRY(ol_cv_db_db_6_m,[-ldb-6-$ol_cv_bdb_minor]) ++ OL_BERKELEY_DB_TRY(ol_cv_db_db_6,[-ldb-6]) ++ OL_BERKELEY_DB_TRY(ol_cv_db_db6,[-ldb6]) ++elif test $ol_cv_bdb_major = 5 ; then + OL_BERKELEY_DB_TRY(ol_cv_db_db_5_dot_m,[-ldb-5.$ol_cv_bdb_minor]) + OL_BERKELEY_DB_TRY(ol_cv_db_db5m,[-ldb5$ol_cv_bdb_minor]) + OL_BERKELEY_DB_TRY(ol_cv_db_db_5m,[-ldb-5$ol_cv_bdb_minor])