svn commit: r223617 - user/gabor/tre-integration/usr.bin/grep
Gabor Kovesdan
gabor at FreeBSD.org
Tue Jun 28 01:32:18 UTC 2011
Author: gabor
Date: Tue Jun 28 01:32:18 2011
New Revision: 223617
URL: http://svn.freebsd.org/changeset/base/223617
Log:
- Reduce diffs from HEAD
Modified:
user/gabor/tre-integration/usr.bin/grep/Makefile
Modified: user/gabor/tre-integration/usr.bin/grep/Makefile
==============================================================================
--- user/gabor/tre-integration/usr.bin/grep/Makefile Tue Jun 28 00:58:12 2011 (r223616)
+++ user/gabor/tre-integration/usr.bin/grep/Makefile Tue Jun 28 01:32:18 2011 (r223617)
@@ -2,9 +2,16 @@
# $FreeBSD$
# $OpenBSD: Makefile,v 1.6 2003/06/25 15:00:04 millert Exp $
+.include <bsd.own.mk>
+
+.if ${MK_BSD_GREP} == "yes"
PROG= grep
+.else
+PROG= bsdgrep
+.endif
SRCS= file.c grep.c queue.c util.c
+.if ${MK_BSD_GREP} == "yes"
LINKS= ${BINDIR}/grep ${BINDIR}/egrep \
${BINDIR}/grep ${BINDIR}/fgrep \
${BINDIR}/grep ${BINDIR}/zgrep \
@@ -16,8 +23,10 @@ MLINKS= grep.1 egrep.1 \
grep.1 zgrep.1 \
grep.1 zegrep.1 \
grep.1 zfgrep.1
+.endif
-WARNS?= 6
+bsdgrep.1: grep.1
+ cp ${.ALLSRC} ${.TARGET}
LDADD= -lz -lbz2
DPADD= ${LIBZ} ${LIBBZ2}
More information about the svn-src-user
mailing list