summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-05-12 04:08:05 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-05-12 04:08:05 +0000
commit58f914d1d96b85118a69fe8caf3c27e7c66deb31 (patch)
tree022a878fb6e08b16be25cab36867613ac6dc46eb /media-gfx/graphviz
parentadd acomment asking not to add a changelog entry (diff)
downloadgentoo-2-58f914d1d96b85118a69fe8caf3c27e7c66deb31.tar.gz
gentoo-2-58f914d1d96b85118a69fe8caf3c27e7c66deb31.tar.bz2
gentoo-2-58f914d1d96b85118a69fe8caf3c27e7c66deb31.zip
add workaround to build on FreeBSD and keyword ~amd64-fbsd
(Portage version: 2.2.0_alpha103/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/graphviz')
-rw-r--r--media-gfx/graphviz/ChangeLog5
-rw-r--r--media-gfx/graphviz/graphviz-2.26.3-r4.ebuild11
2 files changed, 11 insertions, 5 deletions
diff --git a/media-gfx/graphviz/ChangeLog b/media-gfx/graphviz/ChangeLog
index 8c2477877cca..9ee7747a0b7e 100644
--- a/media-gfx/graphviz/ChangeLog
+++ b/media-gfx/graphviz/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/graphviz
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.243 2012/05/05 07:00:24 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.244 2012/05/12 04:08:05 aballier Exp $
+
+ 12 May 2012; Alexis Ballier <aballier@gentoo.org> graphviz-2.26.3-r4.ebuild:
+ add workaround to build on FreeBSD and keyword ~amd64-fbsd
05 May 2012; Jeff Horelick <jdhore@gentoo.org> graphviz-2.26.3-r2.ebuild,
graphviz-2.26.3-r3.ebuild, graphviz-2.26.3-r4.ebuild:
diff --git a/media-gfx/graphviz/graphviz-2.26.3-r4.ebuild b/media-gfx/graphviz/graphviz-2.26.3-r4.ebuild
index a39752c8ab00..a82827766713 100644
--- a/media-gfx/graphviz/graphviz-2.26.3-r4.ebuild
+++ b/media-gfx/graphviz/graphviz-2.26.3-r4.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.26.3-r4.ebuild,v 1.3 2012/05/05 07:00:24 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.26.3-r4.ebuild,v 1.4 2012/05/12 04:08:05 aballier Exp $
EAPI=3
PYTHON_DEPEND="python? 2"
-inherit eutils autotools multilib python
+inherit eutils autotools multilib python flag-o-matic
DESCRIPTION="Open Source Graph Visualization Software"
HOMEPAGE="http://www.graphviz.org/"
@@ -13,8 +13,8 @@ SRC_URI="http://www.graphviz.org/pub/graphviz/ARCHIVE/${P}.tar.gz"
LICENSE="CPL-1.0"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
-IUSE="cairo doc examples gtk java lasi nls perl python ruby static-libs tcl"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
+IUSE="cairo doc examples gtk java lasi nls perl python ruby static-libs tcl elibc_FreeBSD"
# Requires ksh
RESTRICT="test"
@@ -138,6 +138,9 @@ src_prepare() {
# replace the whitespace with tabs
sed -i -e 's: :\t:g' doc/info/Makefile.am || die
+ # workaround for http://www.graphviz.org/mantisbt/view.php?id=1895
+ use elibc_FreeBSD && append-flags $(test-flags -fno-builtin-sincos)
+
eautoreconf
}