diff options
author | jdc <jdc@pkgsrc.org> | 2006-01-12 20:50:01 +0000 |
---|---|---|
committer | jdc <jdc@pkgsrc.org> | 2006-01-12 20:50:01 +0000 |
commit | d934fc2691836b2ca855c26d9fe05e4cea42b470 (patch) | |
tree | f82b2f6b8470ebba3de854a7e23c230b1b5d632d /games | |
parent | 31be5f39724b602081f183491ac77225f4cee1de (diff) | |
download | pkgsrc-d934fc2691836b2ca855c26d9fe05e4cea42b470.tar.gz |
Add a hack to work round an ICE with GCC 3.3 on sparc.
(As per the x11/qt3-tools hack.)
Diffstat (limited to 'games')
-rw-r--r-- | games/xmahjongg/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/games/xmahjongg/Makefile b/games/xmahjongg/Makefile index d82dd2e2294..ad03aefe6bf 100644 --- a/games/xmahjongg/Makefile +++ b/games/xmahjongg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2005/06/01 18:02:53 jlam Exp $ +# $NetBSD: Makefile,v 1.22 2006/01/12 20:50:01 jdc Exp $ # DISTNAME= xmahjongg-3.6.1 @@ -12,5 +12,11 @@ COMMENT= The Chinese game of Mah Jongg for X11 GNU_CONFIGURE= YES USE_LANGUAGES= c c++ +.include "../../mk/bsd.prefs.mk" +# XXX: hack - work round an ICE with GCC 3.3 on sparc +.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "sparc" +GCC_REQD+= 3.4 +.endif + .include "../../mk/x11.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |