Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 2010 23:49:20 +0200
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports@freebsd.org
Subject:   RFC: db51 addition to bsd.database.mk
Message-ID:  <20100915214920.GA29018@apollo.emma.line.org>

next in thread | raw e-mail | index | archive | help

--YZ5djTAD1cGYuMQK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Greetings,

any objections against my merging the attached patch to
Mk/bsd.database.mk after databases/db51 has been repocopied from /db50
and committed?

Thanks for your review & best regards
Matthias

--YZ5djTAD1cGYuMQK
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="Mk_bsd-database-mk.patch"

? Mk_bsd-database-mk.patch
Index: bsd.database.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.database.mk,v
retrieving revision 1.45
diff -u -r1.45 bsd.database.mk
--- bsd.database.mk	18 Jun 2010 13:14:09 -0000	1.45
+++ bsd.database.mk	15 Sep 2010 21:45:37 -0000
@@ -224,7 +224,7 @@
 
 .if defined(USE_BDB)
 
-_DB_PORTS=	2 3 40 41 42 43 44 45 46 47 48 50 3+ 40+ 41+ 42+ 43+ 44+ 45+ 46+ 47+ 48+ 50+
+_DB_PORTS=	2 3 40 41 42 43 44 45 46 47 48 50 51 3+ 40+ 41+ 42+ 43+ 44+ 45+ 46+ 47+ 48+ 50+ 51+
 # Dependence lines for different db versions
 db2_DEPENDS=	db2.0:${PORTSDIR}/databases/db2
 db3_DEPENDS=	db3.3:${PORTSDIR}/databases/db3
@@ -238,6 +238,7 @@
 db47_DEPENDS=	db-4.7.0:${PORTSDIR}/databases/db47
 db48_DEPENDS=	db-4.8.0:${PORTSDIR}/databases/db48
 db50_DEPENDS=	db-5.0.0:${PORTSDIR}/databases/db50
+db51_DEPENDS=	db-5.1.0:${PORTSDIR}/databases/db51
 # Detect db versions by finding some files
 db3_FIND=	${LOCALBASE}/include/db3/db.h
 db40_FIND=	${LOCALBASE}/include/db4/db.h
@@ -250,6 +251,7 @@
 db47_FIND=	${LOCALBASE}/include/db47/db.h
 db48_FIND=	${LOCALBASE}/include/db48/db.h
 db50_FIND=	${LOCALBASE}/include/db50/db.h
+db51_FIND=	${LOCALBASE}/include/db51/db.h
 
 # For specifying [3, 40, 41, ..]+
 _DB_3P=		3 ${_DB_40P}
@@ -262,7 +264,8 @@
 _DB_46P=	46 ${_DB_47P}
 _DB_47P=	47 ${_DB_48P}
 _DB_48P=	48 ${_DB_50P}
-_DB_50P=	50
+_DB_50P=	50 ${_DB_51P}
+_DB_51P=	51
 
 # Override the global WITH_BDB_VER with the
 # port specific <UNIQUENAME>_WITH_BDB_VER
@@ -406,6 +409,10 @@
 BDB_LIB_NAME=		db-5.0
 BDB_LIB_CXX_NAME=	db_cxx-5.0
 BDB_LIB_DIR=		${LOCALBASE}/lib/db50
+.  elif ${_BDB_VER} == 51
+BDB_LIB_NAME=		db-5.1
+BDB_LIB_CXX_NAME=	db_cxx-5.1
+BDB_LIB_DIR=		${LOCALBASE}/lib/db51
 .  endif
 BDB_LIB_NAME?=		db${_BDB_VER}
 BDB_LIB_CXX_NAME?=	db${_BDB_VER}_cxx

--YZ5djTAD1cGYuMQK--



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