summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"