From 5e86a9e966dd97e1df2d90250803f7e8d66c6712 Mon Sep 17 00:00:00 2001 From: pav Date: Sun, 2 May 2004 10:01:38 +0000 Subject: - Remove autoconfiguration of OPTIONS, it was making trouble when conflicting dependencies were detected PR: ports/66140 Submitted by: Xavier Beaudouin (maintainer) --- mail/lmtpd/Makefile | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'mail/lmtpd/Makefile') 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 - -.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 .if defined(WITH_DB3) && defined(WITH_DB4) .error You cannot use DB3 and DB4 in the same time. -- cgit