diff options
author | tnn <tnn@pkgsrc.org> | 2007-09-07 14:49:35 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2007-09-07 14:49:35 +0000 |
commit | 89caf308156e4a429a78abb21c6c5e459bc4ff5f (patch) | |
tree | 897f2fa4a23b413194b4adb420129ef54ea755b6 /devel/pcre | |
parent | d708d6e3f0241f2b64c29af92ed0847453421039 (diff) | |
download | pkgsrc-89caf308156e4a429a78abb21c6c5e459bc4ff5f.tar.gz |
Make pcre build on HPUX.
Diffstat (limited to 'devel/pcre')
-rw-r--r-- | devel/pcre/Makefile | 9 |
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" |