aboutsummaryrefslogtreecommitdiff
path: root/devel/apr1
diff options
context:
space:
mode:
Diffstat (limited to 'devel/apr1')
-rw-r--r--devel/apr1/Makefile1
1 files changed, 1 insertions, 0 deletions
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