summaryrefslogtreecommitdiff
path: root/graphics/xv
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xv')
-rw-r--r--graphics/xv/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/xv/Makefile b/graphics/xv/Makefile
index cde4e2b50d4..30bfa48a1e5 100644
--- a/graphics/xv/Makefile
+++ b/graphics/xv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.88 2015/11/22 19:17:01 tsutsui Exp $
+# $NetBSD: Makefile,v 1.89 2016/02/25 13:37:48 jperkin Exp $
DISTNAME= xv-3.10a
PKGREVISION= 22
@@ -44,15 +44,13 @@ INSTALLATION_DIRS+= share/doc/xv
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "SunOS"
-SUBST_CLASSES+= ccflags
+SUBST_CLASSES.SunOS+= ccflags
SUBST_FILES.ccflags= Makefile
SUBST_SED.ccflags= -e 's| CC = .*| CC = ${CC:Q}|'
SUBST_SED.ccflags+= -e 's| CCOPTIONS = .*| CCOPTIONS = ${CFLAGS:Q}|'
SUBST_SED.ccflags+= -e 's| CDEBUGFLAGS = .*| CDEBUGFLAGS =|'
SUBST_STAGE.ccflags= post-configure
SUBST_MESSAGE.ccflags= Fixing compiler flags for Solaris.
-.endif
.if ${OPSYS} == "SunOS" || !empty(MACHINE_PLATFORM:MIRIX-5*)
CPPFLAGS+= -DNEED_ALLOCA_H