summaryrefslogtreecommitdiff
path: root/devel/pango
diff options
context:
space:
mode:
authortron <tron>2009-10-22 19:54:03 +0000
committertron <tron>2009-10-22 19:54:03 +0000
commitf2560e10ef9392bda9712f276bcab52fd6d8ccb3 (patch)
treec8b18ad93d46f146ade21cef889ff076fb900ec6 /devel/pango
parent3fa645bce3d3fbe817a6c250ed69d1cd59999c3c (diff)
downloadpkgsrc-f2560e10ef9392bda9712f276bcab52fd6d8ccb3.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/pango')
-rw-r--r--devel/pango/Makefile3
-rw-r--r--devel/pango/hacks.mk14
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