summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2015-12-27 17:08:05 +0100
committerThomas Beierlein <tomjbe@gentoo.org>2015-12-27 17:08:05 +0100
commit923170efdfe332bfa14c227f118b6e237ba09974 (patch)
treec4b74ed95f22ceaae6c1559f8c774950a7ab6a1e /media-radio/xlog
parentmedia-radio/xlog: Fix underlinking (missing -lm) (diff)
downloadgentoo-923170efdfe332bfa14c227f118b6e237ba09974.tar.gz
gentoo-923170efdfe332bfa14c227f118b6e237ba09974.tar.bz2
gentoo-923170efdfe332bfa14c227f118b6e237ba09974.zip
media-radio/xlog: move patch for underlinking to src_prepare phase
Package-Manager: portage-2.2.26
Diffstat (limited to 'media-radio/xlog')
-rw-r--r--media-radio/xlog/xlog-2.0.13.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/media-radio/xlog/xlog-2.0.13.ebuild b/media-radio/xlog/xlog-2.0.13.ebuild
index 1e6dbcdd5075..383c4074d716 100644
--- a/media-radio/xlog/xlog-2.0.13.ebuild
+++ b/media-radio/xlog/xlog-2.0.13.ebuild
@@ -32,13 +32,12 @@ src_prepare() {
epatch "${FILESDIR}/${PN}-2.0.13-desktop-update.patch"
# Drop -Werror
sed -i -e "s:-Werror::" configure.ac || die
+ # fix underlinking
+ sed -i -e "s:HAMLIB_LIBS@:HAMLIB_LIBS@ -lm:g" src/Makefile.am || die
eautoreconf
}
src_configure() {
- # fix underlinking
- sed -i -e "s:HAMLIB_LIBS@:HAMLIB_LIBS@ -lm:g" src/Makefile.am || die
- eautoreconf
# mime-update causes file collisions if enabled
econf --disable-mime-update --disable-desktop-update \
--docdir=/usr/share/doc/${PF}