aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/inetd/Makefile
diff options
context:
space:
mode:
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 6174592b34bb..da390081a873 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)