2007-10-17 01:48:58 +02:00
|
|
|
# $NetBSD: hacks.mk,v 1.2 2007/10/16 23:48:59 tnn Exp $
|
2006-04-20 12:55:35 +02:00
|
|
|
|
|
|
|
.if !defined(LIBEXIF_HACKS_MK)
|
|
|
|
LIBEXIF_HACKS_MK= # defined
|
|
|
|
|
|
|
|
### [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)
|
|
|
|
###
|
2007-10-17 01:48:58 +02:00
|
|
|
.if !empty(MACHINE_PLATFORM:MIRIX-5.3-*)
|
2006-04-20 12:55:35 +02:00
|
|
|
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
|