aboutsummaryrefslogtreecommitdiffstats
path: root/devel/apr0
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2004-05-29 07:07:50 +0800
committerkan <kan@FreeBSD.org>2004-05-29 07:07:50 +0800
commitfa287ccd402233a0b77d383f21bb05afa5d98001 (patch)
treeba4aa4ba923b6f7b9996457c7427a5858fd9c63c /devel/apr0
parent7229de00e4941d30ffcaa4e2167c178114cad405 (diff)
downloadfreebsd-ports-graphics-fa287ccd402233a0b77d383f21bb05afa5d98001.tar.gz
freebsd-ports-graphics-fa287ccd402233a0b77d383f21bb05afa5d98001.tar.zst
freebsd-ports-graphics-fa287ccd402233a0b77d383f21bb05afa5d98001.zip
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/apr0')
-rw-r--r--devel/apr0/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/apr0/Makefile b/devel/apr0/Makefile
index d6dbcdc3f66..568b308a26a 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