summaryrefslogtreecommitdiffstats
path: root/usr.sbin/portmap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/portmap/Makefile')
-rw-r--r--usr.sbin/portmap/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/portmap/Makefile b/usr.sbin/portmap/Makefile
index 1fe7220..cca9f5d 100644
--- a/usr.sbin/portmap/Makefile
+++ b/usr.sbin/portmap/Makefile
@@ -1,11 +1,13 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
+# $Id$
PROG= portmap
MAN8= portmap.8
SRCS= portmap.c from_local.c pmap_check.c
SUBDIR= pmap_set pmap_dump
-# -DHOSTS_ACCESS (requires tcpwrapper libraries)
-CFLAGS+=-DCHECK_PORT
+CFLAGS+=-DCHECK_PORT -DHOSTS_ACCESS
+DPADD+= ${LIBWRAP}
+LDFLAGS+=-lwrap
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud