Skip to content

Commit

Permalink
media-sound/linuxsampler: Let this build with older bison versions, b…
Browse files Browse the repository at this point in the history
…ug #556204

Package-Manager: portage-2.2.26
  • Loading branch information
pacho2 committed Jan 1, 2016
1 parent 0a7ad96 commit c366c67
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions media-sound/linuxsampler/linuxsampler-2.0.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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/*
Expand Down

0 comments on commit c366c67

Please sign in to comment.