aboutsummaryrefslogtreecommitdiff
path: root/devel/apr2
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-06-08 23:33:26 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-06-08 23:33:26 +0000
commita182e9070afadf64dd6ee373ce56e2e9e0e0e650 (patch)
tree85f23b4e65233a78d4cc6841247bd1a3d423dbd0 /devel/apr2
parent7f2467c4145e51910dee49edd79e8fe1bdd1776f (diff)
downloadports-a182e9070afadf64dd6ee373ce56e2e9e0e0e650.tar.gz
ports-a182e9070afadf64dd6ee373ce56e2e9e0e0e650.zip
Notes
Diffstat (limited to 'devel/apr2')
-rw-r--r--devel/apr2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/apr2/Makefile b/devel/apr2/Makefile
index 8d9438f35b74..8886fdb26ae8 100644
--- a/devel/apr2/Makefile
+++ b/devel/apr2/Makefile
@@ -78,7 +78,7 @@ PKGNAMESUFFIX= -ipv6
.if defined(WITHOUT_GDBM)
PLIST_SUB+= GDBM="@comment "
APU_CONF_ARGS+= --without-gdbm
-.elif defined(WITH_GDBM) || exists(${LOCALBASE}/lib/libgdbm.so.3)
+.elif defined(WITH_GDBM)
PLIST_SUB+= GDBM=""
LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm
APU_CONF_ARGS+= --with-gdbm=${LOCALBASE}
@@ -95,7 +95,7 @@ APR_UTIL_CONF_ARGS+= --without-gdbm
.if defined(WITHOUT_BDB)
PLIST_SUB+= BDB="@comment "
APU_CONF_ARGS+= --without-berkeley-db
-.elif defined(WITH_BDB) || exists(${LOCALBASE}/lib/libdb-4.2.so.2)
+.elif defined(WITH_BDB)
APU_EXTRAS= yes
PLIST_SUB+= BDB=""
USE_BDB= 42+