Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/dhcp - conditionalize on mkcrypto



details:   https://anonhg.NetBSD.org/src/rev/df5de907329d
branches:  trunk
changeset: 788888:df5de907329d
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jul 27 18:16:26 2013 +0000

description:
- conditionalize on mkcrypto
- add libraries

diffstat:

 external/bsd/dhcp/Makefile.inc |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 07dcd810c5ef -r df5de907329d external/bsd/dhcp/Makefile.inc
--- a/external/bsd/dhcp/Makefile.inc    Sat Jul 27 17:37:29 2013 +0000
+++ b/external/bsd/dhcp/Makefile.inc    Sat Jul 27 18:16:26 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.4 2013/04/14 16:28:57 christos Exp $
+# $NetBSD: Makefile.inc,v 1.5 2013/07/27 18:16:26 christos Exp $
 
 WARNS?=        1       # XXX -Wshadow -Wcast-qual -Wsign-compare
 
@@ -39,9 +39,11 @@
 .if defined(PROG) && ${PROG} == "dhclient"
 LDADD+=-Wl,-Bdynamic
 .endif
-LDADD+= -lcrypto -lipsec
+.if (${MKCRYPTO} != "no")
+LDADD+= -lgssapi -lkrb5 -lcrypto -lipsec
+DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBCRYPTO} ${LIBIPSEC}
+.endif
 DPADD+= ${COBJDIR}/libdhcp.a
 DPADD+= ${OMOBJDIR}/libomapi.a ${DSTOBJDIR}/libdst.a
 DPADD+=        ${LIBDNS} ${LIBISC}
-DPADD+= ${LIBCRYPTO} ${LIBIPSEC}
 DPADD+= ${LIBPTHREAD}



Home | Main Index | Thread Index | Old Index