1 |
commit: c366c6786bfca7406a085e9629df3307c67d491b |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 1 20:39:30 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 1 20:39:30 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c366c678 |
7 |
|
8 |
media-sound/linuxsampler: Let this build with older bison versions, bug #556204 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
media-sound/linuxsampler/linuxsampler-2.0.0.ebuild | 9 +++++++-- |
13 |
1 file changed, 7 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/media-sound/linuxsampler/linuxsampler-2.0.0.ebuild b/media-sound/linuxsampler/linuxsampler-2.0.0.ebuild |
16 |
index 7019956..a36deba 100644 |
17 |
--- a/media-sound/linuxsampler/linuxsampler-2.0.0.ebuild |
18 |
+++ b/media-sound/linuxsampler/linuxsampler-2.0.0.ebuild |
19 |
@@ -23,6 +23,12 @@ DEPEND="${RDEPEND} |
20 |
virtual/pkgconfig |
21 |
doc? ( app-doc/doxygen )" |
22 |
|
23 |
+src_prepare() { |
24 |
+ # Force regeneration of the file to let it build with all bison |
25 |
+ # versions, bug #556204 |
26 |
+ rm -f src/network/lscpparser.cpp || die |
27 |
+} |
28 |
+ |
29 |
src_configure() { |
30 |
econf --enable-alsa-driver \ |
31 |
--disable-arts-driver \ |
32 |
@@ -39,8 +45,7 @@ src_compile() { |
33 |
} |
34 |
|
35 |
src_install() { |
36 |
- emake DESTDIR="${D}" install |
37 |
- dodoc AUTHORS ChangeLog NEWS README |
38 |
+ default |
39 |
|
40 |
if use doc; then |
41 |
dohtml -r doc/html/* |