pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/liboil Solaris 5.8 does not have <stdint.h>, onl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/26465476bf64
branches:  trunk
changeset: 516074:26465476bf64
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Jul 13 17:04:51 2006 +0000

description:
Solaris 5.8 does not have <stdint.h>, only <inttypes.h>.

diffstat:

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

diffs (21 lines):

diff -r 068d94f26ee9 -r 26465476bf64 devel/liboil/Makefile
--- a/devel/liboil/Makefile     Thu Jul 13 16:44:14 2006 +0000
+++ b/devel/liboil/Makefile     Thu Jul 13 17:04:51 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/03/04 21:29:17 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2006/07/13 17:04:51 rillig Exp $
 #
 
 DISTNAME=      liboil-0.3.6
@@ -18,4 +18,11 @@
 PKGCONFIG_OVERRIDE+=   liboil-uninstalled.pc.in
 PKGCONFIG_OVERRIDE+=   liboil.pc.in
 
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(MACHINE_PLATFORM:MSunOS-5.8-*)
+pre-configure:
+       ${ECHO} "#include <inttypes.h>" > ${BUILDLINK_DIR}/include/stdint.h
+.endif
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index