openbsd-ports/devel/pcre/Makefile
jakob 9fc65763a7 upgrade to PCRE v7.6
fixes "PCRE Character Class Buffer Overflow" (Secunia Advisory SA28923)
2008-02-15 10:07:11 +00:00

39 lines
766 B
Makefile

# $OpenBSD: Makefile,v 1.26 2008/02/15 10:07:11 jakob Exp $
COMMENT= perl-compatible regular expression library
DISTNAME= pcre-7.6
PKGNAME= ${DISTNAME}
SHARED_LIBS= pcre 2.1 \
pcrecpp 3.1 \
pcreposix 1.3
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
.if ${MACHINE_ARCH} == "vax"
CFLAGS+= -O0 # XXX compiler bugs
.endif
.include <bsd.port.mk>