summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/GraphicsMagick/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/graphics/GraphicsMagick/Makefile b/graphics/GraphicsMagick/Makefile
index b5b53913600..18bdf7c0915 100644
--- a/graphics/GraphicsMagick/Makefile
+++ b/graphics/GraphicsMagick/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.66 2014/05/29 23:36:36 wiz Exp $
+# $NetBSD: Makefile,v 1.67 2014/08/14 10:28:28 jperkin Exp $
.include "Makefile.common"
-PKGREVISION= 2
+PKGREVISION= 3
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.graphicsmagick.org/
@@ -32,6 +32,13 @@ TEST_TARGET= check
FIND_PREFIX:= URW_FONTS_DIR=urw-fonts
.include "../../mk/find-prefix.mk"
+# Gain 2-3X speedup by working around GCC optimisation bug
+# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53967
+.include "../../mk/compiler.mk"
+.if !empty(CC_VERSION:Mgcc-4.*) && ${MACHINE_ARCH} == "x86_64"
+CFLAGS+= -frename-registers
+.endif
+
.include "options.mk"
.include "../../devel/libltdl/buildlink3.mk"