update grep to 2.4.
Thanks for the help from simonb, mrg and hubertf. (All errors are mine, though.)
This commit is contained in:
parent
b4e4ede4f1
commit
1d76239646
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.13 1999/05/31 14:21:11 kleink Exp $
|
||||
# $NetBSD: Makefile,v 1.14 2000/02/27 01:31:02 wiz Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -7,7 +7,7 @@ SRCS= bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c \
|
||||
loadmsgcat.c localealias.c textdomain.c l10nflist.c \
|
||||
explodename.c intl-compat.c
|
||||
SRCS+= grep.c dfa.c kwset.c obstack.c savedir.c getopt.c getopt1.c \
|
||||
search.c stpcpy.c regex.c
|
||||
search.c stpcpy.c regex.c grepmat.c
|
||||
MAN= grep.1
|
||||
|
||||
DIST= ${.CURDIR}/../../dist
|
||||
@ -19,8 +19,8 @@ CPPFLAGS+= -I${DIST}/grep/src -I${DIST}/grep/intl -I${.CURDIR} \
|
||||
-DLOCALEDIR=\"/usr/share/locale\"
|
||||
|
||||
.if ${MKNLS} != "no"
|
||||
.for F in de.gmo el.gmo es.gmo fr.gmo ko.gmo nl.gmo no.gmo pl.gmo ru.gmo \
|
||||
sl.gmo sv.gmo
|
||||
.for F in de.gmo el.gmo es.gmo fr.gmo ko.gmo nl.gmo no.gmo pl.gmo pt_BR.gmo \
|
||||
ru.gmo sl.gmo sv.gmo
|
||||
FILES+= ${F}
|
||||
FILESDIR_${F}= /usr/share/locale/${F:.gmo=}/LC_MESSAGES
|
||||
FILESNAME_${F}= grep.mo
|
||||
|
@ -54,7 +54,10 @@
|
||||
#define PACKAGE "grep"
|
||||
|
||||
/* Version number. */
|
||||
#define VERSION "2.2f"
|
||||
#define VERSION "2.4"
|
||||
|
||||
/* Define to `int' if <sys/types.h> doesn't define. */
|
||||
/* #undef ssize_t */
|
||||
|
||||
/* Hack for Visual C++ suggested by irox. */
|
||||
/* #undef alloca */
|
||||
@ -101,6 +104,9 @@
|
||||
/* Define if you have the memchr function. */
|
||||
#define HAVE_MEMCHR 1
|
||||
|
||||
/* Define if you have the memmove function. */
|
||||
#define HAVE_MEMMOVE 1
|
||||
|
||||
/* Define if you have the munmap function. */
|
||||
#define HAVE_MUNMAP 1
|
||||
|
||||
@ -131,6 +137,9 @@
|
||||
/* Define if you have the strerror function. */
|
||||
#define HAVE_STRERROR 1
|
||||
|
||||
/* Define if you have the wctype function. */
|
||||
/* #undef HAVE_WCTYPE */
|
||||
|
||||
/* Define if you have the <argz.h> header file. */
|
||||
/* #undef HAVE_ARGZ_H */
|
||||
|
||||
@ -184,3 +193,16 @@
|
||||
|
||||
/* Define if you have the i library (-li). */
|
||||
/* #undef HAVE_LIBI */
|
||||
|
||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||
/* #undef _FILE_OFFSET_BITS */
|
||||
|
||||
/* Define to make fseeko etc. visible, on some hosts. */
|
||||
/* #undef _LARGEFILE_SOURCE */
|
||||
|
||||
/* Define for large files, on AIX-style hosts. */
|
||||
/* #undef _LARGE_FILES */
|
||||
|
||||
/* Define if compiler has function prototypes */
|
||||
#define PROTOTYPES 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user