blob: ec522fbb852b3afb9233d6b854184465f345bd9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $NetBSD: Makefile,v 1.42 2007/10/17 20:49:42 wiz Exp $
DISTNAME= pcre-7.4
CATEGORIES= devel
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.pcre.org/
COMMENT= Perl Compatible Regular Expressions library
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
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
# 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"
|