media-radio/xlog: move patch for underlinking to src_prepare phase

Package-Manager: portage-2.2.26
This commit is contained in:
Thomas Beierlein
2015-12-27 17:08:05 +01:00
parent df28c46331
commit 923170efdf

View File

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