From 707686fb92ef0923042409d385e760dfb67facd6 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 28 Jul 2011 08:48:34 +0000 Subject: testing/graphviz: workaround sincos issue for x86_64 --- testing/graphviz/APKBUILD | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'testing/graphviz') diff --git a/testing/graphviz/APKBUILD b/testing/graphviz/APKBUILD index 78ba6b1974..7df365b0ed 100644 --- a/testing/graphviz/APKBUILD +++ b/testing/graphviz/APKBUILD @@ -5,7 +5,7 @@ pkgver=2.28.0 pkgrel=0 pkgdesc="Graph Visualization Tools" url="http://www.graphviz.org/" -arch="x86" +arch="all" license="EPL" depends="" depends_dev="zlib-dev libpng-dev jpeg-dev expat-dev freetype-dev bison m4 flex @@ -44,6 +44,10 @@ build() { --with-png \ --with-jpeg \ || return 1 + if [ "$CARCH" = "x86_64" ]; then + # the configure script thinks we have sincos. we dont. + sed -i -e '/HAVE_SINCOS/d' config.h || return 1 + fi make || return 1 } -- cgit v1.2.3