summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorepg <epg@pkgsrc.org>2004-01-18 18:55:24 +0000
committerepg <epg@pkgsrc.org>2004-01-18 18:55:24 +0000
commit67b8bcb904d6bf4d7b31527cb0a35dd7a950bd76 (patch)
treedb6da28fc4b641a4e1566bb47bf70d76df0f4710 /mk
parent7977ac105a574cdc82d3e9aa15314b5f996f82cf (diff)
downloadpkgsrc-67b8bcb904d6bf4d7b31527cb0a35dd7a950bd76.tar.gz
As i described in <9883.1074028467@gould.diplodocus.org>
(http://mail-index.netbsd.org/tech-pkg/2004/01/13/0015.html) and <479.1074093881@gould.diplodocus.org> (http://mail-index.netbsd.org/tech-pkg/2004/01/14/0016.html), add an APR_USE_DB4 variable (defaulting to YES except on platforms where db4 is broken). devel/apr now builds without db4 when APR_USE_DB4 is NO.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.defaults.mk12
1 files changed, 11 insertions, 1 deletions
diff --git a/mk/bsd.pkg.defaults.mk b/mk/bsd.pkg.defaults.mk
index 33995e2a78b..ba095786fa7 100644
--- a/mk/bsd.pkg.defaults.mk
+++ b/mk/bsd.pkg.defaults.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.defaults.mk,v 1.206 2004/01/15 12:48:00 jlam Exp $
+# $NetBSD: bsd.pkg.defaults.mk,v 1.207 2004/01/18 18:55:24 epg Exp $
#
# A file providing defaults for pkgsrc and the packages collection.
@@ -590,6 +590,16 @@ APACHE_SUEXEC_DOCROOT?= ${LOCALBASE}/share/httpd/htdocs
# Possible: Any valid directory
# Default: ${LOCALBASE}/share/httpd/htdocs
+.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "powerpc"
+APR_USE_DB4?= NO
+.else
+APR_USE_DB4?= YES
+.endif
+# Used in apr to determine whether to use db4. This should be the
+# default, but apr is broken on NetBSD/powerpc so it is disabled
+# there.
+# Default: YES
+
ARLA_CACHE?= ${LOCALBASE}/cache
# Used in arla to specify the location of the cache used by arla. Should
# be on a local disk.