summaryrefslogtreecommitdiff
path: root/devel/liboil
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-07-13 17:04:51 +0000
committerrillig <rillig@pkgsrc.org>2006-07-13 17:04:51 +0000
commit0a3e5f20af0ca6063eb86cb67d45122a67e6804e (patch)
treefce576d191dfc2df30261666a3f70e65d3b4c303 /devel/liboil
parent1fd7f1eaa4907083b03ae9fc555ca5d93d8e529d (diff)
downloadpkgsrc-0a3e5f20af0ca6063eb86cb67d45122a67e6804e.tar.gz
Solaris 5.8 does not have <stdint.h>, only <inttypes.h>.
Diffstat (limited to 'devel/liboil')
-rw-r--r--devel/liboil/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/liboil/Makefile b/devel/liboil/Makefile
index a51849b539a..732009e1d21 100644
--- a/devel/liboil/Makefile
+++ b/devel/liboil/Makefile
@@ -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 @@ CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
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"