diff options
author | tnn <tnn@pkgsrc.org> | 2008-04-22 17:25:42 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-04-22 17:25:42 +0000 |
commit | 3b895e4657a549df11a72926d2c551ab450af53c (patch) | |
tree | be120896e3ce4347a0318bb46d88e6cea938a404 | |
parent | 9d636b1c479fbfce6a01613804174dc16584dc25 (diff) | |
download | pkgsrc-3b895e4657a549df11a72926d2c551ab450af53c.tar.gz |
Fix build on HP-UX 11.11
-rw-r--r-- | devel/libevent/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/libevent/Makefile b/devel/libevent/Makefile index e748a240bf3..fd480db2c84 100644 --- a/devel/libevent/Makefile +++ b/devel/libevent/Makefile @@ -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 @@ LIBS.SunOS+= -lnsl -lresolv # 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" |