pkgsrc/devel/pcre2/Makefile
wiz 96adb3f7d1 Make JIT an option. Enable it by default on the list of platforms
martin@ extracted from the source, see PR 52524.

The pattern matching and/or the list itself may need further fixes.

Retest on NetBSD 8 shows that the binaries are now mprotect-safe,
remove variable.

Bump PKGREVISION.
2017-09-07 13:47:21 +00:00

36 lines
997 B
Makefile

# $NetBSD: Makefile,v 1.10 2017/09/07 13:47:21 wiz Exp $
DISTNAME= pcre2-10.30
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
MASTER_SITES+= https://ftp.pcre.org/pub/pcre/
MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:=pcre/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.pcre.org/
COMMENT= Perl Compatible Regular Expressions library (major version 2)
LICENSE= modified-bsd
USE_LANGUAGES= c
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= libpcre2-16.pc.in
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 "options.mk"
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"