summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-01-01 21:39:30 +0100
committerPacho Ramos <pacho@gentoo.org>2016-01-01 21:39:30 +0100
commitc366c6786bfca7406a085e9629df3307c67d491b (patch)
tree1322aec095ae87fb67057b43972c91d5d4c15ee6 /media-sound
parentapp-text/atril: fix broken manifest (diff)
downloadgentoo-c366c6786bfca7406a085e9629df3307c67d491b.tar.gz
gentoo-c366c6786bfca7406a085e9629df3307c67d491b.tar.bz2
gentoo-c366c6786bfca7406a085e9629df3307c67d491b.zip
media-sound/linuxsampler: Let this build with older bison versions, bug #556204
Package-Manager: portage-2.2.26
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/linuxsampler/linuxsampler-2.0.0.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/media-sound/linuxsampler/linuxsampler-2.0.0.ebuild b/media-sound/linuxsampler/linuxsampler-2.0.0.ebuild
index 70199562962f..a36deba49749 100644
--- a/media-sound/linuxsampler/linuxsampler-2.0.0.ebuild
+++ b/media-sound/linuxsampler/linuxsampler-2.0.0.ebuild
@@ -23,6 +23,12 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( app-doc/doxygen )"
+src_prepare() {
+ # Force regeneration of the file to let it build with all bison
+ # versions, bug #556204
+ rm -f src/network/lscpparser.cpp || die
+}
+
src_configure() {
econf --enable-alsa-driver \
--disable-arts-driver \
@@ -39,8 +45,7 @@ src_compile() {
}
src_install() {
- emake DESTDIR="${D}" install
- dodoc AUTHORS ChangeLog NEWS README
+ default
if use doc; then
dohtml -r doc/html/*