summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-06-11 16:14:05 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-06-11 16:14:05 +0000
commitb43579f18bb5d46f2be4acdfe196d8d3b42c434c (patch)
tree205bf615a4643ae2feb616c2da9a5290369f1f5a /media-sound/musepack-tools
parentFixed mysqli DEP (diff)
downloadgentoo-2-b43579f18bb5d46f2be4acdfe196d8d3b42c434c.tar.gz
gentoo-2-b43579f18bb5d46f2be4acdfe196d8d3b42c434c.tar.bz2
gentoo-2-b43579f18bb5d46f2be4acdfe196d8d3b42c434c.zip
Fix dependency over esd just when needed. Made it link to libm else it fails to link.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'media-sound/musepack-tools')
-rw-r--r--media-sound/musepack-tools/ChangeLog7
-rw-r--r--media-sound/musepack-tools/musepack-tools-1.15v.ebuild11
2 files changed, 12 insertions, 6 deletions
diff --git a/media-sound/musepack-tools/ChangeLog b/media-sound/musepack-tools/ChangeLog
index 58fc3e23ab27..135824504ce0 100644
--- a/media-sound/musepack-tools/ChangeLog
+++ b/media-sound/musepack-tools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/musepack-tools
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/musepack-tools/ChangeLog,v 1.22 2005/03/19 14:06:14 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/musepack-tools/ChangeLog,v 1.23 2005/06/11 16:14:05 flameeyes Exp $
+
+ 11 Jun 2005; Diego Pettenò <flameeyes@gentoo.org>
+ musepack-tools-1.15v.ebuild:
+ Fix dependency over esd just when needed. Made it link to libm else it fails
+ to link.
*musepack-tools-1.15v (19 Mar 2005)
diff --git a/media-sound/musepack-tools/musepack-tools-1.15v.ebuild b/media-sound/musepack-tools/musepack-tools-1.15v.ebuild
index 163fbc5d48c7..4b378142c37b 100644
--- a/media-sound/musepack-tools/musepack-tools-1.15v.ebuild
+++ b/media-sound/musepack-tools/musepack-tools-1.15v.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/media-sound/musepack-tools/musepack-tools-1.15v.ebuild,v 1.1 2005/03/19 14:06:14 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/musepack-tools/musepack-tools-1.15v.ebuild,v 1.2 2005/06/11 16:14:05 flameeyes Exp $
IUSE="static 16bit esd"
@@ -16,7 +16,7 @@ SLOT="0"
LICENSE="LGPL-2.1"
KEYWORDS="~amd64 ~x86"
-RDEPEND="media-sound/esound
+RDEPEND="esd? ( media-sound/esound )
media-libs/id3lib"
DEPEND="${RDEPEND}
@@ -33,9 +33,10 @@ src_unpack() {
sed -i 's/#define USE_IRIX_AUDIO/#undef USE_IRIX_AUDIO/' mpp.h
if ! use esd ; then
- sed -i 's/#define USE_ESD_AUDIO/#undef USE_ESD_AUDIO/' mpp.h
+ sed -i -e 's/#define USE_ESD_AUDIO/#undef USE_ESD_AUDIO/' mpp.h
+ sed -i -e 's:esd-config:true:' Makefile
else
- sed -i 's/#LDADD += -lesd/LDADD += -lesd/' Makefile
+ sed -i -e 's/#LDADD += -lesd/LDADD += -lesd/' Makefile
fi
if ! use x86 ; then
@@ -49,7 +50,7 @@ src_compile() {
filter-flags "-fprefetch-loop-arrays"
filter-flags "-mfpmath=sse" "-mfpmath=sse,387"
use static && export BLD_STATIC=1
- ARCH= emake mppenc mppdec replaygain || die
+ ARCH= emake LDADD=-lm mppenc mppdec replaygain || die
}
src_install() {