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
This commit is contained in:
Ian Stakenvicius
2015-10-04 10:15:57 -04:00
parent add62746b1
commit 66cb7efcec
7 changed files with 47 additions and 6 deletions

View File

@@ -0,0 +1,11 @@
--- a/configure.ac 2012-07-11 14:07:33.167169453 -0400
+++ b/configure.ac 2015-10-04 09:59:31.023669616 -0400
@@ -66,7 +66,7 @@
AM_CONDITIONAL(USE_GTK3, [test "x$with_gtk" = x3])
LT_LIB_M
-LIBINDICATOR_LIBS+="$LIBM"
+LIBINDICATOR_LIBS+=" $LIBM"
##############################
# Custom Junk

View File

@@ -3,7 +3,7 @@
# $Id$
EAPI=4
inherit eutils flag-o-matic virtualx
inherit autotools eutils flag-o-matic virtualx
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
test? ( dev-util/dbus-test-runner )"
src_prepare() {
epatch "${FILESDIR}"/${PN}-ldflags-spacing.patch
eautoreconf
}
src_configure() {
append-flags -Wno-error

View File

@@ -3,7 +3,7 @@
# $Id$
EAPI=4
inherit eutils flag-o-matic virtualx
inherit autotools eutils flag-o-matic virtualx
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
test? ( dev-util/dbus-test-runner )"
src_prepare() {
epatch "${FILESDIR}"/${PN}-ldflags-spacing.patch
eautoreconf
}
src_configure() {
append-flags -Wno-error

View File

@@ -3,7 +3,7 @@
# $Id$
EAPI=4
inherit eutils flag-o-matic virtualx
inherit autotools eutils flag-o-matic virtualx
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
test? ( dev-util/dbus-test-runner )"
src_prepare() {
epatch "${FILESDIR}"/${PN}-ldflags-spacing.patch
eautoreconf
}
src_configure() {
append-flags -Wno-error

View File

@@ -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

View File

@@ -3,7 +3,7 @@
# $Id$
EAPI=4
inherit eutils flag-o-matic virtualx
inherit autotools eutils flag-o-matic virtualx
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
test? ( dev-util/dbus-test-runner )"
src_prepare() {
epatch "${FILESDIR}"/${PN}-ldflags-spacing.patch
eautoreconf
}
src_configure() {
append-flags -Wno-error

View File

@@ -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