summaryrefslogtreecommitdiff
path: root/mail/postfix/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mail/postfix/options.mk')
-rw-r--r--mail/postfix/options.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/postfix/options.mk b/mail/postfix/options.mk
index b184569ee02..0bfe4c60494 100644
--- a/mail/postfix/options.mk
+++ b/mail/postfix/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2004/08/05 03:04:33 jlam Exp $
+# $NetBSD: options.mk,v 1.2 2004/08/07 07:58:32 jlam Exp $
# Global and legacy options
#
@@ -136,17 +136,19 @@ AUXLIBS+= -L${PGSQL_PREFIX}/lib -lpq \
.if !empty(PKG_OPTIONS:Msasl)
. if !defined(USE_SASL2) && !defined(USE_SASL)
. include "../../security/cyrus-sasl2/buildlink3.mk"
+BUILDLINK_INCDIRS.cyrus-sasl= include/sasl
SASLLIBDIR= ${PREFIX}/lib/sasl2
PWCHECK_METHOD= auxprop
-CCARGS+= -DUSE_SASL2_AUTH
+CCARGS+= -DUSE_SASL_AUTH
AUXLIBS+= -L${BUILDLINK_PREFIX.cyrus-sasl}/lib \
-Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.cyrus-sasl}/lib \
-lsasl2
. elif defined(USE_SASL2) && !empty(USE_SASL2:M[yY][eE][sS])
. include "../../security/cyrus-sasl2/buildlink3.mk"
+BUILDLINK_INCDIRS.cyrus-sasl= include/sasl
SASLLIBDIR= ${PREFIX}/lib/sasl2
PWCHECK_METHOD= auxprop
-CCARGS+= -DUSE_SASL2_AUTH
+CCARGS+= -DUSE_SASL_AUTH
AUXLIBS+= -L${BUILDLINK_PREFIX.cyrus-sasl}/lib \
-Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.cyrus-sasl}/lib \
-lsasl2