summaryrefslogtreecommitdiffstats
path: root/sbin/ping
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-01-07 19:06:54 +0000
committermsmith <msmith@FreeBSD.org>2000-01-07 19:06:54 +0000
commitef57344e9dbcce738590a46eb719cd2e3dbaa76f (patch)
treeb16ab13abf05bf4ead15875d8bc002e61844e594 /sbin/ping
parentc5f442850dc6f788566d26082e1444f0c0ad6d87 (diff)
downloadFreeBSD-src-ef57344e9dbcce738590a46eb719cd2e3dbaa76f.zip
FreeBSD-src-ef57344e9dbcce738590a46eb719cd2e3dbaa76f.tar.gz
Don't try to include ipsec support if we are building for the install
floppy image.
Diffstat (limited to 'sbin/ping')
-rw-r--r--sbin/ping/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/sbin/ping/Makefile b/sbin/ping/Makefile
index 2c6b08e..808898f 100644
--- a/sbin/ping/Makefile
+++ b/sbin/ping/Makefile
@@ -8,8 +8,13 @@ COPTS+= -Wall -Wmissing-prototypes
.if ${MACHINE_ARCH} == "alpha"
COPTS+= -fno-builtin # GCC's builtin memcpy doesn't do unaligned copies
.endif
+DPADD= ${LIBM}
+LDADD= -lm
+
+.if !defined(RELEASE_CRUNCH)
CFLAGS+=-DIPSEC
-DPADD= ${LIBM} ${LIBIPSEC}
-LDADD= -lm -lipsec
+DPADD+= ${LIBIPSEC}
+LDADD+= -lipsec
+.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud