summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-05-22 23:17:34 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2016-05-22 23:17:43 +0100
commit448729f6b3a2484a681d00bccbeece0e24fd7ca5 (patch)
tree7409d23b67dfab6627a6179c07df101931e7825d /media-libs
parentrebar.eclass: Build Erlang/OTP projects using dev-util/rebar (diff)
downloadgentoo-448729f6b3a2484a681d00bccbeece0e24fd7ca5.tar.gz
gentoo-448729f6b3a2484a681d00bccbeece0e24fd7ca5.tar.bz2
gentoo-448729f6b3a2484a681d00bccbeece0e24fd7ca5.zip
media-libs/alsa-lib: tweak FEATURES=test from failing, bug #545950
The test happened to fail only on systems without alsa-lib installed (any fresh stage3). Reported-by: eroen Bug: https://bugs.gentoo.org/545950 Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/alsa-lib/alsa-lib-1.1.1.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/media-libs/alsa-lib/alsa-lib-1.1.1.ebuild b/media-libs/alsa-lib/alsa-lib-1.1.1.ebuild
index bd7a02a50fcd..ce747686f1d6 100644
--- a/media-libs/alsa-lib/alsa-lib-1.1.1.ebuild
+++ b/media-libs/alsa-lib/alsa-lib-1.1.1.ebuild
@@ -36,6 +36,8 @@ src_prepare() {
find . -name Makefile.am -exec sed -i -e '/CFLAGS/s:-g -O2::' {} + || die
# https://bugs.gentoo.org/509886
use elibc_uclibc && { sed -i -e 's:oldapi queue_timer:queue_timer:' test/Makefile.am || die; }
+ # https://bugs.gentoo.org/545950
+ sed -i -e '5s:^$:\nAM_CPPFLAGS = -I$(top_srcdir)/include:' test/lsb/Makefile.am || die
default
eautoreconf
}