summaryrefslogtreecommitdiffstats
path: root/usr.sbin/traceroute
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-04-01 21:48:07 +0000
committershin <shin@FreeBSD.org>2000-04-01 21:48:07 +0000
commit5bcbc0e18f73a09f1d42126e5f6baa130f605ec9 (patch)
treeaec37e4780dd8a2a0f96bb5ffe73106fc3b5b465 /usr.sbin/traceroute
parent0136b3078289ef58fc257cc5a44418062c86effc (diff)
downloadFreeBSD-src-5bcbc0e18f73a09f1d42126e5f6baa130f605ec9.zip
FreeBSD-src-5bcbc0e18f73a09f1d42126e5f6baa130f605ec9.tar.gz
Don't compile in IPsec support when NOIPSEC is defined.
PR: bin/17739 Submitted by: Omachonu Ogali <oogali@intranova.net>
Diffstat (limited to 'usr.sbin/traceroute')
-rw-r--r--usr.sbin/traceroute/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/traceroute/Makefile b/usr.sbin/traceroute/Makefile
index 1cb75bf..89ed6b4 100644
--- a/usr.sbin/traceroute/Makefile
+++ b/usr.sbin/traceroute/Makefile
@@ -4,7 +4,10 @@ PROG= traceroute
MAN8= traceroute.8
BINMODE=4555
CFLAGS+=-DHAVE_SYS_SELECT_H=1 -DHAVE_SETLINEBUF=1 -DHAVE_RAW_OPTIONS=1 \
- -DSTDC_HEADERS=1 -DIPSEC
+ -DSTDC_HEADERS=1
+.ifndef (NOIPSEC)
+CFLAGS+=-DIPSEC
+.endif
# RTT Jitter on the internet these days means printing 3 decimal places on
# > 1000ms times is plain useless. Uncomment this to enable variable precision
# reporting, ie: print a variable precision from 0.001ms through 1000ms
@@ -12,8 +15,10 @@ CFLAGS+=-DHAVE_SYS_SELECT_H=1 -DHAVE_SETLINEBUF=1 -DHAVE_RAW_OPTIONS=1 \
SRCS= version.c traceroute.c
CLEANFILES+= version.c
+.ifndef (NOIPSEC)
DPADD= ${LIBIPSEC}
LDADD= -lipsec
+.endif
TRACEROUTE_DISTDIR?= ${.CURDIR}/../../contrib/traceroute
OpenPOWER on IntegriCloud