summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2018-02-27 15:16:50 +0000
committerrillig <rillig@pkgsrc.org>2018-02-27 15:16:50 +0000
commit121fa754159db36bd6ce5952bca3bda0141c1028 (patch)
tree819bb57b0718f950ba231109f9659aa3c31c0b0a /textproc
parent9a9f35e05a9abff4ed688079ba9fa78b92c9ba11 (diff)
downloadpkgsrc-121fa754159db36bd6ce5952bca3bda0141c1028.tar.gz
textproc/grep: enable PCRE for GNU Grep
It had been disabled in 2003 for no apparent reason. ok @bouyer
Diffstat (limited to 'textproc')
-rw-r--r--textproc/grep/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/textproc/grep/Makefile b/textproc/grep/Makefile
index 01223b4a415..baf9f94f53c 100644
--- a/textproc/grep/Makefile
+++ b/textproc/grep/Makefile
@@ -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
-HOMEPAGE= http://www.gnu.org/software/grep/grep.html
+MAINTAINER= pkgsrc-users@pkgsrc.org
+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 @@ post-install:
.endfor
.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/pcre/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"