7eb274252d
Changelog: * Noteworthy changes in release 3.0 (2017-02-09) [stable] ** Bug fixes grep without -F no longer goes awry when given two or more patterns that contain no special characters other than '\' and also contain a subpattern like '\.' that escapes a character to make it ordinary. [bug introduced in grep 2.28] grep no longer fails to build on PCRE versions before 8.20. [bug introduced in grep 2.28] * Noteworthy changes in release 2.28 (2017-02-06) [stable] ** Bug fixes When grep -Fo finds matches of differing length, it could mistakenly print a shorter one. Now it prints a longest one. [bug introduced in grep-2.26] When standard output is /dev/null, grep no longer fails when standard input is a file in the Linux /proc file system, or when standard input is a pipe and standard output is in append mode. [bugs introduced in grep-2.27] Fix performance regression with multiple patterns, e.g., for -Fi in a multi-byte locale, or for -Fw in a single-byte locale. [bugs introduced in grep-2.19, grep-2.22 and grep-2.26] ** Improvements Improve performance for -E or -G pattern lists that are easily converted to -F format.
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.50 2017/03/30 19:23:17 ryoon Exp $
|
|
|
|
DISTNAME= grep-3.0
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=grep/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= bouyer@NetBSD.org
|
|
HOMEPAGE= http://www.gnu.org/software/grep/grep.html
|
|
COMMENT= GNU grep
|
|
LICENSE= gnu-gpl-v3 # or later
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= makeinfo msgfmt
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --disable-perl-regexp
|
|
CONFIGURE_ARGS+= --program-prefix=g
|
|
CONFIGURE_ENV+= MKDIR_P=${INSTALL_DATA_DIR:Q}
|
|
INFO_FILES= yes
|
|
TEXINFO_REQD= 4.0
|
|
|
|
INSTALLATION_DIRS= ${PKGGNUDIR}bin ${PKGGNUDIR}${PKGMANDIR}/man1
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OS_VARIANT} == "SCOOSR5"
|
|
# SCO OpenServer 5.0.7/3.2's pthread is builtin GNU pth.
|
|
CONFIGURE_ARGS+= --enable-threads=pth
|
|
.endif
|
|
|
|
post-install:
|
|
.for g n in bin/ggrep ${PKGGNUDIR}bin/grep bin/gegrep ${PKGGNUDIR}bin/egrep \
|
|
bin/gfgrep ${PKGGNUDIR}bin/fgrep \
|
|
man/man1/ggrep.1 ${PKGGNUDIR}${PKGMANDIR}/man1/grep.1 \
|
|
man/man1/ggrep.1 ${PKGGNUDIR}${PKGMANDIR}/man1/egrep.1 \
|
|
man/man1/ggrep.1 ${PKGGNUDIR}${PKGMANDIR}/man1/fgrep.1
|
|
${LN} -sf ${PREFIX}/${g} ${DESTDIR}${PREFIX}/${n}
|
|
.endfor
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|