summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2005-09-04 12:25:40 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2005-09-04 12:25:40 +0000
commit43cb3ad0409cbb2d67ba7c20107e58c7359cea88 (patch)
treea19af0dbeea218b2ce3dc4faaf82225138ca5681 /dev-tcltk
parentSmall multilib fix, closes bug 104669. Stable on amd64. (diff)
downloadgentoo-2-43cb3ad0409cbb2d67ba7c20107e58c7359cea88.tar.gz
gentoo-2-43cb3ad0409cbb2d67ba7c20107e58c7359cea88.tar.bz2
gentoo-2-43cb3ad0409cbb2d67ba7c20107e58c7359cea88.zip
Fixed wrong use flag and $ROOT missing, Bug 101874.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/snack/ChangeLog6
-rw-r--r--dev-tcltk/snack/snack-2.2.4.ebuild12
-rw-r--r--dev-tcltk/snack/snack-2.2.9.ebuild14
3 files changed, 20 insertions, 12 deletions
diff --git a/dev-tcltk/snack/ChangeLog b/dev-tcltk/snack/ChangeLog
index 9c5c3b1a4e1b..0be89255d058 100644
--- a/dev-tcltk/snack/ChangeLog
+++ b/dev-tcltk/snack/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-tcltk/snack
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/snack/ChangeLog,v 1.12 2005/05/29 00:57:17 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/snack/ChangeLog,v 1.13 2005/09/04 12:25:40 matsuu Exp $
+
+ 04 Sep 2005; MATSUU Takuto <matsuu@gentoo.org> snack-2.2.4.ebuild,
+ snack-2.2.9.ebuild:
+ Fixed wrong use flag and $ROOT missing, Bug 101874.
29 May 2005; MATSUU Takuto <matsuu@gentoo.org> -snack-2.2.2.ebuild,
snack-2.2.9.ebuild:
diff --git a/dev-tcltk/snack/snack-2.2.4.ebuild b/dev-tcltk/snack/snack-2.2.4.ebuild
index 43bd106c65fb..785c032bff71 100644
--- a/dev-tcltk/snack/snack-2.2.4.ebuild
+++ b/dev-tcltk/snack/snack-2.2.4.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/snack/snack-2.2.4.ebuild,v 1.8 2005/03/05 08:49:12 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/snack/snack-2.2.4.ebuild,v 1.9 2005/09/04 12:25:40 matsuu Exp $
-IUSE="alsa oggvorbis"
+inherit eutils
+IUSE="alsa vorbis"
DESCRIPTION="The Snack Sound Toolkit (Tcl)"
HOMEPAGE="http://www.speech.kth.se/snack/"
@@ -14,7 +15,7 @@ SLOT="0"
DEPEND=">dev-lang/tcl-8.4.3
>dev-lang/tk-8.4.3
- oggvorbis? ( media-libs/libogg )"
+ vorbis? ( media-libs/libvorbis )"
S=${WORKDIR}/${PN}${PV}/unix
@@ -23,7 +24,10 @@ src_compile() {
use alsa && myconf="${myconf} --enable-alsa"
- use oggvorbis && myconf="${myconf} --enable-ogg"
+ if use vorbis ; then
+ myconf="${myconf} --with-ogg-include=${ROOT}/usr/include"
+ myconf="${myconf} --with-ogg-lib=${ROOT}/usr/$(get_libdir)"
+ fi
econf ${myconf} || die "configure failed"
diff --git a/dev-tcltk/snack/snack-2.2.9.ebuild b/dev-tcltk/snack/snack-2.2.9.ebuild
index 2b31fe285175..0f60dbd26cdf 100644
--- a/dev-tcltk/snack/snack-2.2.9.ebuild
+++ b/dev-tcltk/snack/snack-2.2.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/snack/snack-2.2.9.ebuild,v 1.2 2005/05/29 00:57:17 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/snack/snack-2.2.9.ebuild,v 1.3 2005/09/04 12:25:40 matsuu Exp $
inherit eutils
@@ -9,14 +9,14 @@ HOMEPAGE="http://www.speech.kth.se/snack/"
SRC_URI="http://www.speech.kth.se/~kare/${PN}${PV}.tar.gz"
LICENSE="GPL-2"
-KEYWORDS="~x86 ~ppc ~amd64 ~sparc ~ppc64"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc x86"
SLOT="0"
-IUSE="alsa ogg python threads"
+IUSE="alsa python threads vorbis"
DEPEND=">dev-lang/tcl-8.4.3
>dev-lang/tk-8.4.3
alsa? ( media-libs/alsa-lib )
- ogg? ( media-libs/libogg media-libs/libvorbis )
+ vorbis? ( media-libs/libvorbis )
python? ( virtual/python )"
S="${WORKDIR}/${PN}${PV}"
@@ -27,9 +27,9 @@ src_compile() {
use alsa && myconf="${myconf} --enable-alsa"
use threads && myconf="${myconf} --enable-threads"
- if use ogg; then
- myconf="${myconf} --with-ogg-include=/usr/include"
- myconf="${myconf} --with-ogg-lib=/usr/$(get_libdir)"
+ if use vorbis ; then
+ myconf="${myconf} --with-ogg-include=${ROOT}/usr/include"
+ myconf="${myconf} --with-ogg-lib=${ROOT}/usr/$(get_libdir)"
fi
cd ${S}/unix