From f6e26041a59216fbf3d2014f23fb716896cd71e6 Mon Sep 17 00:00:00 2001 From: schwarz Date: Fri, 14 Apr 2006 21:13:10 +0000 Subject: added a hack to work around the conflict of sys/types.h and inttypes.h on IRIX 5.3. --- converters/libiconv/hacks.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 converters/libiconv/hacks.mk diff --git a/converters/libiconv/hacks.mk b/converters/libiconv/hacks.mk new file mode 100644 index 00000000000..f159dfdbd5b --- /dev/null +++ b/converters/libiconv/hacks.mk @@ -0,0 +1,17 @@ +# $NetBSD: hacks.mk,v 1.1 2006/04/14 21:13:10 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 -- cgit v1.2.3