From 3285f641594dbfcb9c25f181c506697660342bb0 Mon Sep 17 00:00:00 2001 From: Mike Smith Date: Fri, 7 Jan 2000 19:06:54 +0000 Subject: [PATCH] Don't try to include ipsec support if we are building for the install floppy image. --- sbin/ping/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sbin/ping/Makefile b/sbin/ping/Makefile index 2c6b08e0ba10..808898f95541 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