diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-11-18 20:24:28 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-11-18 20:24:28 +0000 |
commit | f23d609cabf49be233d396977a4d540808c863a8 (patch) | |
tree | 5af76af0292bb849f938fe15bfeca0e67284a668 /media-sound/rezound | |
parent | Add a check for the cxx USE flag in libpcre. (diff) | |
download | gentoo-2-f23d609cabf49be233d396977a4d540808c863a8.tar.gz gentoo-2-f23d609cabf49be233d396977a4d540808c863a8.tar.bz2 gentoo-2-f23d609cabf49be233d396977a4d540808c863a8.zip |
add a check for flac cxx use flag, FLAC++ is needed here
(Portage version: 2.1.3.19)
Diffstat (limited to 'media-sound/rezound')
-rw-r--r-- | media-sound/rezound/ChangeLog | 6 | ||||
-rw-r--r-- | media-sound/rezound/rezound-0.12.3_beta.ebuild | 10 |
2 files changed, 14 insertions, 2 deletions
diff --git a/media-sound/rezound/ChangeLog b/media-sound/rezound/ChangeLog index f6c6c5522ea9..375075eb32fd 100644 --- a/media-sound/rezound/ChangeLog +++ b/media-sound/rezound/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/rezound # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/rezound/ChangeLog,v 1.47 2007/11/18 20:21:58 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/rezound/ChangeLog,v 1.48 2007/11/18 20:24:28 aballier Exp $ + + 18 Nov 2007; Alexis Ballier <aballier@gentoo.org> + rezound-0.12.3_beta.ebuild: + add a check for flac cxx use flag, FLAC++ is needed here 18 Nov 2007; Alexis Ballier <aballier@gentoo.org> -files/rezound-0.12.2_beta-foxinclude.patch, diff --git a/media-sound/rezound/rezound-0.12.3_beta.ebuild b/media-sound/rezound/rezound-0.12.3_beta.ebuild index 61c1e280bb44..085a03f19b4c 100644 --- a/media-sound/rezound/rezound-0.12.3_beta.ebuild +++ b/media-sound/rezound/rezound-0.12.3_beta.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/rezound/rezound-0.12.3_beta.ebuild,v 1.6 2007/09/28 12:05:37 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/rezound/rezound-0.12.3_beta.ebuild,v 1.7 2007/11/18 20:24:28 aballier Exp $ WANT_AUTOMAKE=1.9 WANT_AUTOCONF=2.5 @@ -42,6 +42,14 @@ DEPEND="${RDEPEND} sys-devel/bison sys-devel/flex" +pkg_setup() { + if use flac && ! built_with_use --missing true media-libs/flac cxx; then + eerror "To build ${PN} with flac support you need the C++ bindings for flac." + eerror "Please enable the cxx USE flag for media-libs/flac" + die "Missing FLAC C++ bindings." + fi +} + src_unpack() { unpack ${A} cd "${S}" |