diff options
author | jlam <jlam@pkgsrc.org> | 2002-08-25 18:38:05 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-08-25 18:38:05 +0000 |
commit | e2afa97f51a1f72e6618533019aaaae07b7d3cf2 (patch) | |
tree | d2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /databases/db | |
parent | e97ad43756dc8382d2c6cb8a7ae09be0eb540f67 (diff) | |
download | pkgsrc-e2afa97f51a1f72e6618533019aaaae07b7d3cf2.tar.gz |
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk. This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
Diffstat (limited to 'databases/db')
-rw-r--r-- | databases/db/Makefile | 15 | ||||
-rw-r--r-- | databases/db/PLIST | 2 | ||||
-rw-r--r-- | databases/db/buildlink2.mk | 19 |
3 files changed, 29 insertions, 7 deletions
diff --git a/databases/db/Makefile b/databases/db/Makefile index f5ef5ea3832..56c2d58364b 100644 --- a/databases/db/Makefile +++ b/databases/db/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2001/07/19 06:26:23 jlam Exp $ +# $NetBSD: Makefile,v 1.10 2002/08/25 18:38:20 jlam Exp $ DISTNAME= db-2.7.7 CATEGORIES= databases @@ -10,17 +10,20 @@ MAINTAINER= tron@netbsd.org HOMEPAGE= http://www.sleepycat.com/ COMMENT= Sleepycat Software's Berkeley DB version 2 -USE_BUILDLINK_ONLY= yes +WRKSRC= ${WRKDIR}/${PKGNAME}/build_unix + +USE_BUILDLINK2= yes USE_LIBTOOL= yes GNU_CONFIGURE= yes CONFIGURE_SCRIPT= ../dist/configure -WRKSRC= ${WRKDIR}/${PKGNAME}/build_unix +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" +CONFIGURE_ARGS+= --enable-compat185 +.endif post-install: ${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/share/doc/html/db .include "../../mk/bsd.pkg.mk" -.if ${OPSYS} == "SunOS" -CONFIGURE_ARGS+= --enable-compat185 -.endif diff --git a/databases/db/PLIST b/databases/db/PLIST index 1246cad9b4d..8e97237763b 100644 --- a/databases/db/PLIST +++ b/databases/db/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2002/06/26 10:29:36 seb Exp $ +@comment $NetBSD: PLIST,v 1.4 2002/08/25 18:38:20 jlam Exp $ bin/db_load bin/db_dump bin/db_deadlock diff --git a/databases/db/buildlink2.mk b/databases/db/buildlink2.mk new file mode 100644 index 00000000000..6bda1b892ae --- /dev/null +++ b/databases/db/buildlink2.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:38:20 jlam Exp $ + +.if !defined(DB_BUILDLINK2_MK) +DB_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= db +BUILDLINK_DEPENDS.db?= db>=2.7.3 +BUILDLINK_PKGSRCDIR.db?= ../../databases/db + +EVAL_PREFIX+= BUILDLINK_PREFIX.db=db +BUILDLINK_PREFIX.db_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.db= include/db2/* +BUILDLINK_FILES.db+= lib/libdb2.* + +BUILDLINK_TARGETS+= db-buildlink + +db-buildlink: _BUILDLINK_USE + +.endif # DB_BUILDLINK2_MK |