pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libevent Fix build on HP-UX 11.11



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f71473b0589a
branches:  trunk
changeset: 541437:f71473b0589a
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Apr 22 17:25:42 2008 +0000

description:
Fix build on HP-UX 11.11

diffstat:

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

diffs (21 lines):

diff -r b096ed7be778 -r f71473b0589a devel/libevent/Makefile
--- a/devel/libevent/Makefile   Tue Apr 22 17:16:54 2008 +0000
+++ b/devel/libevent/Makefile   Tue Apr 22 17:25:42 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2008/04/22 17:16:54 tnn Exp $
+# $NetBSD: Makefile,v 1.28 2008/04/22 17:25:42 tnn Exp $
 #
 # WARNING: updating this package (as of the 1.1/1.2 releases) means
 # updating BUILDLINK_ABI_DEPENDS in buildlink3.mk and a PKGREVISION
@@ -26,4 +26,11 @@
 # XXX helps build, but needs more testing
 #CFLAGS.Interix+=      -Dsockaddr_storage=sockaddr_in -DNI_MAXSERV=32
 
+.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