From 4f1677be2aa547c8503f0f027e55fb92de739ed7 Mon Sep 17 00:00:00 2001 From: tnn Date: Fri, 7 Sep 2007 14:49:35 +0000 Subject: Make pcre build on HPUX. --- devel/pcre/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'devel/pcre') 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" -- cgit v1.2.3