diff options
author | tron <tron@pkgsrc.org> | 2009-10-22 19:54:03 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2009-10-22 19:54:03 +0000 |
commit | 03cb5dc3b92b932be0ab952cd25c91e55a1aada2 (patch) | |
tree | c8b18ad93d46f146ade21cef889ff076fb900ec6 /devel | |
parent | 008bdc4d3ea051044e33018041dbaa1d2d536151 (diff) | |
download | pkgsrc-03cb5dc3b92b932be0ab952cd25c91e55a1aada2.tar.gz |
Switch compiler optimisation off under Mac OS X to stop GTK+ applications
from entering a busy loop on startup. Bump package revision as the package
previously built fine but didn't work.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/pango/Makefile | 3 | ||||
-rw-r--r-- | devel/pango/hacks.mk | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/devel/pango/Makefile b/devel/pango/Makefile index 9da26dbc372..34d4ac5a5c6 100644 --- a/devel/pango/Makefile +++ b/devel/pango/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.134 2009/10/21 15:42:18 drochner Exp $ +# $NetBSD: Makefile,v 1.135 2009/10/22 19:54:03 tron Exp $ DISTNAME= pango-1.26.0 +PKGREVISION= 1 CATEGORIES= devel fonts MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pango/1.26/} EXTRACT_SUFX= .tar.bz2 diff --git a/devel/pango/hacks.mk b/devel/pango/hacks.mk new file mode 100644 index 00000000000..2ce71eeb15c --- /dev/null +++ b/devel/pango/hacks.mk @@ -0,0 +1,14 @@ +# $NetBSD: hacks.mk,v 1.1 2009/10/22 19:54:03 tron Exp $ + +.if !defined(PANGO_HACKS_MK) +PANGO_HACKS_MK= # defined + +# Avoid high CPU usage caused by code generaton problems in Apple's G++. +# Please look here for details: +# https://bugzilla.gnome.org/show_bug.cgi?id=593240 + +. if ${OPSYS} == "Darwin" +PKG_HACKS+= darwin-pango-code-gen-bug +CFLAGS= -pipe -O0 -g +. endif +.endif |