summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-01-13 07:45:33 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-01-13 07:45:33 +0000
commit0ccc06eb977c4af0c8714df77dbfc411c6baf172 (patch)
treee5e7587ae7e7ce7f131f0b4387932c8b473de1b7
parentUse system libgsm, bug #252890 (diff)
downloadgentoo-2-0ccc06eb977c4af0c8714df77dbfc411c6baf172.tar.gz
gentoo-2-0ccc06eb977c4af0c8714df77dbfc411c6baf172.tar.bz2
gentoo-2-0ccc06eb977c4af0c8714df77dbfc411c6baf172.zip
fix build without jack, by Thomas 'gimpel' Kuther, bug #232302
(Portage version: 2.2_rc21/cvs/Linux 2.6.28 x86_64)
-rw-r--r--media-libs/stk/ChangeLog7
-rw-r--r--media-libs/stk/stk-4.3.1.ebuild10
2 files changed, 12 insertions, 5 deletions
diff --git a/media-libs/stk/ChangeLog b/media-libs/stk/ChangeLog
index 2b80ae5901d2..6b00bd72d91f 100644
--- a/media-libs/stk/ChangeLog
+++ b/media-libs/stk/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/stk
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/stk/ChangeLog,v 1.1 2008/09/17 07:28:34 aballier Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/stk/ChangeLog,v 1.2 2009/01/13 07:45:33 aballier Exp $
+
+ 13 Jan 2009; Alexis Ballier <aballier@gentoo.org> stk-4.3.1.ebuild:
+ fix build without jack, by Thomas 'gimpel' Kuther, bug #232302
*stk-4.3.1 (17 Sep 2008)
diff --git a/media-libs/stk/stk-4.3.1.ebuild b/media-libs/stk/stk-4.3.1.ebuild
index 236358e89563..53c5a26286ab 100644
--- a/media-libs/stk/stk-4.3.1.ebuild
+++ b/media-libs/stk/stk-4.3.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/stk/stk-4.3.1.ebuild,v 1.1 2008/09/17 07:28:34 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/stk/stk-4.3.1.ebuild,v 1.2 2009/01/13 07:45:33 aballier Exp $
inherit eutils autotools
@@ -31,12 +31,16 @@ src_unpack() {
}
src_compile() {
+ local myconf
+ # --without-jack is broken in autofoo, see #232302
+ use jack && myconf="--with-jack"
+
econf \
`use_with alsa` \
- `use_with jack` \
`use_with oss` \
`use_enable debug` \
RAWWAVE_PATH=/usr/share/stk/rawwaves/ \
+ ${myconf} \
|| die "configure failed!"
# compile libstk