1 # $NetBSD: hacks.mk,v 1.1 2006/09/10 19:56:03 schwarz Exp $
3 .if
!defined
(TETEX3-BIN_HACKS_MK
)
4 TETEX3-BIN_HACKS_MK
= # defined
6 ### [Fri Dec 30 21:00:59 CET 2005 : schwarz]
7 ### make sys/types.h not conflict with inttypes.h
8 ### (issue is specific to IRIX 5.3)
10 .if
!empty
(MACHINE_PLATFORM
:MIRIX-5.3
-*)
11 PKG_HACKS
+= sys_types_h-inttypes_h-conflict
13 ${MKDIR} ${BUILDLINK_DIR}/include/sys
&& ${GREP} -v
'^typedef.*[^u_]int[12368]*_t;' /usr
/include/sys
/types.h
> ${BUILDLINK_DIR}/include/sys
/types.h
14 # should match int8_t, int16_t, and int32_t (only)