Author: gabor
Date: Mon Nov 28 20:16:55 2011
New Revision: 228099
URL: http://svn.freebsd.org/changeset/base/228099

Log:
  - 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

Modified:
  head/usr.bin/grep/Makefile

Modified: head/usr.bin/grep/Makefile
==============================================================================
--- head/usr.bin/grep/Makefile  Mon Nov 28 20:08:19 2011        (r228098)
+++ head/usr.bin/grep/Makefile  Mon Nov 28 20:16:55 2011        (r228099)
@@ -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}
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to