pkgsrc/devel/pcre/Makefile
sevan e865039312 Add a patch for CVE-2017-6004 - Denial of service (out-of-bounds read and
application crash) via a crafted regular expression.
Bump revision.
2017-02-22 03:22:57 +00:00

34 lines
958 B
Makefile

# $NetBSD: Makefile,v 1.83 2017/02/22 03:22:57 sevan Exp $
DISTNAME= pcre-8.40
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/programming/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
LICENSE= modified-bsd
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-pcre16
CONFIGURE_ARGS+= --enable-unicode-properties
CONFIGURE_ARGS+= --enable-utf8
SUBST_CLASSES+= rpath
SUBST_STAGE.rpath= pre-configure
SUBST_MESSAGE.rpath= Fixing rpath output in pcre-config
SUBST_FILES.rpath= pcre-config.in
SUBST_VARS.rpath= COMPILER_RPATH_FLAG
PKGCONFIG_OVERRIDE= libpcre.pc.in libpcrecpp.pc.in libpcreposix.pc.in
PKGCONFIG_OVERRIDE+= libpcre16.pc.in
# needs a stacksize of 5.5mb, default is 2mb
TEST_TARGET= test
.include "../../mk/bsd.pkg.mk"