From 12bdd625a9136af4ef3ad2a8555f996774a5b505 Mon Sep 17 00:00:00 2001 From: Alexander Kabaev Date: Fri, 28 May 2004 23:07:50 +0000 Subject: Specify location of Berkeley DB, if LOCALBASE is not /usr/local. Submitted by: Johny Mattsson Approved by: maintainer --- devel/apr2/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'devel/apr2') 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 -- cgit v1.2.3