pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/teTeX3-bin added a hack to make teTeX3-bin compi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e0eb1efdb48
branches:  trunk
changeset: 518485:2e0eb1efdb48
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Sun Sep 10 19:56:03 2006 +0000

description:
added a hack to make teTeX3-bin compile on IRIX 5.3

diffstat:

 print/teTeX3-bin/hacks.mk |  17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diffs (21 lines):

diff -r fd6da8aab78c -r 2e0eb1efdb48 print/teTeX3-bin/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/teTeX3-bin/hacks.mk Sun Sep 10 19:56:03 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index