41 lines
1 KiB
Makefile
41 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.45 2007/11/11 11:35:49 martti Exp $
|
|
|
|
DISTNAME= pcre-7.4
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ \
|
|
${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
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --enable-utf8 --enable-unicode-properties
|
|
|
|
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
|
|
|
|
# needs a stacksize of 4mb, default is 2mb
|
|
TEST_TARGET= test
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if !empty(MACHINE_PLATFORM:MHPUX-11.11-*)
|
|
CONFIGURE_ENV+= ac_cv_func_strtoll=yes
|
|
CPPFLAGS+= -Dstrtoll=__strtoll
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|