diff options
author | tnn <tnn@pkgsrc.org> | 2008-03-11 18:47:40 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-03-11 18:47:40 +0000 |
commit | 882d3eb4fe8c809807b4232f1e499c7b966f0fd1 (patch) | |
tree | 4ba809a4ee12e6e6894da2f50f8724926076e91f /graphics | |
parent | 35b1981bfd386a291c7a6a4e4a151d9dd92ccf7c (diff) | |
download | pkgsrc-882d3eb4fe8c809807b4232f1e499c7b966f0fd1.tar.gz |
Put back a couple of IRIX conditionals the way they used to behave,
e.g. match IRIX 5.x but not 6.x. Some of these may indeed apply to 6.x
too, but let's be conservative. PR pkg/38224.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/xpm/Makefile | 4 | ||||
-rw-r--r-- | graphics/xv/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/xpm/Makefile b/graphics/xpm/Makefile index f1438d74771..8e6d1ae1299 100644 --- a/graphics/xpm/Makefile +++ b/graphics/xpm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.59 2007/10/16 23:49:00 tnn Exp $ +# $NetBSD: Makefile,v 1.60 2008/03/11 18:47:40 tnn Exp $ DISTNAME= xpm-3.4k PKGREVISION= 7 @@ -19,7 +19,7 @@ USE_IMAKE= yes .include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "SunOS" || ${OPSYS} == "IRIX" +.if ${OPSYS} == "SunOS" || !empty(MACHINE_PLATFORM:MIRIX-5*) post-install: cd ${PREFIX}/lib && \ rm -f libXpm.so.4 && \ diff --git a/graphics/xv/Makefile b/graphics/xv/Makefile index 9b305a13f50..3c999325474 100644 --- a/graphics/xv/Makefile +++ b/graphics/xv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.72 2007/10/16 23:49:00 tnn Exp $ +# $NetBSD: Makefile,v 1.73 2008/03/11 18:47:40 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 ${OPSYS} == "IRIX" || ${OPSYS} == "SunOS" +.if ${OPSYS} == "SunOS" || !empty(MACHINE_PLATFORM:MIRIX-5*) CPPFLAGS+= -DNEED_ALLOCA_H .endif |