openbsd-ports/devel/pcre/Makefile
brad 8381efbfec upgrade to PCRE 7.7
fix a heap-based buffer overflow (CVE-2008-2371)

ok jakob@
2008-07-03 06:45:29 +00:00

39 lines
744 B
Makefile

# $OpenBSD: Makefile,v 1.28 2008/07/03 06:45:29 brad Exp $
COMMENT= perl-compatible regular expression library
DISTNAME= pcre-7.7
SHARED_LIBS= pcre 2.2 \
pcrecpp 3.1 \
pcreposix 1.4
CATEGORIES= devel
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ \
${MASTER_SITE_SOURCEFORGE:=pcre/}
HOMEPAGE= http://www.pcre.org/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-utf8 \
--enable-unicode-properties
# XXX compiler bugs
.if ${MACHINE_ARCH} == "vax"
CFLAGS+= -O0
.endif
.include <bsd.port.mk>