summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-12-21 01:29:22 +1100
committerMichael Palimaka <kensington@gentoo.org>2015-12-21 01:33:32 +1100
commit21f168dbd2fcd361280f0312a536faf0c18ad3df (patch)
tree6bc014e46109349593def8e4e49ef568cbe96f0b /media-gfx/graphviz
parentapp-emacs/ebuild-mode: Remove old. (diff)
downloadgentoo-21f168dbd2fcd361280f0312a536faf0c18ad3df.tar.gz
gentoo-21f168dbd2fcd361280f0312a536faf0c18ad3df.tar.bz2
gentoo-21f168dbd2fcd361280f0312a536faf0c18ad3df.zip
media-gfx/graphviz: use correct version of qmake
Gentoo-bug: 567236 Package-Manager: portage-2.2.26
Diffstat (limited to 'media-gfx/graphviz')
-rw-r--r--media-gfx/graphviz/graphviz-2.38.0-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/media-gfx/graphviz/graphviz-2.38.0-r1.ebuild b/media-gfx/graphviz/graphviz-2.38.0-r1.ebuild
index d9fb22ac7865..440ffbf5d34f 100644
--- a/media-gfx/graphviz/graphviz-2.38.0-r1.ebuild
+++ b/media-gfx/graphviz/graphviz-2.38.0-r1.ebuild
@@ -5,7 +5,7 @@
EAPI=5
PYTHON_COMPAT=( python2_7 )
-inherit autotools eutils flag-o-matic java-pkg-opt-2 multilib python-single-r1
+inherit autotools eutils flag-o-matic java-pkg-opt-2 multilib python-single-r1 qmake-utils
DESCRIPTION="Open Source Graph Visualization Software"
HOMEPAGE="http://www.graphviz.org/"
@@ -166,6 +166,9 @@ src_prepare() {
# replace the whitespace with tabs
sed -i -e 's: :\t:g' doc/info/Makefile.am || die
+ # use correct version of qmake. bug #567236
+ sed -i -e "/AC_CHECK_PROGS(QMAKE/a AC_SUBST(QMAKE,$(qt4_get_bindir)/qmake)" configure.ac || die
+
# workaround for http://www.graphviz.org/mantisbt/view.php?id=1895
use elibc_FreeBSD && append-flags $(test-flags -fno-builtin-sincos)