summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-08-23 20:30:17 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-08-23 20:30:17 +0000
commit460abb603cc6b804374bf781f01d9aeec2e14e27 (patch)
tree8a9dc7ce023035dd43e993865b20e3a87d236f94 /media-sound/twolame
parentarm stable, bug #331969 (diff)
downloadgentoo-2-460abb603cc6b804374bf781f01d9aeec2e14e27.tar.gz
gentoo-2-460abb603cc6b804374bf781f01d9aeec2e14e27.tar.bz2
gentoo-2-460abb603cc6b804374bf781f01d9aeec2e14e27.zip
prefix changes
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/twolame')
-rw-r--r--media-sound/twolame/ChangeLog4
-rw-r--r--media-sound/twolame/twolame-0.3.12.ebuild12
2 files changed, 11 insertions, 5 deletions
diff --git a/media-sound/twolame/ChangeLog b/media-sound/twolame/ChangeLog
index b468dddac53e..b40838b7cfd9 100644
--- a/media-sound/twolame/ChangeLog
+++ b/media-sound/twolame/ChangeLog
@@ -1,9 +1,9 @@
# ChangeLog for media-sound/twolame
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/twolame/ChangeLog,v 1.39 2010/08/23 20:24:52 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/twolame/ChangeLog,v 1.40 2010/08/23 20:30:17 ssuominen Exp $
23 Aug 2010; Samuli Suominen <ssuominen@gentoo.org> twolame-0.3.12.ebuild:
- USE="static-libs" and punt .la files.
+ USE="static-libs", punt .la files, EAPI="3" and keyword for prefix.
04 Apr 2009; <solar@gentoo.org> twolame-0.3.12.ebuild:
- Keyword ~arm
diff --git a/media-sound/twolame/twolame-0.3.12.ebuild b/media-sound/twolame/twolame-0.3.12.ebuild
index b8d43826798f..31a76a9dd516 100644
--- a/media-sound/twolame/twolame-0.3.12.ebuild
+++ b/media-sound/twolame/twolame-0.3.12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/twolame/twolame-0.3.12.ebuild,v 1.10 2010/08/23 20:24:52 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/twolame/twolame-0.3.12.ebuild,v 1.11 2010/08/23 20:30:17 ssuominen Exp $
EAPI=3
inherit libtool
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~arm alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="~arm alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="static-libs"
RDEPEND=">=media-libs/libsndfile-1"
@@ -20,6 +20,12 @@ DEPEND="${RDEPEND}
src_prepare() {
sed -i -e '/CFLAGS/s:-O3::' configure || die
+
+ if [[ ${CHOST} == *solaris* ]]; then
+ # libsndfile doesn't like -std=c99 on Solaris
+ sed -i -e '/CFLAGS/s:-std=c99::' configure || die
+ fi
+
elibtoolize
}
@@ -30,7 +36,7 @@ src_configure() {
}
src_install() {
- emake DESTDIR="${D}" pkgdocdir="/usr/share/doc/${PF}" \
+ emake DESTDIR="${D}" pkgdocdir="${EPREFIX}/usr/share/doc/${PF}" \
install || die
dodoc AUTHORS ChangeLog README TODO