summaryrefslogtreecommitdiff
path: root/net/openslp
diff options
context:
space:
mode:
authorschwarz <schwarz@pkgsrc.org>2006-04-20 10:55:35 +0000
committerschwarz <schwarz@pkgsrc.org>2006-04-20 10:55:35 +0000
commit057a0160f206bd8414b7b3f82e1e4d7bd0ca2d61 (patch)
tree75150955bbbdb1de0bb058c621e88a9ed8d3811a /net/openslp
parent5cdb0997c4e223c0544b405cf068c5fbe009dbe9 (diff)
downloadpkgsrc-057a0160f206bd8414b7b3f82e1e4d7bd0ca2d61.tar.gz
added a hack that overcomes a problem with the IRIX 5.3 header files
Diffstat (limited to 'net/openslp')
-rw-r--r--net/openslp/hacks.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/openslp/hacks.mk b/net/openslp/hacks.mk
new file mode 100644
index 00000000000..86d0af577b8
--- /dev/null
+++ b/net/openslp/hacks.mk
@@ -0,0 +1,17 @@
+# $NetBSD: hacks.mk,v 1.1 2006/04/20 10:55:35 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