Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/dhcp The crypto-enabled dhclient command needs ...



details:   https://anonhg.NetBSD.org/src/rev/060725b77d3a
branches:  trunk
changeset: 332541:060725b77d3a
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Sep 26 22:18:48 2014 +0000

description:
The crypto-enabled dhclient command needs more libraries burned in so that
it does not depend on /usr/lib
XXX: pullup-7

diffstat:

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

diffs (29 lines):

diff -r b5911b61c34d -r 060725b77d3a external/bsd/dhcp/Makefile.inc
--- a/external/bsd/dhcp/Makefile.inc    Fri Sep 26 20:32:52 2014 +0000
+++ b/external/bsd/dhcp/Makefile.inc    Fri Sep 26 22:18:48 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.11 2014/07/12 12:11:22 spz Exp $
+# $NetBSD: Makefile.inc,v 1.12 2014/09/26 22:18:48 christos Exp $
 
 WARNS?=        1       # XXX -Wshadow -Wcast-qual -Wsign-compare
 
@@ -36,9 +36,6 @@
 .endif
 LDADD+= -lirs -lisccfg -ldns -lisc
 LDADD+=-lpthread
-.if defined(PROG) && ${PROG} == "dhclient"
-LDADD+=-Wl,-Bdynamic
-.endif
 .if (${MKCRYPTO} != "no")
 .if (${MKKERBEROS} != "no")
 LDADD+= -lgssapi -lkrb5 -lhx509 -lheimntlm -lheimbase \
@@ -46,6 +43,9 @@
 DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBHX509} ${LIBHEIMNTLM} ${LIBHEIMBASE} \
        ${LIBCOM_ERR} ${LIBROKEN} ${LIBASN1} ${LIBWIND}
 .endif
+.if defined(PROG) && ${PROG} == "dhclient"
+LDADD+=-Wl,-Bdynamic
+.endif
 LDADD+= -lcrypto -lipsec -lcrypt
 DPADD+= ${LIBCRYPTO} ${LIBIPSEC} ${LIBCRYPT}
 .endif



Home | Main Index | Thread Index | Old Index