pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/grep textproc/grep: enable PCRE for GNU Grep



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d0b4f3c1015b
branches:  trunk
changeset: 376250:d0b4f3c1015b
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Feb 27 15:16:50 2018 +0000

description:
textproc/grep: enable PCRE for GNU Grep

It had been disabled in 2003 for no apparent reason.

ok @bouyer

diffstat:

 textproc/grep/Makefile |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 7e4a280604bf -r d0b4f3c1015b textproc/grep/Makefile
--- a/textproc/grep/Makefile    Tue Feb 27 14:28:13 2018 +0000
+++ b/textproc/grep/Makefile    Tue Feb 27 15:16:50 2018 +0000
@@ -1,19 +1,20 @@
-# $NetBSD: Makefile,v 1.51 2017/08/18 21:51:40 adam Exp $
+# $NetBSD: Makefile,v 1.52 2018/02/27 15:16:50 rillig Exp $
 
 DISTNAME=      grep-3.1
 CATEGORIES=    textproc
+PKGREVISION=   1
 MASTER_SITES=  ${MASTER_SITE_GNU:=grep/}
 EXTRACT_SUFX=  .tar.xz
 
-MAINTAINER=    bouyer%NetBSD.org@localhost
-HOMEPAGE=      http://www.gnu.org/software/grep/grep.html
+MAINTAINER=    pkgsrc-users%pkgsrc.org@localhost
+HOMEPAGE=      https://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+=       --enable-perl-regexp
 CONFIGURE_ARGS+=       --program-prefix=g
 CONFIGURE_ENV+=                MKDIR_P=${INSTALL_DATA_DIR:Q}
 INFO_FILES=            yes
@@ -38,4 +39,5 @@
 .endfor
 
 .include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/pcre/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index