summaryrefslogtreecommitdiff
path: root/databases/db4
diff options
context:
space:
mode:
authorjlam <jlam>2004-11-17 06:04:43 +0000
committerjlam <jlam>2004-11-17 06:04:43 +0000
commit1380f4e0b2a060f99a8653859b65766e69ff41e8 (patch)
tree12e8175afd43a2eaac376a38e1c2351dbeaecddd /databases/db4
parent14ba0a313e1f08017f348a9e5246d206a7c2786c (diff)
downloadpkgsrc-1380f4e0b2a060f99a8653859b65766e69ff41e8.tar.gz
Include bsd.prefs.mk before testing the value of USE_JAVA, and move
pthread.buildlink3.mk higher before any target definitions to follow package Makefile standards.
Diffstat (limited to 'databases/db4')
-rw-r--r--databases/db4/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/databases/db4/Makefile b/databases/db4/Makefile
index f1099a07de4..de8b588c7ae 100644
--- a/databases/db4/Makefile
+++ b/databases/db4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2004/11/16 23:45:25 jlam Exp $
+# $NetBSD: Makefile,v 1.27 2004/11/17 06:04:43 jlam Exp $
DISTNAME= db-4.2.52
PKGNAME= ${DISTNAME:S/db/db4/}
@@ -30,6 +30,8 @@ CONFIGURE_ARGS+= --enable-compat185
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/db4
CONFIGURE_ARGS+= --program-transform-name=s,db_,db4_,
+.include "../../mk/bsd.prefs.mk"
+
# NetBSD-sparc64-1.6*'s f77 makes configure failing and as f77 is not
# needed for this package the following does no harm on other platform.
CONFIGURE_ENV+= F77=${FALSE}
@@ -43,8 +45,9 @@ OPSYSVARS+= LIBSO_LIBS
LIBSO_LIBS.SunOS+= -lnsl
CONFIGURE_ENV+= LIBSO_LIBS="${LIBSO_LIBS}"
+.include "../../mk/pthread.buildlink3.mk"
+
post-install:
${CHOWN} -R ${DOCOWN}:${DOCGRP} ${PREFIX}/share/doc/html/db4
-.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"