mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 23:05:49 +01:00
Disable colour support in ls when building the fixit floppy, and make
a note of it in the release Makefile.
This commit is contained in:
parent
74985094ef
commit
3ad254b3de
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61269
@ -6,7 +6,9 @@ PROG= ls
|
||||
SRCS= cmp.c setflags.c ls.c print.c util.c
|
||||
.PATH: ${.CURDIR}/../../lib/libc/gen
|
||||
|
||||
.if !defined(RELEASE_BUILD_FIXIT)
|
||||
CFLAGS+= -DCOLORLS
|
||||
LDADD= -lncurses
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -355,6 +355,8 @@ release.3:
|
||||
#
|
||||
# NB: the "RELEASE_BUILD_FIXIT" magic prevents vi from including the
|
||||
# Tcl and Perl APIs. See also /usr/src/usr.bin/vi/Makefile.
|
||||
# It also prevents ls linking against termcap by disabling color support.
|
||||
# See /usr/src/bin/ls/Makefile.
|
||||
release.4:
|
||||
@mkdir -p /stand
|
||||
cp ${.CURDIR}/boot_crunch.conf.generic ${.OBJDIR}/boot_crunch.conf
|
||||
|
Loading…
Reference in New Issue
Block a user