- Create links to the xz and lzma versions even if BSD grep is not the

default. Nor GNU nor liblzma in base provides such functionality so
  it may be useful.

MFC after:	3 days
This commit is contained in:
Gabor Kovesdan 2011-11-28 20:16:55 +00:00
parent ede01be2f2
commit 68f42e1da4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228099

View File

@ -25,13 +25,7 @@ LINKS= ${BINDIR}/grep ${BINDIR}/egrep \
${BINDIR}/grep ${BINDIR}/fgrep \
${BINDIR}/grep ${BINDIR}/zgrep \
${BINDIR}/grep ${BINDIR}/zegrep \
${BINDIR}/grep ${BINDIR}/zfgrep \
${BINDIR}/grep ${BINDIR}/xzgrep \
${BINDIR}/grep ${BINDIR}/xzegrep \
${BINDIR}/grep ${BINDIR}/xzfgrep \
${BINDIR}/grep ${BINDIR}/lzgrep \
${BINDIR}/grep ${BINDIR}/lzegrep \
${BINDIR}/grep ${BINDIR}/lzfgrep
${BINDIR}/grep ${BINDIR}/zfgrep
MLINKS= grep.1 egrep.1 \
grep.1 fgrep.1 \
@ -46,6 +40,13 @@ MLINKS= grep.1 egrep.1 \
grep.1 lzfgrep.1
.endif
LINKS+= ${BINDIR}/${PROG} ${BINDIR}/xzgrep \
${BINDIR}/${PROG} ${BINDIR}/xzegrep \
${BINDIR}/${PROG} ${BINDIR}/xzfgrep \
${BINDIR}/${PROG} ${BINDIR}/lzgrep \
${BINDIR}/${PROG} ${BINDIR}/lzegrep \
${BINDIR}/${PROG} ${BINDIR}/lzfgrep
LDADD= -lz -llzma
DPADD= ${LIBZ} ${LIBLZMA}