diff options
author | rillig <rillig> | 2006-07-13 17:04:51 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-07-13 17:04:51 +0000 |
commit | 392d22e41a6356b61eb97059dc261a56e92fb60c (patch) | |
tree | fce576d191dfc2df30261666a3f70e65d3b4c303 /devel/liboil | |
parent | 443df4f4d80a33ebf2e0bc61a6c4d0ba26735290 (diff) | |
download | pkgsrc-392d22e41a6356b61eb97059dc261a56e92fb60c.tar.gz |
Solaris 5.8 does not have <stdint.h>, only <inttypes.h>.
Diffstat (limited to 'devel/liboil')
-rw-r--r-- | devel/liboil/Makefile | 9 |
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" |