summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2005-09-08 16:24:15 +0000
committerschmonz <schmonz@pkgsrc.org>2005-09-08 16:24:15 +0000
commit818679396490ec6511c500da54e1303f293c4582 (patch)
tree00081c56e9297ce5ea4f5414de7c54e54297e0f0
parent5967b700f591678fc6a011c368880576f71a91e9 (diff)
downloadpkgsrc-818679396490ec6511c500da54e1303f293c4582.tar.gz
Move the sparc-gcc33-ice hack into hacks.mk.
-rw-r--r--audio/arts/Makefile7
-rw-r--r--audio/arts/hacks.mk9
2 files changed, 10 insertions, 6 deletions
diff --git a/audio/arts/Makefile b/audio/arts/Makefile
index efc064cab4e..055f7d98f42 100644
--- a/audio/arts/Makefile
+++ b/audio/arts/Makefile
@@ -1,15 +1,10 @@
-# $NetBSD: Makefile,v 1.47 2005/09/08 15:51:40 jdc Exp $
+# $NetBSD: Makefile,v 1.48 2005/09/08 16:24:15 schmonz Exp $
DISTNAME= arts-1.4.2
CATEGORIES= audio
HOMEPAGE= http://www.kde.org/areas/multimedia/
COMMENT= Analog Real-Time Synthesizer
-# XXX: hack - work round an ICE with GCC 3.3 on sparc
-.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "sparc"
-GCC_REQD+= 3.4
-.endif
-
.include "../../meta-pkgs/kde3/Makefile.kde3"
CONFLICTS+= kdelibs-2*
diff --git a/audio/arts/hacks.mk b/audio/arts/hacks.mk
new file mode 100644
index 00000000000..bb2b1ab42a0
--- /dev/null
+++ b/audio/arts/hacks.mk
@@ -0,0 +1,9 @@
+$NetBSD: hacks.mk,v 1.1 2005/09/08 16:24:15 schmonz Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+# Work round an ICE with GCC 3.3 on sparc
+.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "sparc"
+PKG_HACKS+= sparc-gcc33-ice
+GCC_REQD+= 3.4
+.endif