From 26e3f9681b94dd397ed0c163636ac05c036db3ca Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Wed, 9 Jan 2019 02:47:07 +0000 Subject: [PATCH] Fix bsdgrep manpage clobbering grep(1) with default build options The default build should install bsdgrep(1) and grep(1), with the latter being gnugrep(1). WITH_BSD_GREP flips this situation such that we have gnugrep(1) and grep(1), with the latter being bsdgrep(1). Changes to start installing the zgrep script out of usr.bin/grep inadvertently altered the default build such that grep(1) was being installed, and it was bsdgrep(1). Correct the typo. Reported by: bcran MFC after: 3 days --- usr.bin/grep/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/grep/Makefile b/usr.bin/grep/Makefile index cc698d54d19..c3b07b9252c 100644 --- a/usr.bin/grep/Makefile +++ b/usr.bin/grep/Makefile @@ -10,7 +10,7 @@ MAN1= grep.1 zgrep.1 .else PROG= bsdgrep CLEANFILES+= bsdgrep.1 -MAN1= grep.1 zgrep.1 +MAN1= bsdgrep.1 zgrep.1 bsdgrep.1: grep.1 ${CP} ${.ALLSRC} ${.TARGET} -- 2.45.0