summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorminskim <minskim>2006-03-19 20:06:05 +0000
committerminskim <minskim>2006-03-19 20:06:05 +0000
commitd651396de7a63b53a6cf9ba037179d5aa96f9c84 (patch)
tree56f2ba31516bdf9d95915226fd7ae141bdfa2eb8 /graphics
parente85b28aabca054c69ae307f8b172b1e41de4d6d7 (diff)
downloadpkgsrc-d651396de7a63b53a6cf9ba037179d5aa96f9c84.tar.gz
Turn off optimization as a workaround for PR toolchain/33097. No PKGREVSION
bump because this package has never built in bulk-builds since the last bump. Remove BROKEN_IN.
Diffstat (limited to 'graphics')
-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