testing/graphviz: workaround sincos issue for x86_64

This commit is contained in:
Natanael Copa 2011-07-28 08:48:34 +00:00
parent 7057b6f8cd
commit 707686fb92

View File

@ -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
}