From 0bb6b0d88bf8ed39bb1e794d3e5eb091d48da2cc Mon Sep 17 00:00:00 2001 From: Hajimu UMEMOTO Date: Sat, 26 Feb 2005 20:47:02 +0000 Subject: [PATCH] simplify more. --- mail/cyrus-imapd22/Makefile | 12 +----------- mail/cyrus-imapd23/Makefile | 12 +----------- mail/cyrus-imapd24/Makefile | 12 +----------- 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