summaryrefslogtreecommitdiff
path: root/devel/pcre
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2007-09-07 14:49:35 +0000
committertnn <tnn@pkgsrc.org>2007-09-07 14:49:35 +0000
commit4f1677be2aa547c8503f0f027e55fb92de739ed7 (patch)
tree897f2fa4a23b413194b4adb420129ef54ea755b6 /devel/pcre
parent5140639bfb3064f5ac6e617b2c4363fc19f3bd88 (diff)
downloadpkgsrc-4f1677be2aa547c8503f0f027e55fb92de739ed7.tar.gz
Make pcre build on HPUX.
Diffstat (limited to 'devel/pcre')
-rw-r--r--devel/pcre/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/pcre/Makefile b/devel/pcre/Makefile
index ad41a26f675..1f8d38e89f7 100644
--- a/devel/pcre/Makefile
+++ b/devel/pcre/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2007/08/29 21:02:45 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2007/09/07 14:49:35 tnn Exp $
DISTNAME= pcre-7.3
CATEGORIES= devel
@@ -28,4 +28,11 @@ 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"