pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/glew glew: Fix SunOS/clang compiler selection.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/50258f4d910c
branches:  trunk
changeset: 374788:50258f4d910c
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Jan 29 12:58:44 2018 +0000

description:
glew: Fix SunOS/clang compiler selection.

diffstat:

 graphics/glew/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 816ed9cc946f -r 50258f4d910c graphics/glew/Makefile
--- a/graphics/glew/Makefile    Mon Jan 29 12:47:08 2018 +0000
+++ b/graphics/glew/Makefile    Mon Jan 29 12:58:44 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2015/08/12 10:52:48 adam Exp $
+# $NetBSD: Makefile,v 1.21 2018/01/29 12:58:44 jperkin Exp $
 
 DISTNAME=      glew-1.13.0
 CATEGORIES=    graphics
@@ -19,8 +19,8 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${OPSYS} == "SunOS" && !empty(CC:M*gcc*)
-MAKEFLAGS+=    SYSTEM=solaris-gcc
+.if !empty(PKGSRC_COMPILER:Mgcc) || !empty(PKGSRC_COMPILER:Mclang)
+MAKE_ENV.SunOS+=       SYSTEM=solaris-gcc
 .endif
 
 .if ${OPSYS} != "Darwin"



Home | Main Index | Thread Index | Old Index