1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-20 02:38:43 +00:00

- Fix installation when WITH_BSD_GREP is set to yes

Submitted by:	Aleksandr Rybalko <ray@ddteam.net>
This commit is contained in:
Gabor Kovesdan 2011-10-23 16:04:07 +00:00
parent 9932deae93
commit cb47bf1448
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226664

View File

@ -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