summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-03-21 18:20:52 +0000
committerhans <hans@pkgsrc.org>2012-03-21 18:20:52 +0000
commitae4950acbec64eb4104006840580f7270219050e (patch)
tree97493db5175e3878544eb59724f0ea05c598c29d /graphics
parentd07c2d7896b601e7be3b2ef9955c91093b807891 (diff)
downloadpkgsrc-ae4950acbec64eb4104006840580f7270219050e.tar.gz
Make sure that the solaris-gcc makefile is used when necessary.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/glew/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/glew/Makefile b/graphics/glew/Makefile
index 68ae4b1fad0..eab765e9c1d 100644
--- a/graphics/glew/Makefile
+++ b/graphics/glew/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2011/07/13 19:47:38 adam Exp $
+# $NetBSD: Makefile,v 1.13 2012/03/21 18:20:52 hans Exp $
DISTNAME= glew-1.6.0
CATEGORIES= graphics
@@ -25,6 +25,11 @@ post-patch:
${LN} -s Makefile.netbsdelf ${WRKSRC}/config/Makefile.netbsd
.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS" && !empty(CC:M*gcc*)
+MAKE_ENV+= SYSTEM=solaris-gcc
+.endif
+
.if ${OPSYS} != "Darwin"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"