diff options
author | gabor <gabor@FreeBSD.org> | 2011-10-23 16:04:07 +0000 |
---|---|---|
committer | gabor <gabor@FreeBSD.org> | 2011-10-23 16:04:07 +0000 |
commit | 6762a389b85ca18551064e0c9afb4e709a471fb3 (patch) | |
tree | 6654fa429c85d71a2d8522caef1a202c1260107c /usr.bin/grep | |
parent | 846e388f827fa94be222f55edf419b5c07b6c30b (diff) | |
download | FreeBSD-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/Makefile | 2 |
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 |