Author: arichardson
Date: Fri Aug  7 16:04:01 2020
New Revision: 364023
URL: https://svnweb.freebsd.org/changeset/base/364023

Log:
  Always install usr.bin/grep as grep when bootstrapping
  
  We have to bootstrap grep when cross-building from macOS/Linux.

Modified:
  head/usr.bin/grep/Makefile

Modified: head/usr.bin/grep/Makefile
==============================================================================
--- head/usr.bin/grep/Makefile  Fri Aug  7 16:03:55 2020        (r364022)
+++ head/usr.bin/grep/Makefile  Fri Aug  7 16:04:01 2020        (r364023)
@@ -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 \
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to