summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2011-10-23 16:04:07 +0000
committergabor <gabor@FreeBSD.org>2011-10-23 16:04:07 +0000
commit6762a389b85ca18551064e0c9afb4e709a471fb3 (patch)
tree6654fa429c85d71a2d8522caef1a202c1260107c /usr.bin/grep
parent846e388f827fa94be222f55edf419b5c07b6c30b (diff)
downloadFreeBSD-src-6762a389b85ca18551064e0c9afb4e709a471fb3.zip
FreeBSD-src-6762a389b85ca18551064e0c9afb4e709a471fb3.tar.gz
- Fix installation when WITH_BSD_GREP is set to yes
Submitted by: Aleksandr Rybalko <ray@ddteam.net>
Diffstat (limited to 'usr.bin/grep')
-rw-r--r--usr.bin/grep/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/grep/Makefile b/usr.bin/grep/Makefile
index 1bd34ff..d0c24f7 100644
--- a/usr.bin/grep/Makefile
+++ b/usr.bin/grep/Makefile
@@ -53,12 +53,14 @@ DPADD= ${LIBZ} ${LIBLZMA}
LDADD+= -lbz2
DPADD+= ${LIBBZ2}
+.if ${MK_BSD_GREP} == "yes"
LINKS+= ${BINDIR}/grep ${BINDIR}/bzgrep \
${BINDIR}/grep ${BINDIR}/bzegrep \
${BINDIR}/grep ${BINDIR}/bzfgrep
MLINKS+= grep.1 bzgrep.1 \
grep.1 bzegrep.1 \
grep.1 bzfgrep.1
+.endif
.else
CFLAGS+= -DWITHOUT_BZIP2
.endif
OpenPOWER on IntegriCloud