From f5deec42fb5b4da90f0d424cb33f010fdb9e3860 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Sat, 27 Feb 1999 03:16:28 +0000 Subject: [PATCH] mtree is a "bootstrap tool", don't use the fancy new world-breaking features if we're building it as part of the bootstrap toolset. --- usr.sbin/mtree/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/usr.sbin/mtree/Makefile b/usr.sbin/mtree/Makefile index ef9a055a3064..cfd8257a8653 100644 --- a/usr.sbin/mtree/Makefile +++ b/usr.sbin/mtree/Makefile @@ -1,5 +1,5 @@ # From: @(#)Makefile 8.1 (Berkeley) 6/6/93 -# $Id: Makefile,v 1.6 1997/02/22 16:07:51 peter Exp $ +# $Id: Makefile,v 1.7 1999/02/26 18:44:56 wollman Exp $ PROG= mtree SRCS= compare.c crc.c create.c misc.c mtree.c spec.c verify.c @@ -8,6 +8,10 @@ MAN8= mtree.8 DPADD+= ${LIBMD} LDADD+= -lmd -CFLAGS+= -DMD5 -DSHA1 -DRMD160 +CFLAGS+= -DMD5 + +.if !defined(WORLD) +CFLAGS+= -DSHA1 -DRMD160 +.endif .include