pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/pcre Make pcre build on HPUX.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/80851dfaf43f
branches:  trunk
changeset: 533030:80851dfaf43f
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri Sep 07 14:49:35 2007 +0000

description:
Make pcre build on HPUX.

diffstat:

 devel/pcre/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 021d68ceb3bd -r 80851dfaf43f devel/pcre/Makefile
--- a/devel/pcre/Makefile       Fri Sep 07 14:18:11 2007 +0000
+++ b/devel/pcre/Makefile       Fri Sep 07 14:49:35 2007 +0000
@@ -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 @@
 # 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"



Home | Main Index | Thread Index | Old Index