summaryrefslogtreecommitdiff
path: root/devel/pcre2
diff options
context:
space:
mode:
authornros <nros@pkgsrc.org>2016-01-05 20:41:34 +0000
committernros <nros@pkgsrc.org>2016-01-05 20:41:34 +0000
commit74028877824fae2f9f38f2225e32475f294a611c (patch)
treed39c3ebe5afe194cd039c47e6191ba141be3e1de /devel/pcre2
parent5860b0640821bc20e37ff012f7015328d68425a7 (diff)
downloadpkgsrc-74028877824fae2f9f38f2225e32475f294a611c.tar.gz
Make devel/pcre2 more complete.
Enable building of the 16 and 32-bit libraries. enable pcre2-grep to read .gz and .bz2 files. bump pkgrevision.
Diffstat (limited to 'devel/pcre2')
-rw-r--r--devel/pcre2/Makefile10
-rw-r--r--devel/pcre2/PLIST6
-rw-r--r--devel/pcre2/buildlink3.mk4
3 files changed, 16 insertions, 4 deletions
diff --git a/devel/pcre2/Makefile b/devel/pcre2/Makefile
index 5b16e3db222..cfd554ef16f 100644
--- a/devel/pcre2/Makefile
+++ b/devel/pcre2/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2015/12/29 14:40:20 bsiegert Exp $
+# $NetBSD: Makefile,v 1.3 2016/01/05 20:41:34 nros Exp $
DISTNAME= pcre2-10.20
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ \
${MASTER_SITE_SOURCEFORGE:=pcre/}
@@ -20,6 +21,13 @@ PKGCONFIG_OVERRIDE+= libpcre2-posix.pc.in
PKGCONFIG_OVERRIDE+= libpcre2-8.pc.in
PKGCONFIG_OVERRIDE+= libpcre2-32.pc.in
+CONFIGURE_ARGS+= --enable-pcre2-16
+CONFIGURE_ARGS+= --enable-pcre2-32
+CONFIGURE_ARGS+= --enable-pcre2grep-libz
+CONFIGURE_ARGS+= --enable-pcre2grep-libbz2
+
TEST_TARGET= check
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/pcre2/PLIST b/devel/pcre2/PLIST
index 885156116de..718a112475f 100644
--- a/devel/pcre2/PLIST
+++ b/devel/pcre2/PLIST
@@ -1,11 +1,15 @@
-@comment $NetBSD: PLIST,v 1.2 2015/12/29 14:40:20 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.3 2016/01/05 20:41:34 nros Exp $
bin/pcre2-config
bin/pcre2grep
bin/pcre2test
include/pcre2.h
include/pcre2posix.h
+lib/libpcre2-16.la
+lib/libpcre2-32.la
lib/libpcre2-8.la
lib/libpcre2-posix.la
+lib/pkgconfig/libpcre2-16.pc
+lib/pkgconfig/libpcre2-32.pc
lib/pkgconfig/libpcre2-8.pc
lib/pkgconfig/libpcre2-posix.pc
man/man1/pcre2-config.1
diff --git a/devel/pcre2/buildlink3.mk b/devel/pcre2/buildlink3.mk
index 136b1fb98cd..649a011969e 100644
--- a/devel/pcre2/buildlink3.mk
+++ b/devel/pcre2/buildlink3.mk
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.2 2015/12/29 14:40:20 bsiegert Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2016/01/05 20:41:34 nros Exp $
BUILDLINK_TREE+= pcre2
.if !defined(PCRE2_BUILDLINK3_MK)
PCRE2_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.pcre2+= pcre2>=10.20
+BUILDLINK_API_DEPENDS.pcre2+= pcre2>=10.20nb1
BUILDLINK_PKGSRCDIR.pcre2?= ../../devel/pcre2
.endif # PCRE2_BUILDLINK3_MK