summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-01-03 09:28:37 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-01-03 09:28:37 +0000
commita27882690a79387ba9554753324b56f330ff7ab3 (patch)
treebc77ad2a94e519b90c6a93ae908994751a6d0183 /media-libs/speex
parentReplace libtoolize with eautoreconf so that it does not break with mis-versio... (diff)
downloadgentoo-2-a27882690a79387ba9554753324b56f330ff7ab3.tar.gz
gentoo-2-a27882690a79387ba9554753324b56f330ff7ab3.tar.bz2
gentoo-2-a27882690a79387ba9554753324b56f330ff7ab3.zip
Fix issues with parallel make.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'media-libs/speex')
-rw-r--r--media-libs/speex/ChangeLog5
-rw-r--r--media-libs/speex/speex-1.1.11.1.ebuild27
2 files changed, 27 insertions, 5 deletions
diff --git a/media-libs/speex/ChangeLog b/media-libs/speex/ChangeLog
index cbfd0386a602..386e2a677975 100644
--- a/media-libs/speex/ChangeLog
+++ b/media-libs/speex/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/speex
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/ChangeLog,v 1.41 2006/01/03 03:31:33 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/ChangeLog,v 1.42 2006/01/03 09:28:37 flameeyes Exp $
+
+ 03 Jan 2006; Diego Pettenò <flameeyes@gentoo.org> speex-1.1.11.1.ebuild:
+ Fix issues with parallel make.
*speex-1.1.11.1 (03 Jan 2006)
diff --git a/media-libs/speex/speex-1.1.11.1.ebuild b/media-libs/speex/speex-1.1.11.1.ebuild
index 464a45d7d831..41e6c678715e 100644
--- a/media-libs/speex/speex-1.1.11.1.ebuild
+++ b/media-libs/speex/speex-1.1.11.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/speex-1.1.11.1.ebuild,v 1.1 2006/01/03 03:31:33 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/speex-1.1.11.1.ebuild,v 1.2 2006/01/03 09:28:37 flameeyes Exp $
-inherit eutils
+inherit eutils autotools libtool
DESCRIPTION="Speech encoding library"
HOMEPAGE="http://www.speex.org/"
@@ -13,8 +13,27 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86"
IUSE="ogg sse"
-DEPEND="virtual/libc
- ogg? ( >=media-libs/libogg-1.0 )"
+RDEPEND="ogg? ( >=media-libs/libogg-1.0 )"
+
+DEPEND="${RDEPEND}
+ sys-devel/autoconf
+ sys-devel/automake
+ sys-devel/libtool"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # This is needed to fix parallel make issues.
+ # As this changes the Makefile.am, need to rebuild autotools.
+ sed -i -e 's:\$(top_builddir)/libspeex/libspeex.la:libspeex.la:' \
+ ${S}/libspeex/Makefile.am
+
+ eautoreconf
+
+ # Better being safe
+ elibtoolize
+}
src_compile() {
# ogg autodetect only