diff options
author | jperkin <jperkin> | 2016-02-25 13:37:46 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2016-02-25 13:37:46 +0000 |
commit | bccbbec8e7871e18da507540e2ffe289a27d8fc1 (patch) | |
tree | 94113be68a0bce10362d82772b0687bfd2945c82 /graphics/xv | |
parent | abcec90f962633389227323bac50622d4197860f (diff) | |
download | pkgsrc-bccbbec8e7871e18da507540e2ffe289a27d8fc1.tar.gz |
Use OPSYSVARS.
Diffstat (limited to 'graphics/xv')
-rw-r--r-- | graphics/xv/Makefile | 6 |
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 |