aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2005-02-26 20:47:02 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2005-02-26 20:47:02 +0000
commit0bb6b0d88bf8ed39bb1e794d3e5eb091d48da2cc (patch)
treeea33a2231f881a8eb23a79c4bc91ce69380fa304 /mail
parentc71abfe2a62b3e0cfaefdddd7aa0722b280e6d99 (diff)
downloadports-0bb6b0d88bf8ed39bb1e794d3e5eb091d48da2cc.tar.gz
ports-0bb6b0d88bf8ed39bb1e794d3e5eb091d48da2cc.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/cyrus-imapd22/Makefile12
-rw-r--r--mail/cyrus-imapd23/Makefile12
-rw-r--r--mail/cyrus-imapd24/Makefile12
3 files changed, 3 insertions, 33 deletions
diff --git a/mail/cyrus-imapd22/Makefile b/mail/cyrus-imapd22/Makefile
index 450a0ba9e528..134721520911 100644
--- a/mail/cyrus-imapd22/Makefile
+++ b/mail/cyrus-imapd22/Makefile
@@ -108,17 +108,7 @@ BDB_NUM_VERS!= echo ${BDB_VERS} | wc -w
.if ${BDB_NUM_WO} == ${BDB_NUM_VERS}
BROKEN= "You need to select one BDB version. Run 'make config' again!"
.endif
-.if ${USE_BDB_VER} == 3
-WITH_BDB_3= true
-.elif ${USE_BDB_VER} == 4
-WITH_BDB_4= true
-.elif ${USE_BDB_VER} == 41
-WITH_BDB_41= true
-.elif ${USE_BDB_VER} == 42
-WITH_BDB_42= true
-.elif ${USE_BDB_VER} == 43
-WITH_BDB_43= true
-.endif
+WITH_BDB_${USE_BDB_VER}= true
.elif ${BDB_NUM_W} != 1
BROKEN= "Multiple BDB versions selected. Run 'make config' again!"
.endif
diff --git a/mail/cyrus-imapd23/Makefile b/mail/cyrus-imapd23/Makefile
index 450a0ba9e528..134721520911 100644
--- a/mail/cyrus-imapd23/Makefile
+++ b/mail/cyrus-imapd23/Makefile
@@ -108,17 +108,7 @@ BDB_NUM_VERS!= echo ${BDB_VERS} | wc -w
.if ${BDB_NUM_WO} == ${BDB_NUM_VERS}
BROKEN= "You need to select one BDB version. Run 'make config' again!"
.endif
-.if ${USE_BDB_VER} == 3
-WITH_BDB_3= true
-.elif ${USE_BDB_VER} == 4
-WITH_BDB_4= true
-.elif ${USE_BDB_VER} == 41
-WITH_BDB_41= true
-.elif ${USE_BDB_VER} == 42
-WITH_BDB_42= true
-.elif ${USE_BDB_VER} == 43
-WITH_BDB_43= true
-.endif
+WITH_BDB_${USE_BDB_VER}= true
.elif ${BDB_NUM_W} != 1
BROKEN= "Multiple BDB versions selected. Run 'make config' again!"
.endif
diff --git a/mail/cyrus-imapd24/Makefile b/mail/cyrus-imapd24/Makefile
index 450a0ba9e528..134721520911 100644
--- a/mail/cyrus-imapd24/Makefile
+++ b/mail/cyrus-imapd24/Makefile
@@ -108,17 +108,7 @@ BDB_NUM_VERS!= echo ${BDB_VERS} | wc -w
.if ${BDB_NUM_WO} == ${BDB_NUM_VERS}
BROKEN= "You need to select one BDB version. Run 'make config' again!"
.endif
-.if ${USE_BDB_VER} == 3
-WITH_BDB_3= true
-.elif ${USE_BDB_VER} == 4
-WITH_BDB_4= true
-.elif ${USE_BDB_VER} == 41
-WITH_BDB_41= true
-.elif ${USE_BDB_VER} == 42
-WITH_BDB_42= true
-.elif ${USE_BDB_VER} == 43
-WITH_BDB_43= true
-.endif
+WITH_BDB_${USE_BDB_VER}= true
.elif ${BDB_NUM_W} != 1
BROKEN= "Multiple BDB versions selected. Run 'make config' again!"
.endif