From c004f40325d1a68fd6e5ac4a80b7335e2c735d7c Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Sat, 29 Mar 2008 18:13:15 +0000 Subject: [PATCH] Don't always link statically with libwrap. By the time amd(8) runs, /usr/lib should have already been mounted. Found by: make checkdpadd --- usr.sbin/amd/amd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/amd/amd/Makefile b/usr.sbin/amd/amd/Makefile index 61b89e81da81..c7200037f628 100644 --- a/usr.sbin/amd/amd/Makefile +++ b/usr.sbin/amd/amd/Makefile @@ -28,7 +28,7 @@ CFLAGS+= -I${.CURDIR}/../../../contrib/amd/amd \ -I${DESTDIR}/usr/include/rpcsvc DPADD= ${LIBAMU} ${LIBWRAP} -LDADD= ${LIBAMU} ${LIBWRAP} +LDADD= ${LIBAMU} -lwrap CLEANFILES+= conf_parse.c conf_parse.h conf_tok.c