commit:     21f168dbd2fcd361280f0312a536faf0c18ad3df
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 20 14:29:22 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Dec 20 14:33:32 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21f168db

media-gfx/graphviz: use correct version of qmake

Gentoo-bug: 567236

Package-Manager: portage-2.2.26

 media-gfx/graphviz/graphviz-2.38.0-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/media-gfx/graphviz/graphviz-2.38.0-r1.ebuild 
b/media-gfx/graphviz/graphviz-2.38.0-r1.ebuild
index d9fb22a..440ffbf 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)
 

Reply via email to