pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/Coin Turn off optimization as a workaround fo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d7e1e9cfa0d1
branches:  trunk
changeset: 509933:d7e1e9cfa0d1
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Mar 19 20:06:05 2006 +0000

description:
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:

 graphics/Coin/Makefile |   4 +---
 graphics/Coin/hacks.mk |  16 ++++++++++++++++
 2 files changed, 17 insertions(+), 3 deletions(-)

diffs (38 lines):

diff -r 45c3283c0dd0 -r d7e1e9cfa0d1 graphics/Coin/Makefile
--- a/graphics/Coin/Makefile    Sun Mar 19 16:54:35 2006 +0000
+++ b/graphics/Coin/Makefile    Sun Mar 19 20:06:05 2006 +0000
@@ -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 @@
 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 -r 45c3283c0dd0 -r d7e1e9cfa0d1 graphics/Coin/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/Coin/hacks.mk    Sun Mar 19 20:06:05 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index