Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Aug 2020 16:04:01 +0000 (UTC)
From:      Alex Richardson <arichardson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r364023 - head/usr.bin/grep
Message-ID:  <202008071604.077G41dj025962@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008071604.077G41dj025962>