aboutsummaryrefslogtreecommitdiff
path: root/mail/dk-milter
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-04-25 16:17:19 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-04-25 16:17:19 +0000
commit4d32bbcef6444fe1625b9b0a62da9c7aceadd457 (patch)
tree6b3679b99a4f945bc127fb23b5a99279be3b083d /mail/dk-milter
parent414b46fbfaae08a771f7e9f52f788799be25a7c9 (diff)
downloadports-4d32bbcef6444fe1625b9b0a62da9c7aceadd457.tar.gz
ports-4d32bbcef6444fe1625b9b0a62da9c7aceadd457.zip
Notes
Diffstat (limited to 'mail/dk-milter')
-rw-r--r--mail/dk-milter/Makefile31
1 files changed, 16 insertions, 15 deletions
diff --git a/mail/dk-milter/Makefile b/mail/dk-milter/Makefile
index b55dcec31373..a717b0c87ad1 100644
--- a/mail/dk-milter/Makefile
+++ b/mail/dk-milter/Makefile
@@ -41,6 +41,22 @@ SITE_SUB+= -e "s|%%PREFIX%%|${PREFIX}|g" \
OPTIONS_DEFINE= DOCS
+.if defined(WITH_POPAUTH)
+. if defined(WITH_BDB_BASE)
+IGNORE= does not work with base bdb
+SITE_SUB+= -e 's|%%BDB%%|dnl |g'
+. else
+USE_BDB= 41+
+INVALID_BDB_VER= 2 40
+SITE_SUB+= -e 's|%%BDB%%||g' \
+ -e "s|%%BDB_LIB_DIR%%|${BDB_LIB_DIR}|g" \
+ -e "s|%%BDB_INCLUDE_DIR%%|${BDB_INCLUDE_DIR}|g" \
+ -e "s|%%BDB_LIB_NAME%%|${BDB_LIB_NAME}|g"
+. endif
+.else
+SITE_SUB+= -e 's|%%BDB%%|dnl |g'
+.endif
+
.include <bsd.port.pre.mk>
WITHOUT_MILTER_CFLAGS= yes
@@ -69,21 +85,6 @@ SITE_SUB+= -e '\|bld_USE_ARLIB|s/^dnl //g'
SITE_SUB+= -e '/-DPOPAUTH/s/^dnl //g'
.endif
-.if defined(WITH_POPAUTH)
-. if defined(WITH_BDB_BASE)
-IGNORE= does not work with base bdb
-SITE_SUB+= -e 's|%%BDB%%|dnl |g'
-. else
-USE_BDB= 41+
-INVALID_BDB_VER= 2 40
-SITE_SUB+= -e 's|%%BDB%%||g' \
- -e "s|%%BDB_LIB_DIR%%|${BDB_LIB_DIR}|g" \
- -e "s|%%BDB_INCLUDE_DIR%%|${BDB_INCLUDE_DIR}|g" \
- -e "s|%%BDB_LIB_NAME%%|${BDB_LIB_NAME}|g"
-. endif
-.else
-SITE_SUB+= -e 's|%%BDB%%|dnl |g'
-.endif
.if defined(WITH_OPENSSL_BASE)
SITE_SUB+= -e 's|%%OPENSSL%%|dnl |g'
.else