summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/Coin/Makefile4
-rw-r--r--graphics/Coin/hacks.mk16
2 files changed, 17 insertions, 3 deletions
diff --git a/graphics/Coin/Makefile b/graphics/Coin/Makefile
index 991f0906db7..8067e1b25e8 100644
--- a/graphics/Coin/Makefile
+++ b/graphics/Coin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2006/03/04 21:29:45 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2006/03/19 20:06:05 minskim Exp $
DISTNAME= Coin-2.4.4
PKGREVISION= 1
@@ -9,8 +9,6 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.coin3d.org/
COMMENT= Free, portable, Open Inventor API implementation
-BROKEN_IN= pkgsrc-2005Q4
-
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-3ds-import
CONFIGURE_ARGS+= --disable-debug
diff --git a/graphics/Coin/hacks.mk b/graphics/Coin/hacks.mk
new file mode 100644
index 00000000000..dd57f1c7afa
--- /dev/null
+++ b/graphics/Coin/hacks.mk
@@ -0,0 +1,16 @@
+# $NetBSD: hacks.mk,v 1.1 2006/03/19 20:06:05 minskim Exp $
+
+.if !defined(COIN_HACKS_MK)
+COIN_HACKS_MK= defined
+
+###
+### Compiling Coin on NetBSD with optimization causes an internal
+### compiler error. This is a workaround for PR toolchain/33097.
+### Not sure if other platforms have the same issue.
+###
+.if ${OPSYS} == "NetBSD"
+PKG_HACKS+= optimization
+BUILDLINK_TRANSFORM+= rm:-O[0-9]*
+.endif
+
+.endif # COIN_HACKS_MK