From 524112305cba8db11215f822d001acc75fc96619 Mon Sep 17 00:00:00 2001 From: ru Date: Sat, 29 Mar 2008 18:13:15 +0000 Subject: 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(-) (limited to 'usr.sbin/amd') diff --git a/usr.sbin/amd/amd/Makefile b/usr.sbin/amd/amd/Makefile index 61b89e8..c720003 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 -- cgit v1.1