pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libevent Use c99 uint* types rather than u_int* ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1ebb98b868cf
branches: trunk
changeset: 530993:1ebb98b868cf
user: tnn <tnn%pkgsrc.org@localhost>
date: Tue Jul 17 10:56:07 2007 +0000
description:
Use c99 uint* types rather than u_int* on HPUX.
diffstat:
devel/libevent/Makefile | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r 08e4ecc9c801 -r 1ebb98b868cf devel/libevent/Makefile
--- a/devel/libevent/Makefile Tue Jul 17 10:52:27 2007 +0000
+++ b/devel/libevent/Makefile Tue Jul 17 10:56:07 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2007/04/25 16:38:37 tnn Exp $
+# $NetBSD: Makefile,v 1.23 2007/07/17 10:56:07 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
@@ -21,13 +21,14 @@
LIBS.SunOS+= -lnsl -lresolv
-# Solaris doesn't have u_intX_t types in <inttypes.h>.
-CFLAGS.SunOS+= -Du_int8_t=uint8_t
-CFLAGS.SunOS+= -Du_int16_t=uint16_t
-CFLAGS.SunOS+= -Du_int32_t=uint32_t
+.include "../../mk/bsd.prefs.mk"
-.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "SunOS"
+# Solaris and HPUX don't have u_intX_t types in <inttypes.h>.
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "HPUX"
+CFLAGS+= -Du_int8_t=uint8_t
+CFLAGS+= -Du_int16_t=uint16_t
+CFLAGS+= -Du_int32_t=uint32_t
+
SUBST_CLASSES+= inttypes
SUBST_STAGE.inttypes= post-patch
SUBST_FILES.inttypes= event.h
Home |
Main Index |
Thread Index |
Old Index