summaryrefslogtreecommitdiff
path: root/games/xmahjongg
diff options
context:
space:
mode:
authorjdc <jdc@pkgsrc.org>2006-01-12 20:50:01 +0000
committerjdc <jdc@pkgsrc.org>2006-01-12 20:50:01 +0000
commit3960c7b1d27863cd3b8c30b75aabfac8323116d5 (patch)
treef82b2f6b8470ebba3de854a7e23c230b1b5d632d /games/xmahjongg
parent891f730cbf2b5e206d8a096fda6f581b7c4f1aa0 (diff)
downloadpkgsrc-3960c7b1d27863cd3b8c30b75aabfac8323116d5.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/xmahjongg')
-rw-r--r--games/xmahjongg/Makefile8
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"