From eaed60a96b2460a913fcb3aca5fef0233f9c441a Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Fri, 26 Dec 2014 08:57:57 +0000 Subject: x11-libs/qwt: Fix ebuild for USE=-mathml, #533480 (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!) --- x11-libs/qwt/ChangeLog | 5 ++++- x11-libs/qwt/qwt-6.1.2.ebuild | 10 ++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'x11-libs/qwt') diff --git a/x11-libs/qwt/ChangeLog b/x11-libs/qwt/ChangeLog index e349e4813e6c..a27b0df6ac5a 100644 --- a/x11-libs/qwt/ChangeLog +++ b/x11-libs/qwt/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-libs/qwt # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v 1.135 2014/12/24 09:46:26 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/ChangeLog,v 1.136 2014/12/26 08:57:57 jlec Exp $ + + 26 Dec 2014; Justin Lecher qwt-6.1.2.ebuild: + Fix ebuild for USE=-mathml, #533480 24 Dec 2014; Justin Lecher qwt-6.1.2.ebuild, files/qwt-6.1.1-pc-destdir.patch: diff --git a/x11-libs/qwt/qwt-6.1.2.ebuild b/x11-libs/qwt/qwt-6.1.2.ebuild index cc9a2c934d8e..c70ace618a00 100644 --- a/x11-libs/qwt/qwt-6.1.2.ebuild +++ b/x11-libs/qwt/qwt-6.1.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/qwt-6.1.2.ebuild,v 1.2 2014/12/24 09:46:26 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwt/qwt-6.1.2.ebuild,v 1.3 2014/12/26 08:57:57 jlec Exp $ EAPI=5 @@ -103,9 +103,11 @@ src_install () { rm -f doc/man/*/{_,deprecated}* || die multibuild_foreach_variant run_in_build_dir qt4-r2_src_install - sed \ - -e "s: -L${WORKDIR}.* -lqwt6: -lqwt6:g" \ - -i "${ED}"/usr/$(get_libdir)/pkgconfig/qwtmathml.pc || die + if use mathml; then + sed \ + -e "s: -L${WORKDIR}.* -lqwt6: -lqwt6:g" \ + -i "${ED}"/usr/$(get_libdir)/pkgconfig/qwtmathml.pc || die + fi use doc && dohtml -r doc/html/* -- cgit v1.2.3-65-gdbad