From d22cbcc0186bfcde72d3058c3d06d1032bb7157e Mon Sep 17 00:00:00 2001 From: reg Date: Mon, 17 Apr 2000 00:19:02 +0000 Subject: Standardize all user defined options to the booleans WITH_FOO and WITHOUT_FOO. Begin the process of reserving these prefixes for user defined options. No comment by: ports --- mail/postfix25/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/postfix25/Makefile') diff --git a/mail/postfix25/Makefile b/mail/postfix25/Makefile index fbb48fc..b834e67 100644 --- a/mail/postfix25/Makefile +++ b/mail/postfix25/Makefile @@ -21,7 +21,7 @@ MAINTAINER= torstenb@FreeBSD.org # WARNING: this is based on a patch submitted by a user and has not been # tested. Use it at your own risk ! -.if defined(USE_MYSQL) && ${USE_MYSQL} == YES +.if defined(WITH_MYSQL) BUILD_DEPENDS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql322-client POSTFIX_CCARGS+= -DHAS_MYSQL -I${LOCALBASE}/include/mysql POSTFIX_AUXLIBS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a -lm @@ -29,7 +29,7 @@ POSTFIX_AUXLIBS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a -lm # WARNING: this is based on a patch submitted by a user and has not been # tested. Use it at your own risk ! -.if defined(USE_LDAP) && ${USE_LDAP} == YES +.if defined(WITH_LDAP) BUILD_DEPENDS+= ${LOCALBASE}/lib/libldap.a:${PORTSDIR}/net/openldap POSTFIX_CCARGS+= -DHAS_LDAP -I${LOCALBASE}/include POSTFIX_AUXLIBS+= ${LOCALBASE}/lib/libldap.a ${PREFIX}/lib/liblber.a -- cgit v1.1