summaryrefslogtreecommitdiff
path: root/graphics/libwmf/hacks.mk
blob: 01ad9bd51694c5c411393d2376a2f5f55166eb3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $NetBSD: hacks.mk,v 1.1 2006/01/29 21:58:31 schwarz Exp $

.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)
###
.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