summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-03-05 14:05:59 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-03-05 14:05:59 +0000
commit453f02b783c8b85ebaeb8820981a988e1e1cd457 (patch)
tree6d2e4a96c3cfb3232e7610cd6c59521264c18a68 /media-sound
parentmark 0.8 x86, cleanup (diff)
downloadgentoo-2-453f02b783c8b85ebaeb8820981a988e1e1cd457.tar.gz
gentoo-2-453f02b783c8b85ebaeb8820981a988e1e1cd457.tar.bz2
gentoo-2-453f02b783c8b85ebaeb8820981a988e1e1cd457.zip
errno fixes
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/easytag/ChangeLog5
-rw-r--r--media-sound/easytag/easytag-0.27.ebuild22
2 files changed, 20 insertions, 7 deletions
diff --git a/media-sound/easytag/ChangeLog b/media-sound/easytag/ChangeLog
index 649e4907e9e2..69ddd8c9818d 100644
--- a/media-sound/easytag/ChangeLog
+++ b/media-sound/easytag/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for media-sound/easytag
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/easytag/ChangeLog,v 1.7 2003/02/19 19:24:01 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/easytag/ChangeLog,v 1.8 2003/03/05 14:05:59 seemant Exp $
*easytag-0.27 (19 Feb 2003)
+ 05 Mar 2003; Seemant Kulleen <seemant@gentoo.org> easytag-0.27.ebuild:
+ errno fixes
+
19 Feb 2003; Seemant Kulleen <seemant@gentoo.org> easytag-0.23.ebuild easytag-0.25.ebuild easytag-0.27.ebuild files/digest-easytag-0.27 :
other arches to testing; and version bump thanks to: Jay Pfeifer <jay@jdp.cc> in bug #15782
diff --git a/media-sound/easytag/easytag-0.27.ebuild b/media-sound/easytag/easytag-0.27.ebuild
index ddebd92f3747..4e27de6e1649 100644
--- a/media-sound/easytag/easytag-0.27.ebuild
+++ b/media-sound/easytag/easytag-0.27.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/easytag/easytag-0.27.ebuild,v 1.1 2003/02/19 19:24:01 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/easytag/easytag-0.27.ebuild,v 1.2 2003/03/05 14:05:59 seemant Exp $
IUSE="nls oggvorbis"
@@ -11,21 +11,31 @@ HOMEPAGE="http://easytag.sourceforge.net/"
RDEPEND="=x11-libs/gtk+-1.2*
>=media-libs/id3lib-3.8.2
+ media-libs/flac
oggvorbis? ( >=media-libs/libvorbis-1.0_beta4 )"
-DEPEND="${RDEPEND}"
+DEPEND=">=sys-apps/sed-4.0.5"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ #glibc fix
+ sed -i "s:extern int errno:#include <errno.h>:" src/easytag.h
+ sed -i "s:extern int errno:#include <errno.h>:" intl/dcigettext.c
+}
+
src_compile() {
local myconf
- use oggvorbis || myconf="--disable-ogg"
- use nls || myconf="${myconf} --disable-nls"
-
- econf `use_enable oggvorbis ogg` `use_enable nls` || die
+ #use_enable breaks this
+ use oggvorbis || myconf="${myconf} --disable-ogg"
+
+ econf `use_enable nls` || die
emake || die
}