summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/lmtpd/Makefile22
1 files changed, 2 insertions, 20 deletions
diff --git a/mail/lmtpd/Makefile b/mail/lmtpd/Makefile
index d8515ec555cd..654bdf7bc083 100644
--- a/mail/lmtpd/Makefile
+++ b/mail/lmtpd/Makefile
@@ -19,29 +19,11 @@ LIB_DEPENDS= iconv:${PORTSDIR}/converters/libiconv
BUILD_DEPENDS= ${LOCALBASE}/lib/libhome.a:${PORTSDIR}/misc/libhome
OPTIONS= PCRE "Support for PCRE" on
-
-.include <bsd.port.pre.mk>
-
-.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so)
-WITH_MYSQL= yes
OPTIONS+= MYSQL "Support for MySQL Queries and Logs" on
-.else
-OPTIONS+= MYSQL "Support for MySQL Queries and Logs" off
-.endif
-
-.if exists(${LOCALBASE}/lib/libdb3.so)
-WITH_DB3= yes
OPTIONS+= DB3 "Support for DB3" on
-.else
-OPTIONS+= DB3 "Support for DB3" off
-.endif
-
-.if exists(${LOCALBASE}/lib/libdb4.so)
-WITH_DB4= yes
-OPTIONS+= DB4 "Support for DB4" on
-.else
OPTIONS+= DB4 "Support for DB4" off
-.endif
+
+.include <bsd.port.pre.mk>
.if defined(WITH_DB3) && defined(WITH_DB4)
.error You cannot use DB3 and DB4 in the same time.