aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rpcbind
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-01-06 04:13:08 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-01-06 04:13:08 +0000
commit74410f9362ed4c06276023588545a7e6c3ba0a3e (patch)
tree2b89373a4791596956e8f4d22a33e584b17bb382 /usr.sbin/rpcbind
parent35c0323c64705900d931802a58a503cf584bfaec (diff)
downloadsrc-74410f9362ed4c06276023588545a7e6c3ba0a3e.tar.gz
src-74410f9362ed4c06276023588545a7e6c3ba0a3e.zip
Notes
Diffstat (limited to 'usr.sbin/rpcbind')
-rw-r--r--usr.sbin/rpcbind/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/rpcbind/Makefile b/usr.sbin/rpcbind/Makefile
index b3282601efc7..24d09e800799 100644
--- a/usr.sbin/rpcbind/Makefile
+++ b/usr.sbin/rpcbind/Makefile
@@ -8,18 +8,21 @@ MAN= rpcbind.8
SRCS= check_bound.c rpcb_stat.c rpcb_svc_4.c rpcbind.c pmap_svc.c \
rpcb_svc.c rpcb_svc_com.c security.c warmstart.c util.c
-CFLAGS+= -DPORTMAP -DLIBWRAP
+CFLAGS+= -DPORTMAP
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+= -DINET6
.endif
+.if ${MK_TCP_WRAPPERS} != "no"
+CFLAGS+= -DLIBWRAP
+LIBADD+= wrap
+.endif
+
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif
WARNS?= 1
-LIBADD= wrap
-
.include <bsd.prog.mk>