summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authortnn <tnn>2007-10-16 23:48:58 +0000
committertnn <tnn>2007-10-16 23:48:58 +0000
commit3b59682564cbc2467ee05d18fd888d19bad13868 (patch)
treeb29811eb6b46cc5f60ca30ac6cd4ef5482fa68eb /print
parent5353ea94f08028992ec2086c3b1ea7299957b4c5 (diff)
downloadpkgsrc-3b59682564cbc2467ee05d18fd888d19bad13868.tar.gz
Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead.
Diffstat (limited to 'print')
-rw-r--r--print/teTeX3-bin/hacks.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/print/teTeX3-bin/hacks.mk b/print/teTeX3-bin/hacks.mk
index aca12681c85..2c8203fd1ea 100644
--- a/print/teTeX3-bin/hacks.mk
+++ b/print/teTeX3-bin/hacks.mk
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.1 2006/09/10 19:56:03 schwarz Exp $
+# $NetBSD: hacks.mk,v 1.2 2007/10/16 23:48:59 tnn Exp $
.if !defined(TETEX3-BIN_HACKS_MK)
TETEX3-BIN_HACKS_MK= # defined
@@ -7,7 +7,7 @@ TETEX3-BIN_HACKS_MK= # defined
### make sys/types.h not conflict with inttypes.h
### (issue is specific to IRIX 5.3)
###
-.if ${LOWER_OPSYS} == "irix5.3"
+.if !empty(MACHINE_PLATFORM:MIRIX-5.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