From d651396de7a63b53a6cf9ba037179d5aa96f9c84 Mon Sep 17 00:00:00 2001 From: minskim Date: Sun, 19 Mar 2006 20:06:05 +0000 Subject: 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. --- graphics/Coin/Makefile | 4 +--- graphics/Coin/hacks.mk | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 graphics/Coin/hacks.mk (limited to 'graphics') 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 -- cgit v1.2.3