summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/flac/ChangeLog11
-rw-r--r--media-libs/flac/flac-1.0.4.ebuild11
2 files changed, 17 insertions, 5 deletions
diff --git a/media-libs/flac/ChangeLog b/media-libs/flac/ChangeLog
index f9b141407c82..d6514a32d949 100644
--- a/media-libs/flac/ChangeLog
+++ b/media-libs/flac/ChangeLog
@@ -1,11 +1,16 @@
# ChangeLog for media-libs/flac
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.9 2002/12/13 10:59:35 blizzy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.10 2003/01/13 07:30:26 seemant Exp $
- 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
-
*flac-1.0.4 (31 Oct 2002)
+ 12 Jan 2003; Seemant Kulleen <seemant@gentoo.org> flac-1.0.4.ebuild :
+
+ Added a fix if -xmms is in USE. The clever sed'ing thanks to:
+ thompson@pobox.com (Paul Thompson) in bug #12355.
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
06 Dec 2002; Phil Bordelon <sunflare@gentoo.org> flac-1.0.4.ebuild :
Marking stable for x86.
diff --git a/media-libs/flac/flac-1.0.4.ebuild b/media-libs/flac/flac-1.0.4.ebuild
index 763b967b5805..b9ab6c6144f6 100644
--- a/media-libs/flac/flac-1.0.4.ebuild
+++ b/media-libs/flac/flac-1.0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/flac-1.0.4.ebuild,v 1.4 2002/12/09 04:26:10 manson Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/flac-1.0.4.ebuild,v 1.5 2003/01/13 07:30:26 seemant Exp $
IUSE="sse xmms"
@@ -13,7 +13,7 @@ S=${WORKDIR}/${P}
SLOT="0"
LICENSE="GPL-2 LGPL-2"
-KEYWORDS="x86 ~ppc ~sparc "
+KEYWORDS="x86 ~ppc ~sparc"
RDEPEND="virtual/glibc
>=media-libs/libogg-1.0_rc2
@@ -24,6 +24,13 @@ DEPEND="${RDEPEND}
sys-apps/gawk"
src_compile() {
+
+ use xmms || {
+ cp src/Makefile.in src/Makefile.in.orig
+ sed -e '/^@FLaC__HAS_XMMS_TRUE/d' \
+ src/Makefile.in.orig > src/Makefile.in
+ }
+
elibtoolize --reverse-deps
local myconf