summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2004-05-28 23:07:50 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2004-05-28 23:07:50 +0000
commit12bdd625a9136af4ef3ad2a8555f996774a5b505 (patch)
treef8b919f0377e6f8de7e5867eb6a53546400106cb /devel
parentfix build on 4.x without libgnugetopt (diff)
Specify location of Berkeley DB, if LOCALBASE is not /usr/local.
Submitted by: Johny Mattsson <lonewolf-freebsd at earthmagic dot org> Approved by: maintainer
Diffstat (limited to 'devel')
-rw-r--r--devel/apr/Makefile1
-rw-r--r--devel/apr0/Makefile1
-rw-r--r--devel/apr1/Makefile1
-rw-r--r--devel/apr2/Makefile1
4 files changed, 4 insertions, 0 deletions
diff --git a/devel/apr/Makefile b/devel/apr/Makefile
index d6dbcdc3f663..568b308a26a2 100644
--- a/devel/apr/Makefile
+++ b/devel/apr/Makefile
@@ -70,6 +70,7 @@ PKGNAMESUFFIX= -gdbm
APR_UTIL_CONF_ARGS+= --without-berkeley-db
.elif defined(APR_UTIL_WITH_BERKELEY_DB) || exists(${LOCALBASE}/lib/libdb4.so.0)
LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4
+APR_UTIL_CONF_ARGS+= --with-berkeley-db=${PREFIX}
.if defined(PKGNAMESUFFIX)
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-db4
.else
diff --git a/devel/apr0/Makefile b/devel/apr0/Makefile
index d6dbcdc3f663..568b308a26a2 100644
--- a/devel/apr0/Makefile
+++ b/devel/apr0/Makefile
@@ -70,6 +70,7 @@ PKGNAMESUFFIX= -gdbm
APR_UTIL_CONF_ARGS+= --without-berkeley-db
.elif defined(APR_UTIL_WITH_BERKELEY_DB) || exists(${LOCALBASE}/lib/libdb4.so.0)
LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4
+APR_UTIL_CONF_ARGS+= --with-berkeley-db=${PREFIX}
.if defined(PKGNAMESUFFIX)
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-db4
.else
diff --git a/devel/apr1/Makefile b/devel/apr1/Makefile
index d6dbcdc3f663..568b308a26a2 100644
--- a/devel/apr1/Makefile
+++ b/devel/apr1/Makefile
@@ -70,6 +70,7 @@ PKGNAMESUFFIX= -gdbm
APR_UTIL_CONF_ARGS+= --without-berkeley-db
.elif defined(APR_UTIL_WITH_BERKELEY_DB) || exists(${LOCALBASE}/lib/libdb4.so.0)
LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4
+APR_UTIL_CONF_ARGS+= --with-berkeley-db=${PREFIX}
.if defined(PKGNAMESUFFIX)
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-db4
.else
diff --git a/devel/apr2/Makefile b/devel/apr2/Makefile
index d6dbcdc3f663..568b308a26a2 100644
--- a/devel/apr2/Makefile
+++ b/devel/apr2/Makefile
@@ -70,6 +70,7 @@ PKGNAMESUFFIX= -gdbm
APR_UTIL_CONF_ARGS+= --without-berkeley-db
.elif defined(APR_UTIL_WITH_BERKELEY_DB) || exists(${LOCALBASE}/lib/libdb4.so.0)
LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4
+APR_UTIL_CONF_ARGS+= --with-berkeley-db=${PREFIX}
.if defined(PKGNAMESUFFIX)
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-db4
.else