summaryrefslogtreecommitdiff
path: root/graphics/tgif
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2007-01-15 23:04:24 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2007-01-15 23:04:24 +0000
commit9f83b882fe5d79cb94d244a32a50b6b204e0fe73 (patch)
tree3e10c35f82db9337d2e7a823f02199b0e48fc3b2 /graphics/tgif
parent35e31b4b643db3af84a284365f8534ce2ff47863 (diff)
downloadpkgsrc-9f83b882fe5d79cb94d244a32a50b6b204e0fe73.tar.gz
turn off optimization with sunpro to get this to build
Diffstat (limited to 'graphics/tgif')
-rw-r--r--graphics/tgif/hacks.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/tgif/hacks.mk b/graphics/tgif/hacks.mk
new file mode 100644
index 00000000000..249e98063e9
--- /dev/null
+++ b/graphics/tgif/hacks.mk
@@ -0,0 +1,21 @@
+# $Id: hacks.mk,v 1.1 2007/01/15 23:04:24 dmcmahill Exp $
+
+.if !defined(FOO_TGIF_MK)
+TGIF_HACKS_MK= defined
+
+### [Mon Jan 15 17:44:27 EST 2007 : dmcmahill]
+### Sunpro cc (Sun C 5.8 2005/10/13) on SunOS-5.9/sparc
+### src/arc.c
+###
+### cc: Fatal error in /opt/SUNWspro/prod/bin/iropt
+### Status 139
+### cc: iropt failed for arc.c
+###
+### Work around by not optimizing
+
+.if !empty(PKGSRC_COMPILER:Msunpro)
+PKG_HACKS+= optimisation
+BUILDLINK_TRANSFORM+= rm:-O2
+.endif
+
+.endif # TGIF_HACKS_MK