Source-Changes-HG archive

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

[src/trunk]: src/crypto/external/bsd/libsaslc/lib Don't use DPADD/LDADD for l...



details:   https://anonhg.NetBSD.org/src/rev/43671fe8abfa
branches:  trunk
changeset: 761990:43671fe8abfa
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Feb 12 22:23:11 2011 +0000

description:
Don't use DPADD/LDADD for libraries.  Use LIBDPLIBS instead.

diffstat:

 crypto/external/bsd/libsaslc/lib/Makefile |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r f2ce0351f752 -r 43671fe8abfa crypto/external/bsd/libsaslc/lib/Makefile
--- a/crypto/external/bsd/libsaslc/lib/Makefile Sat Feb 12 22:23:01 2011 +0000
+++ b/crypto/external/bsd/libsaslc/lib/Makefile Sat Feb 12 22:23:11 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2011/02/11 23:44:44 christos Exp $
+# $NetBSD: Makefile,v 1.3 2011/02/12 22:23:11 matt Exp $
 
 .include <bsd.own.mk>
 
@@ -16,7 +16,9 @@
 SRCS+= mech_crammd5.c
 SRCS+= mech_digestmd5.c
 SRCS+= mech_external.c
+.if (${MKKERBEROS} != "no")
 SRCS+= mech_gssapi.c
+.endif
 SRCS+= mech_login.c
 SRCS+= mech_plain.c
 SRCS+= msg.c
@@ -35,7 +37,9 @@
 INCS+= saslc.h
 INCSDIR=/usr/include
 
-LDADD+=-lssl -lgssapi
-DPADD+=${LIBSSL}
+LIBDPLIBS+= ssl ${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libssl
+.if (${MKKERBEROS} != "no")
+LIBDPLIBS+= gssapi ${NETBSDSRCDIR}/lib/libgssapi
+.endif
 
 .include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index