diff options
author | schwarz <schwarz@pkgsrc.org> | 2006-01-22 21:36:31 +0000 |
---|---|---|
committer | schwarz <schwarz@pkgsrc.org> | 2006-01-22 21:36:31 +0000 |
commit | ac2dc7fef2c52e79c63816bb6343fb56143f2af7 (patch) | |
tree | 4f5e7a43c9238760310e57b295eef22135f6211f /graphics/netpbm | |
parent | 50b7e8552654ce483b3d027793eec5c59c1f736f (diff) | |
download | pkgsrc-ac2dc7fef2c52e79c63816bb6343fb56143f2af7.tar.gz |
added hack for handling of inttypes.h on IRIX 5.3
Diffstat (limited to 'graphics/netpbm')
-rw-r--r-- | graphics/netpbm/hacks.mk | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/graphics/netpbm/hacks.mk b/graphics/netpbm/hacks.mk index 0afe5dd841a..6a10a841053 100644 --- a/graphics/netpbm/hacks.mk +++ b/graphics/netpbm/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.2 2005/12/05 20:50:21 rillig Exp $ +# $NetBSD: hacks.mk,v 1.3 2006/01/22 21:36:31 schwarz Exp $ .if !defined(NETPBM_HACKS_MK) NETPBM_HACKS_MK= # defined @@ -23,4 +23,15 @@ PKG_HACKS+= standard-headers MAKE_FLAGS+= INTTYPES_H='<sys/types.h>' .endif +### [Fri Dec 30 21:00:59 CET 2005 : schwarz] +### make sys/types.h not conflict with inttypes.h +### (issue is specific to IRIX 5.3) +### +.if ${LOWER_OPSYS} == "irix5.3" +PKG_HACKS+= sys_types_h-inttypes_h-conflict +post-wrapper: + ${MKDIR} ${BUILDLINK_DIR}/include/sys && ${GREP} -v '^typedef.*[^u_]int[12368]*_t;' /usr/include/sys/types.h > ${BUILDLINK_DIR}/include/sys/types.h +# should match int8_t, int16_t, and int32_t (only) +.endif + .endif |