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 better dependency support for sa...
details: https://anonhg.NetBSD.org/src/rev/e390a92a1b6f
branches: trunk
changeset: 761999:e390a92a1b6f
user: christos <christos%NetBSD.org@localhost>
date: Sun Feb 13 00:41:20 2011 +0000
description:
better dependency support for saslc.
diffstat:
external/ibm-public/postfix/Makefile.inc | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r f00013009ecb -r e390a92a1b6f external/ibm-public/postfix/Makefile.inc
--- a/external/ibm-public/postfix/Makefile.inc Sat Feb 12 23:21:32 2011 +0000
+++ b/external/ibm-public/postfix/Makefile.inc Sun Feb 13 00:41:20 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.3 2011/02/12 19:07:08 christos Exp $
+# $NetBSD: Makefile.inc,v 1.4 2011/02/13 00:41:20 christos Exp $
.include <bsd.own.mk>
@@ -18,12 +18,19 @@
.if defined(HAVE_LIB_SASLC)
CPPFLAGS+= -DUSE_SASL_AUTH -DUSE_SASLC_SASL
-LDADD+= -lsaslc
+.if (${MKCRYPTO} != "mo")
+DPADD+= ${LIBSASCL} ${LIBSSL}
+LDADD+= -lsaslc -lssl
+.if (${MKKERBEROS} != "no")
+DPADD+= ${LIBGSSAPI}
+LDADD+= -lgssapi
+.endif
+.endif
.elif defined(HAVE_CYRUS_SASL)
CPPFLAGS+= -DUSE_SASL_AUTH -DUSE_CYRUS_SASL \
-DDEF_SERVER_SASL_TYPE=\"cyrus\" \
-I/usr/pkg/include/sasl
-LDADD+= -lsasl2 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
+LDADD+= -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2
.else
CPPFLAGS+= -DDEF_SERVER_SASL_TYPE=\"dovecot\"
.endif
Home |
Main Index |
Thread Index |
Old Index