summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorhans <hans>2012-03-21 18:20:52 +0000
committerhans <hans>2012-03-21 18:20:52 +0000
commit3c88b3cbb352b039a45701d3ddb7ce698b27fac1 (patch)
tree97493db5175e3878544eb59724f0ea05c598c29d /graphics
parent2d8e0a2d60c1d639e6444938e1253f3b01cb8b23 (diff)
downloadpkgsrc-3c88b3cbb352b039a45701d3ddb7ce698b27fac1.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"