Avoid bogus MLINKS when MK_LZMA_SUPPORT=yes and MK_BSD_GREP=no

This commit is contained in:
Simon J. Gerraty 2015-06-08 23:37:17 +00:00
parent 44d314f704
commit 87750562a1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/bmake/; revision=284173

View File

@ -39,6 +39,7 @@ LIBADD= z
.if ${MK_LZMA_SUPPORT} != "no"
LIBADD+= lzma
.if ${MK_BSD_GREP} == "yes"
LINKS+= ${BINDIR}/${PROG} ${BINDIR}/xzgrep \
${BINDIR}/${PROG} ${BINDIR}/xzegrep \
${BINDIR}/${PROG} ${BINDIR}/xzfgrep \
@ -52,6 +53,7 @@ MLINKS+= grep.1 xzgrep.1 \
grep.1 lzgrep.1 \
grep.1 lzegrep.1 \
grep.1 lzfgrep.1
.endif
.else
CFLAGS+= -DWITHOUT_LZMA
.endif