summaryrefslogtreecommitdiff
path: root/databases/db/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2002-08-25 18:38:05 +0000
committerjlam <jlam>2002-08-25 18:38:05 +0000
commitb28e357f6ee52e603c887fc42483ea19558d4048 (patch)
treed2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /databases/db/Makefile
parent4d330b06ae2802c2520909a77c9b2b5998f05140 (diff)
downloadpkgsrc-b28e357f6ee52e603c887fc42483ea19558d4048.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/Makefile')
-rw-r--r--databases/db/Makefile15
1 files changed, 9 insertions, 6 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