summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2012-05-19 05:10:47 +0000
committermarcel <marcel@FreeBSD.org>2012-05-19 05:10:47 +0000
commitf25872b3c368a6137a0609a8be1453b2bdf62b86 (patch)
tree077748951a5298a06fcb7cdbb006b6024013d123
parent85ee223365b0e5a4d11f3e758b4ff90d9689452e (diff)
downloadFreeBSD-src-f25872b3c368a6137a0609a8be1453b2bdf62b86.zip
FreeBSD-src-f25872b3c368a6137a0609a8be1453b2bdf62b86.tar.gz
Properly use LDADD & DPADD to link against libwrap.
-rw-r--r--libexec/tftpd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/tftpd/Makefile b/libexec/tftpd/Makefile
index 8445829..f005001 100644
--- a/libexec/tftpd/Makefile
+++ b/libexec/tftpd/Makefile
@@ -6,6 +6,8 @@ MAN= tftpd.8
SRCS= tftp-file.c tftp-io.c tftp-options.c tftp-transfer.c tftp-utils.c
SRCS+= tftpd.c
WFORMAT=0
-LDFLAGS= -lwrap
+
+DPADD= ${LIBWRAP}
+LDADD= -lwrap
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud