Apply a bandaid to the grep Makefile to try and get it to compile and stop
breaking world.
This commit is contained in:
parent
c69a34d486
commit
bce3d5b6ef
@ -6,10 +6,11 @@ GREP_LIBZ= YES
|
|||||||
GREP_FTS= YES
|
GREP_FTS= YES
|
||||||
|
|
||||||
PROG= grep
|
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 \
|
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_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 \
|
LINKS+= ${BINDIR}/grep ${BINDIR}/egrep \
|
||||||
${BINDIR}/grep ${BINDIR}/fgrep
|
${BINDIR}/grep ${BINDIR}/fgrep
|
||||||
|
Loading…
Reference in New Issue
Block a user