pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/xmahjongg Add a hack to work round an ICE with G...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c4de3232c3a7
branches:  trunk
changeset: 506191:c4de3232c3a7
user:      jdc <jdc%pkgsrc.org@localhost>
date:      Thu Jan 12 20:50:01 2006 +0000

description:
Add a hack to work round an ICE with GCC 3.3 on sparc.
(As per the x11/qt3-tools hack.)

diffstat:

 games/xmahjongg/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r a3418d935b19 -r c4de3232c3a7 games/xmahjongg/Makefile
--- a/games/xmahjongg/Makefile  Thu Jan 12 20:49:17 2006 +0000
+++ b/games/xmahjongg/Makefile  Thu Jan 12 20:50:01 2006 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index