summaryrefslogtreecommitdiff
path: root/graphics/libwmf
diff options
context:
space:
mode:
authorschwarz <schwarz>2006-01-29 21:58:31 +0000
committerschwarz <schwarz>2006-01-29 21:58:31 +0000
commit9e0cca674f82cdaae25a31c1889dde076fe73b56 (patch)
treeea6d09563e3bb5bb70a44f4be01c29d2860ba5ba /graphics/libwmf
parent216ef1734bc9bf858c40bc8ec54c958cd1b59974 (diff)
downloadpkgsrc-9e0cca674f82cdaae25a31c1889dde076fe73b56.tar.gz
added hack to compile libwmf on IRIX 5.3
Diffstat (limited to 'graphics/libwmf')
-rw-r--r--graphics/libwmf/hacks.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/libwmf/hacks.mk b/graphics/libwmf/hacks.mk
new file mode 100644
index 00000000000..01ad9bd5169
--- /dev/null
+++ b/graphics/libwmf/hacks.mk
@@ -0,0 +1,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