summaryrefslogtreecommitdiffstats
path: root/mail/postfix
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-04-17 00:19:02 +0000
committerreg <reg@FreeBSD.org>2000-04-17 00:19:02 +0000
commitd22cbcc0186bfcde72d3058c3d06d1032bb7157e (patch)
treeefb5227e2fc359da16edf2ca8a5ca4744a25bc3e /mail/postfix
parent8b766534122d71052c9f8e5a0752944edf0450f8 (diff)
downloadFreeBSD-ports-d22cbcc0186bfcde72d3058c3d06d1032bb7157e.zip
FreeBSD-ports-d22cbcc0186bfcde72d3058c3d06d1032bb7157e.tar.gz
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
Diffstat (limited to 'mail/postfix')
-rw-r--r--mail/postfix/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
index fbb48fc..b834e67 100644
--- a/mail/postfix/Makefile
+++ b/mail/postfix/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
OpenPOWER on IntegriCloud