summaryrefslogtreecommitdiff
path: root/graphics/xv
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/xv
parent0d22d43b0025cb69d33a7dfeec038c71e05ef3e9 (diff)
downloadpkgsrc-24d5b5440929de9526a6f56e677b8849f624fc21.tar.gz
Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead.
Diffstat (limited to 'graphics/xv')
-rw-r--r--graphics/xv/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/xv/Makefile b/graphics/xv/Makefile
index 9a18ce7d528..9b305a13f50 100644
--- a/graphics/xv/Makefile
+++ b/graphics/xv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2007/07/27 23:42:17 joerg Exp $
+# $NetBSD: Makefile,v 1.72 2007/10/16 23:49:00 tnn Exp $
DISTNAME= xv-3.10a
PKGREVISION= 13
@@ -51,7 +51,7 @@ SUBST_STAGE.ccflags= post-configure
SUBST_MESSAGE.ccflags= Fixing compiler flags for Solaris.
.endif
-.if !empty(LOWER_OPSYS:Mirix5*) || !empty(LOWER_OPSYS:Msolaris*)
+.if ${OPSYS} == "IRIX" || ${OPSYS} == "SunOS"
CPPFLAGS+= -DNEED_ALLOCA_H
.endif