Don't always link statically with libwrap. By the time amd(8)

runs, /usr/lib should have already been mounted.

Found by:	make checkdpadd
This commit is contained in:
Ruslan Ermilov 2008-03-29 18:13:15 +00:00
parent 20bdb50c3c
commit c004f40325

View File

@ -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