aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/inetd/Makefile
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-01-14 01:37:03 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-01-14 01:37:03 +0000
commit63eca8f1dd7adca4324e0cc05fa66fe441507bd7 (patch)
tree3e02cc8c32ae8afa8390dc7a511854e543066190 /usr.sbin/inetd/Makefile
parent4a6ace7328b83a22f1f2f487b3e151858f2f2909 (diff)
Notes
Diffstat (limited to 'usr.sbin/inetd/Makefile')
-rw-r--r--usr.sbin/inetd/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/inetd/Makefile b/usr.sbin/inetd/Makefile
index 6174592b34bb9..da390081a8735 100644
--- a/usr.sbin/inetd/Makefile
+++ b/usr.sbin/inetd/Makefile
@@ -16,7 +16,12 @@ CFLAGS+= -DLOGIN_CAP
CFLAGS+= -DINET6
.endif
-LIBADD= util wrap
+LIBADD= util
+
+.if ${MK_TCP_WRAPPERS} != "no"
+CFLAGS+= -DLIBWRAP
+LIBADD+= wrap
+.endif
# XXX for src/release/picobsd
.if !defined(RELEASE_CRUNCH)