summaryrefslogtreecommitdiff
path: root/graphics/xpm
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/xpm
parent0d22d43b0025cb69d33a7dfeec038c71e05ef3e9 (diff)
downloadpkgsrc-24d5b5440929de9526a6f56e677b8849f624fc21.tar.gz
Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead.
Diffstat (limited to 'graphics/xpm')
-rw-r--r--graphics/xpm/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/xpm/Makefile b/graphics/xpm/Makefile
index fb3a6306b3d..f1438d74771 100644
--- a/graphics/xpm/Makefile
+++ b/graphics/xpm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2007/09/25 10:03:53 hira Exp $
+# $NetBSD: Makefile,v 1.59 2007/10/16 23:49:00 tnn Exp $
DISTNAME= xpm-3.4k
PKGREVISION= 7
@@ -19,14 +19,14 @@ USE_IMAKE= yes
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "SunOS" || !empty(LOWER_OPSYS:Mirix5*)
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "IRIX"
post-install:
cd ${PREFIX}/lib && \
rm -f libXpm.so.4 && \
ln -s libXpm.so.4.11 libXpm.so.4
.endif
-.if !empty(LOWER_OPSYS:Mirix5*)
+.if ${OPSYS} == "IRIX"
SUBST_CLASSES+= sodots
SUBST_STAGE.sodots= post-configure
SUBST_FILES.sodots= lib/Makefile