summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2015-10-04 10:15:57 -0400
committerIan Stakenvicius <axs@gentoo.org>2015-10-04 10:31:54 -0400
commit66cb7efcecc1ab67f5b64528ba251805656bcec4 (patch)
tree7334be5001bbd384c22ada5222308d6b42217e9c /dev-libs/libindicator/libindicator-12.10.1-r301.ebuild
parentsys-kernel/hardened-sources: remove older stable version. (diff)
downloadgentoo-66cb7efcecc1ab67f5b64528ba251805656bcec4.tar.gz
gentoo-66cb7efcecc1ab67f5b64528ba251805656bcec4.tar.bz2
gentoo-66cb7efcecc1ab67f5b64528ba251805656bcec4.zip
dev-libs/libindicator: add missing whitespace before -lm
When dev-util/pkgconfig-0.29 is in use, the _LIBS output of a PKG_CHECK* does not have a trailing space assigned. This causes the link flags to contain a "-lglib-2.0-lm" assignment as $LIBM was appended to $LIBINDICATOR_LIBS without any whitespace separation. This commit adds the necessary whitespace. Fixes bug 545334
Diffstat (limited to 'dev-libs/libindicator/libindicator-12.10.1-r301.ebuild')
-rw-r--r--dev-libs/libindicator/libindicator-12.10.1-r301.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-libs/libindicator/libindicator-12.10.1-r301.ebuild b/dev-libs/libindicator/libindicator-12.10.1-r301.ebuild
index 430052479f80..d28de0187cf3 100644
--- a/dev-libs/libindicator/libindicator-12.10.1-r301.ebuild
+++ b/dev-libs/libindicator/libindicator-12.10.1-r301.ebuild
@@ -3,7 +3,7 @@
# $Id$
EAPI=5
-inherit eutils flag-o-matic virtualx multilib-minimal
+inherit autotools eutils flag-o-matic virtualx multilib-minimal
DESCRIPTION="A set of symbols and convience functions that all indicators would like to use"
HOMEPAGE="https://launchpad.net/libindicator"
@@ -20,6 +20,11 @@ DEPEND="${RDEPEND}
virtual/pkgconfig[${MULTILIB_USEDEP}]
test? ( dev-util/dbus-test-runner )"
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-ldflags-spacing.patch
+ eautoreconf
+}
+
multilib_src_configure() {
append-flags -Wno-error