aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2005-02-27 04:47:02 +0800
committerume <ume@FreeBSD.org>2005-02-27 04:47:02 +0800
commitc2f3ec5007995c56434b9005ed4a5c262ebc72ff (patch)
tree3bda1f4f91c7227da26376b69f11dda0db3e9c2b /mail
parentb258a1c29b9c459a8169f89d2d15a1d3fad67119 (diff)
downloadfreebsd-ports-gnome-c2f3ec5007995c56434b9005ed4a5c262ebc72ff.tar.gz
freebsd-ports-gnome-c2f3ec5007995c56434b9005ed4a5c262ebc72ff.tar.zst
freebsd-ports-gnome-c2f3ec5007995c56434b9005ed4a5c262ebc72ff.zip
simplify more.
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