summaryrefslogtreecommitdiff
path: root/graphics/netpbm
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2007-10-16 23:48:58 +0000
committertnn <tnn@pkgsrc.org>2007-10-16 23:48:58 +0000
commit24d5b5440929de9526a6f56e677b8849f624fc21 (patch)
treeb29811eb6b46cc5f60ca30ac6cd4ef5482fa68eb /graphics/netpbm
parent0d22d43b0025cb69d33a7dfeec038c71e05ef3e9 (diff)
downloadpkgsrc-24d5b5440929de9526a6f56e677b8849f624fc21.tar.gz
Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead.
Diffstat (limited to 'graphics/netpbm')
-rw-r--r--graphics/netpbm/hacks.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/netpbm/hacks.mk b/graphics/netpbm/hacks.mk
index 852083087aa..f4ea4ef62b7 100644
--- a/graphics/netpbm/hacks.mk
+++ b/graphics/netpbm/hacks.mk
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.5 2006/04/03 16:39:04 tron Exp $
+# $NetBSD: hacks.mk,v 1.6 2007/10/16 23:48:59 tnn Exp $
.if !defined(NETPBM_HACKS_MK)
NETPBM_HACKS_MK= # defined
@@ -27,7 +27,7 @@ MAKE_FLAGS+= INTTYPES_H='<sys/types.h>'
### 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