From 89e2376997ae34fc43bdaf60951699ced423f86d Mon Sep 17 00:00:00 2001 From: ru Date: Thu, 13 Apr 2006 12:49:24 +0000 Subject: Add missing library dependencies. --- sbin/ipf/ipf/Makefile | 1 + sbin/pfctl/Makefile | 2 +- usr.bin/login/Makefile | 2 +- usr.sbin/bsnmpd/bsnmpd/Makefile | 2 +- usr.sbin/wpa/wpa_supplicant/Makefile | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sbin/ipf/ipf/Makefile b/sbin/ipf/ipf/Makefile index e0b887f..f1d97b3 100644 --- a/sbin/ipf/ipf/Makefile +++ b/sbin/ipf/ipf/Makefile @@ -35,6 +35,7 @@ ipf_l.h: lexer.h LIBIPF_SRCS!= cd ${.CURDIR}/../libipf && ${MAKE} -V SRCS SRCS+= ${LIBIPF_SRCS} .else +DPADD+= ${LIBPCAP} LDADD+= -lpcap .endif diff --git a/sbin/pfctl/Makefile b/sbin/pfctl/Makefile index 4ffa6a7..2c972eb 100644 --- a/sbin/pfctl/Makefile +++ b/sbin/pfctl/Makefile @@ -20,6 +20,6 @@ CFLAGS+= -DENABLE_ALTQ YFLAGS= LDADD+= -lm -lmd -DPADD+= ${LIBM} +DPADD+= ${LIBM} ${LIBMD} .include diff --git a/usr.bin/login/Makefile b/usr.bin/login/Makefile index 5b414bd..8a2daa3 100644 --- a/usr.bin/login/Makefile +++ b/usr.bin/login/Makefile @@ -6,7 +6,7 @@ PROG= login SRCS= login.c login_audit.c login_fbtab.c CFLAGS+=-DLOGALL -DPADD= ${LIBUTIL} ${LIBPAM} +DPADD= ${LIBUTIL} ${LIBPAM} ${LIBBSM} LDADD= -lutil ${MINUSLPAM} -lbsm .if ${MK_SETUID_LOGIN} != "no" diff --git a/usr.sbin/bsnmpd/bsnmpd/Makefile b/usr.sbin/bsnmpd/bsnmpd/Makefile index ceb742d..9c4f5e0 100644 --- a/usr.sbin/bsnmpd/bsnmpd/Makefile +++ b/usr.sbin/bsnmpd/bsnmpd/Makefile @@ -26,7 +26,7 @@ DEFSDIR= ${SHAREDIR}/snmp/defs CFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd -I. -DUSE_LIBBEGEMOT CFLAGS+= -DUSE_TCPWRAPPERS -DQUADFMT='"llu"' -DQUADXFMT='"llx"' CFLAGS+= -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DHAVE_ERR_H -DHAVE_STRLCPY -DPADD= ${LIBBEGEMOT} ${LIBBSNMP} +DPADD= ${LIBBEGEMOT} ${LIBBSNMP} ${LIBWRAP} LDADD= -lbegemot -lbsnmp -lwrap LDFLAGS= -export-dynamic diff --git a/usr.sbin/wpa/wpa_supplicant/Makefile b/usr.sbin/wpa/wpa_supplicant/Makefile index 0348fdb..a8ed5c5 100644 --- a/usr.sbin/wpa/wpa_supplicant/Makefile +++ b/usr.sbin/wpa/wpa_supplicant/Makefile @@ -43,7 +43,7 @@ SRCS+= eap_ttls.c eap_md5.c #CFLAGS+= -DEAP_FAST #SRCS+= eap_fast.c -DPADD+= ${LIBCRYPTO} +DPADD+= ${LIBSSL} ${LIBCRYPTO} LDADD+= -lssl -lcrypto .else SRCS+= tls_none.c -- cgit v1.1