diff options
author | hans <hans> | 2012-03-21 18:20:52 +0000 |
---|---|---|
committer | hans <hans> | 2012-03-21 18:20:52 +0000 |
commit | c0955d4ec38ce48075dd67b671531905b79e3275 (patch) | |
tree | 97493db5175e3878544eb59724f0ea05c598c29d /graphics | |
parent | 030dbac60bc2180c79bb6718f72f7a43b8d4657e (diff) | |
download | pkgsrc-c0955d4ec38ce48075dd67b671531905b79e3275.tar.gz |
Make sure that the solaris-gcc makefile is used when necessary.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/glew/Makefile | 7 |
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" |