summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorschwarz <schwarz@pkgsrc.org>2006-09-10 19:56:03 +0000
committerschwarz <schwarz@pkgsrc.org>2006-09-10 19:56:03 +0000
commit01d88bca8246643a44a89acb77d1dbe25df16455 (patch)
treeb43b9eb28de654ecdc980dc6c314319367e851f6 /print
parent550ac289b54bde3fca09bb3000ab050cbf3f5385 (diff)
downloadpkgsrc-01d88bca8246643a44a89acb77d1dbe25df16455.tar.gz
added a hack to make teTeX3-bin compile on IRIX 5.3
Diffstat (limited to 'print')
-rw-r--r--print/teTeX3-bin/hacks.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/print/teTeX3-bin/hacks.mk b/print/teTeX3-bin/hacks.mk
new file mode 100644
index 00000000000..aca12681c85
--- /dev/null
+++ b/print/teTeX3-bin/hacks.mk
@@ -0,0 +1,17 @@
+# $NetBSD: hacks.mk,v 1.1 2006/09/10 19:56:03 schwarz Exp $
+
+.if !defined(TETEX3-BIN_HACKS_MK)
+TETEX3-BIN_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