aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2018-04-25 13:23:58 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2018-04-25 13:23:58 +0000
commit612c330d85a4e48869c4f0307efe3f133969aa6c (patch)
tree0bcfc6541cb1b38ae37fa08e1bbef25c9eca7edb /gnu
parent94997dae63b209ddfa639ac48082326a56269d94 (diff)
downloadsrc-612c330d85a4e48869c4f0307efe3f133969aa6c.tar.gz
src-612c330d85a4e48869c4f0307efe3f133969aa6c.zip
Use a script wrapper for <compress>grep
Import the wrapper script from zstdgrep (written by wiz@netbsd.org) Modify it to support more than just zstd (adding support for gzip, lzma, xz and bzip2) Write a simple manpage dedicated for it. Only use that new wrapper both for gnu grep and bsd grep Next step will be removing code related to compression format from bsdgrep Reviewed by: kevans Approved by: kevans MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D15193
Notes
Notes: svn path=/head/; revision=332993
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/grep/Makefile13
1 files changed, 0 insertions, 13 deletions
diff --git a/gnu/usr.bin/grep/Makefile b/gnu/usr.bin/grep/Makefile
index e8d6dd8ba4b5..b24b1ea292e0 100644
--- a/gnu/usr.bin/grep/Makefile
+++ b/gnu/usr.bin/grep/Makefile
@@ -24,22 +24,9 @@ MLINKS= grep.1 egrep.1 grep.1 fgrep.1
LIBADD= gnuregex bz2
-.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
-
.if defined(GREP_LIBZ) && !empty(GREP_LIBZ)
LIBADD+= z
CFLAGS+=-DHAVE_LIBZ=1
-.if ${MK_BSD_GREP} != "yes"
-LINKS+= ${BINDIR}/grep ${BINDIR}/zgrep \
- ${BINDIR}/grep ${BINDIR}/zegrep \
- ${BINDIR}/grep ${BINDIR}/zfgrep
-MLINKS+=grep.1 zgrep.1 grep.1 zegrep.1 grep.1 zfgrep.1
-.endif
.endif
gnugrep.1: grep.1