aboutsummaryrefslogtreecommitdiff
path: root/security/cyrus-sasl2
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2006-04-16 15:49:24 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2006-04-16 15:49:24 +0000
commitc6dd85752cbe37dd16ae04876677a969e7ba4bed (patch)
treea66958ed261170efefb35ee41c2b446286db09a4 /security/cyrus-sasl2
parent144a718553273515fa05408fc13b487a07470bd4 (diff)
downloadports-c6dd85752cbe37dd16ae04876677a969e7ba4bed.tar.gz
ports-c6dd85752cbe37dd16ae04876677a969e7ba4bed.zip
Notes
Diffstat (limited to 'security/cyrus-sasl2')
-rw-r--r--security/cyrus-sasl2/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile
index e8f680b91e96..b388e1cba0d9 100644
--- a/security/cyrus-sasl2/Makefile
+++ b/security/cyrus-sasl2/Makefile
@@ -56,18 +56,14 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
.if defined(WITH_BDB_VER)
.if ${WITH_BDB_VER} == 4
USE_BDB= 40
-.elif ${WITH_BDB_VER} == 42
-BDB_SUFFIX= -4.2
-.elif ${WITH_BDB_VER} == 43
-BDB_SUFFIX= -4.3
-.elif ${WITH_BDB_VER} != 3 && ${WITH_BDB_VER} != 41
-BROKEN= "WITH_BDB_VER must be 3, 4, 41, 42 or 43"
+.elif ${WITH_BDB_VER} != 3 && ${WITH_BDB_VER} != 41 && \
+ ${WITH_BDB_VER} != 42 && ${WITH_BDB_VER} != 43 && ${WITH_BDB_VER} != 44
+BROKEN= "WITH_BDB_VER must be 3, 4, 41, 42, 43 or 44"
.endif
USE_BDB?= ${WITH_BDB_VER}
-BDB_SUFFIX?= ${WITH_BDB_VER}
CONFIGURE_ARGS+=--with-dblib=berkeley --with-bdb-libdir=${LOCALBASE}/lib \
- --with-bdb-incdir=${LOCALBASE}/include/db${WITH_BDB_VER} \
- --with-bdb=db${BDB_SUFFIX}
+ --with-bdb-incdir=${BDB_INCLUDE_DIR} \
+ --with-bdb=${BDB_LIB_NAME}
SASLDB_NAME= sasldb2
.else
CONFIGURE_ARGS+=--with-dblib=ndbm