From fab3e10ec33d48f5ace00a388f5c0d1d5e082b0e Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Sat, 19 May 2012 05:10:47 +0000 Subject: [PATCH] Properly use LDADD & DPADD to link against libwrap. --- libexec/tftpd/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libexec/tftpd/Makefile b/libexec/tftpd/Makefile index 84458298d6c5..f005001bbb8b 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