aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2020-08-07 16:04:01 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2020-08-07 16:04:01 +0000
commit4f971ddf330c34c35c18a4698370413367c061dd (patch)
treed17b0820dfbe75d1e09a5387d549e8df140c2801 /usr.bin
parentec4deee4e4f2aef1b97d9424f25d04e91fd7dc10 (diff)
downloadsrc-4f971ddf330c34c35c18a4698370413367c061dd.tar.gz
src-4f971ddf330c34c35c18a4698370413367c061dd.zip
Always install usr.bin/grep as grep when bootstrapping
We have to bootstrap grep when cross-building from macOS/Linux.
Notes
Notes: svn path=/head/; revision=364023
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/grep/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/grep/Makefile b/usr.bin/grep/Makefile
index b51f51c8bd5e..418889047052 100644
--- a/usr.bin/grep/Makefile
+++ b/usr.bin/grep/Makefile
@@ -4,7 +4,7 @@
.include <src.opts.mk>
-.if ${MK_BSD_GREP} == "yes"
+.if ${MK_BSD_GREP} == "yes" || defined(BOOTSTRAPPING)
PROG= grep
MAN1= grep.1 zgrep.1
.else
@@ -50,7 +50,7 @@ MLINKS= zgrep.1 zfgrep.1 \
CFLAGS.gcc+= --param max-inline-insns-single=500
-.if ${MK_BSD_GREP} == "yes"
+.if ${MK_BSD_GREP} == "yes" || defined(BOOTSTRAPPING)
LINKS+= ${BINDIR}/grep ${BINDIR}/egrep \
${BINDIR}/grep ${BINDIR}/fgrep \
${BINDIR}/grep ${BINDIR}/rgrep \