diff options
author | tnn <tnn> | 2008-04-22 17:25:42 +0000 |
---|---|---|
committer | tnn <tnn> | 2008-04-22 17:25:42 +0000 |
commit | b316aa7a1c5b5f4a68904e8e9cea14547510db03 (patch) | |
tree | be120896e3ce4347a0318bb46d88e6cea938a404 /devel | |
parent | 96525804e3660d46fc84fbedc69bd45a18093ec0 (diff) | |
download | pkgsrc-b316aa7a1c5b5f4a68904e8e9cea14547510db03.tar.gz |
Fix build on HP-UX 11.11
Diffstat (limited to 'devel')
-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" |