diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-04-20 17:52:06 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-04-20 17:52:06 +0000 |
commit | ed4fec1a31bb66c64b9d9a66b6db2b9ea335c1a8 (patch) | |
tree | 032b0fae1186b71cbd2fb6a4b03173994c6fb415 /media-sound/amsynth/amsynth-1.2.0.ebuild | |
parent | Applied the MAKEOPTS fix to version 0.35.4 to resolve issues with parallel ma... (diff) | |
download | gentoo-2-ed4fec1a31bb66c64b9d9a66b6db2b9ea335c1a8.tar.gz gentoo-2-ed4fec1a31bb66c64b9d9a66b6db2b9ea335c1a8.tar.bz2 gentoo-2-ed4fec1a31bb66c64b9d9a66b6db2b9ea335c1a8.zip |
Add a check for midi USE flag on alsa-lib needed to build, thanks to Patrick for reporting in bug #216890. Also add a patch to build with GCC 4.3.
(Portage version: 2.1.5_rc5)
Diffstat (limited to 'media-sound/amsynth/amsynth-1.2.0.ebuild')
-rw-r--r-- | media-sound/amsynth/amsynth-1.2.0.ebuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/media-sound/amsynth/amsynth-1.2.0.ebuild b/media-sound/amsynth/amsynth-1.2.0.ebuild index 3f5c9920ae4f..1b157c3c91c5 100644 --- a/media-sound/amsynth/amsynth-1.2.0.ebuild +++ b/media-sound/amsynth/amsynth-1.2.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/amsynth-1.2.0.ebuild,v 1.3 2008/01/14 12:50:19 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/amsynth-1.2.0.ebuild,v 1.4 2008/04/20 17:52:06 flameeyes Exp $ IUSE="debug alsa jack sndfile oss" @@ -26,6 +26,15 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${MY_P}" +pkg_setup() { + if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then + eerror "" + eerror "To be able to build Fluidsynth with ALSA support you need" + eerror "to have built media-libs/alsa-lib with midi USE flag." + die "Missing midi USE flag on media-libs/alsa-lib" + fi +} + src_unpack() { unpack ${A} cd "${S}" @@ -33,6 +42,7 @@ src_unpack() { epatch "${FILESDIR}/${P}-asneeded.patch" epatch "${FILESDIR}/${P}-cflags.patch" epatch "${FILESDIR}/${P}-debug.patch" + epatch "${FILESDIR}/${P}+gcc-4.3.patch" eautoreconf } |