Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/ibm-public/postfix change the variable to USE_LIB_S...



details:   https://anonhg.NetBSD.org/src/rev/cc0b71e8f2ce
branches:  trunk
changeset: 762011:cc0b71e8f2ce
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Feb 13 05:12:55 2011 +0000

description:
change the variable to USE_LIB_SASL that can be set to saslc or cyrus

diffstat:

 external/ibm-public/postfix/Makefile.inc |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 7e9737d35057 -r cc0b71e8f2ce external/ibm-public/postfix/Makefile.inc
--- a/external/ibm-public/postfix/Makefile.inc  Sun Feb 13 05:03:27 2011 +0000
+++ b/external/ibm-public/postfix/Makefile.inc  Sun Feb 13 05:12:55 2011 +0000
@@ -1,9 +1,9 @@
-#      $NetBSD: Makefile.inc,v 1.6 2011/02/13 01:53:50 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.7 2011/02/13 05:12:55 christos Exp $
 
 .include <bsd.own.mk>
 
 USE_FORT?= yes # network client and server
-USE_LIB_SASLC?= yes
+USE_LIB_SASL?= saslc
 PKGROOT?= /usr/pkg
 
 WARNS?=        0
@@ -17,7 +17,7 @@
        -I${PFIX_DISTDIR}/src/tls -I${PFIX_DISTDIR}/src/milter \
        -I${PFIX_DISTDIR}/src/xsasl
 
-.if ${USE_LIB_SASLC} != "no"
+.if ${USE_LIB_SASL} == "sasl"
 CPPFLAGS+= -DUSE_SASL_AUTH -DUSE_SASLC_SASL
 .if (${MKCRYPTO} != "mo")
 DPADD+= ${LIBSASCL} ${LIBSSL}
@@ -27,7 +27,7 @@
 LDADD+= -lgssapi
 .endif
 .endif
-.elif defined(HAVE_CYRUS_SASL)
+.elif ${USE_LIB_SASL} == "cyrus"
 CPPFLAGS+= -DUSE_SASL_AUTH -DUSE_CYRUS_SASL \
        -DDEF_SERVER_SASL_TYPE=\"cyrus\" \
        -I${PKGROOT}/include/sasl



Home | Main Index | Thread Index | Old Index