aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/cyrus-sasl2-saslauthd/Makefile14
-rw-r--r--security/cyrus-sasl2/Makefile15
-rw-r--r--security/cyrus-sasl2/distinfo1
3 files changed, 10 insertions, 20 deletions
diff --git a/security/cyrus-sasl2-saslauthd/Makefile b/security/cyrus-sasl2-saslauthd/Makefile
index c57aa4d55f41..a8b99d5685d1 100644
--- a/security/cyrus-sasl2-saslauthd/Makefile
+++ b/security/cyrus-sasl2-saslauthd/Makefile
@@ -44,23 +44,17 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
--with-saslauthd=${SASLAUTHD_RUNPATH}
.if defined(WITH_BDB_VER)
-.if ${WITH_BDB_VER} == 3
-BDB_MAJOR= 3
-.elif ${WITH_BDB_VER} == 4
-BDB_MAJOR= 0
-.elif ${WITH_BDB_VER} == 41
-BDB_MAJOR= 1
+.if ${WITH_BDB_VER} == 4
+USE_BDB= 40
.elif ${WITH_BDB_VER} == 42
BDB_SUFFIX= -4.2
-BDB_MAJOR= 2
.elif ${WITH_BDB_VER} == 43
BDB_SUFFIX= -4.3
-BDB_MAJOR= 0
-.else
+.elif ${WITH_BDB_VER} != 3 && ${WITH_BDB_VER} != 41
BROKEN= "WITH_BDB_VER must be 3, 4, 41, 42 or 43"
.endif
+USE_BDB?= ${WITH_BDB_VER}
BDB_SUFFIX?= ${WITH_BDB_VER}
-LIB_DEPENDS+= db${BDB_SUFFIX}.${BDB_MAJOR}:${PORTSDIR}/databases/db${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}
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile
index 685226738d0e..4a002637cb5c 100644
--- a/security/cyrus-sasl2/Makefile
+++ b/security/cyrus-sasl2/Makefile
@@ -54,23 +54,17 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
--with-saslauthd=${SASLAUTHD_RUNPATH}
.if defined(WITH_BDB_VER)
-.if ${WITH_BDB_VER} == 3
-BDB_MAJOR= 3
-.elif ${WITH_BDB_VER} == 4
-BDB_MAJOR= 0
-.elif ${WITH_BDB_VER} == 41
-BDB_MAJOR= 1
+.if ${WITH_BDB_VER} == 4
+USE_BDB= 40
.elif ${WITH_BDB_VER} == 42
BDB_SUFFIX= -4.2
-BDB_MAJOR= 2
.elif ${WITH_BDB_VER} == 43
BDB_SUFFIX= -4.3
-BDB_MAJOR= 0
-.else
+.elif ${WITH_BDB_VER} != 3 && ${WITH_BDB_VER} != 41
BROKEN= "WITH_BDB_VER must be 3, 4, 41, 42 or 43"
.endif
+USE_BDB?= ${WITH_BDB_VER}
BDB_SUFFIX?= ${WITH_BDB_VER}
-LIB_DEPENDS+= db${BDB_SUFFIX}.${BDB_MAJOR}:${PORTSDIR}/databases/db${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}
@@ -102,6 +96,7 @@ CONFIGURE_ARGS+=--without-pgsql
.if defined(WITH_SQLITE)
LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite2
+#USE_SQLITE= 2
CONFIGURE_ARGS+=--with-sqlite=${LOCALBASE}
.else
CONFIGURE_ARGS+=--without-sqlite
diff --git a/security/cyrus-sasl2/distinfo b/security/cyrus-sasl2/distinfo
index dae499879992..2efb3c631af8 100644
--- a/security/cyrus-sasl2/distinfo
+++ b/security/cyrus-sasl2/distinfo
@@ -1,2 +1,3 @@
MD5 (cyrus-sasl-2.1.21.tar.gz) = dde02db234dea892bee298390890502e
+SHA256 (cyrus-sasl-2.1.21.tar.gz) = fa37bcc8b855597aa1e6b72915b38985991b4abd4e7bc116c3e88fd4e86fb0fb
SIZE (cyrus-sasl-2.1.21.tar.gz) = 1584931