From a9e4b73480f8ee637f9b9b1462f107659f8f878c Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Sat, 21 Dec 2013 15:16:28 +0000 Subject: [PATCH] Honor WITHOUT_CASPER. Sponsored by: The FreeBSD Foundation --- tools/build/mk/OptionalObsoleteFiles.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index 3bb942bca5d2..0b886b42f96b 100644 --- a/tools/build/mk/OptionalObsoleteFiles.inc +++ b/tools/build/mk/OptionalObsoleteFiles.inc @@ -358,6 +358,13 @@ OLD_DIRS+=usr/share/calendar OLD_FILES+=usr/share/man/man1/calendar.1.gz .endif +.if ${MK_CASPER} == no +OLD_FILES+=etc/rc.d/casperd +OLD_LIBS+=lib/libcasper.so.0 +OLD_FILES+=sbin/casper +OLD_FILES+=usr/lib/libcasper.a +.endif + .if ${MK_CDDL} == no OLD_LIBS+=lib/libavl.so.2 OLD_LIBS+=lib/libctf.so.2