From bce3d5b6ef24ae138589652175ff89ac4ec04d45 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sun, 21 Nov 1999 09:44:26 +0000 Subject: [PATCH] Apply a bandaid to the grep Makefile to try and get it to compile and stop breaking world. --- gnu/usr.bin/grep/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/usr.bin/grep/Makefile b/gnu/usr.bin/grep/Makefile index 0502d670f8c2..525f2ea6505b 100644 --- a/gnu/usr.bin/grep/Makefile +++ b/gnu/usr.bin/grep/Makefile @@ -6,10 +6,11 @@ GREP_LIBZ= YES GREP_FTS= YES PROG= grep -SRCS= dfa.c grep.c getopt.c kwset.c obstack.c search.c +SRCS= dfa.c grep.c getopt.c getopt1.c kwset.c obstack.c savedir.c search.c \ + stpcpy.c CFLAGS+=-DGREP -DHAVE_STRING_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_UNISTD_H=1 \ -DHAVE_GETPAGESIZE=1 -DHAVE_MEMCHR=1 -DHAVE_STRERROR=1 \ - -DHAVE_VALLOC=1 -DHAVE_WORKING_MMAP=1 + -DHAVE_VALLOC=1 -DHAVE_WORKING_MMAP=1 -DVERSION=\"2.3\" -DHAVE_DIRENT_H LINKS+= ${BINDIR}/grep ${BINDIR}/egrep \ ${BINDIR}/grep ${BINDIR}/fgrep