mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-25 01:55:19 +01:00
9f20b4ec0b
Revert cat to the modern FreeBSD version. While I'm not the biggest fan of Casper, I'd rather not have to maintain a diff against FreeBSD's cat(1). Signed-off-by: Shawn Webb <shawn.webb@hardenedbsd.org>
27 lines
562 B
Makefile
27 lines
562 B
Makefile
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE=runtime
|
|
PROG= cat
|
|
|
|
.ifdef BOOTSTRAPPING
|
|
# For the bootstrap cat we disable all wide char support to allow building
|
|
# on Linux/macOS
|
|
CFLAGS+=-DBOOTSTRAP_CAT
|
|
.endif
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
# Temporary disable building cat with Casper.
|
|
#.if ${MK_CASPER} != "no" && !defined(RESCUE) && !defined(BOOTSTRAPPING)
|
|
#LIBADD+= casper
|
|
#LIBADD+= cap_fileargs
|
|
#LIBADD+= cap_net
|
|
#CFLAGS+=-DWITH_CASPER
|
|
#.endif
|
|
# Depend on Makefile to rebuild when WITH_CASPER changes
|
|
cat.o: Makefile
|
|
|
|
.include <bsd.prog.mk>
|