pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/glew



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Jan 29 12:58:44 UTC 2018

Modified Files:
        pkgsrc/graphics/glew: Makefile

Log Message:
glew: Fix SunOS/clang compiler selection.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/graphics/glew/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/glew/Makefile
diff -u pkgsrc/graphics/glew/Makefile:1.20 pkgsrc/graphics/glew/Makefile:1.21
--- pkgsrc/graphics/glew/Makefile:1.20  Wed Aug 12 10:52:48 2015
+++ pkgsrc/graphics/glew/Makefile       Mon Jan 29 12:58:44 2018
@@ -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 @@ INSTALLATION_DIRS+=   lib/pkgconfig
 
 .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