openbsd-ports/devel/pcre2/Makefile
namn 7a5c608f60 update devel/pcre2 10.37
This is an update for devel/pcre2 10.37 released on May 26, 2021.

Changelog:
https://vcs.pcre.org/pcre2/code/trunk/ChangeLog?view=markup&pathrev=1310

This update:
- undoes RunGrepTest patch by jca@ now that it has been upstreamed (item
#1 changelog)
https://bugs.exim.org/show_bug.cgi?id=2681
- major bump for pcre2-posix due to check_sym reporting removed symbols

ok sthen@
2021-11-05 22:18:23 +00:00

42 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.15 2021/11/05 22:18:23 namn Exp $
COMMENT = perl-compatible regular expression library, version 2
DISTNAME = pcre2-10.37
SHARED_LIBS += pcre2-16 0.5 # 10.37
SHARED_LIBS += pcre2-32 0.5 # 10.37
SHARED_LIBS += pcre2-8 0.6 # 10.37
SHARED_LIBS += pcre2-posix 1.0 # 2.3
CATEGORIES = devel
MASTER_SITES = https://ftp.pcre.org/pub/pcre/ \
${MASTER_SITE_SOURCEFORGE:=pcre/} \
http://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ \
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
HOMEPAGE = https://www.pcre.org/
MAINTAINER = Nam Nguyen <namn@berkeley.edu>
# BSD
PERMIT_PACKAGE = Yes
WANTLIB += bz2 c curses readline z
LIB_DEPENDS = archivers/bzip2
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --enable-pcre2-16 \
--enable-pcre2-32 \
--enable-newline-is-any \
--enable-pcre2grep-libz \
--enable-pcre2grep-libbz2 \
--enable-pcre2test-libreadline
# explicitly disable JIT that would require WXNEEDED
CONFIGURE_ARGS += --disable-jit
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>