summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-11-18 18:07:40 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-11-18 18:07:40 +0000
commit6d94619b75143fa4a9602fe33f3283729b6803c0 (patch)
tree5f3a808766b2b8ea22efbff8611066f420f47218 /media-plugins/vco-plugins/vco-plugins-0.3.0.ebuild
parentStable on ppc64; bug #199239 (diff)
downloadhistorical-6d94619b75143fa4a9602fe33f3283729b6803c0.tar.gz
historical-6d94619b75143fa4a9602fe33f3283729b6803c0.tar.bz2
historical-6d94619b75143fa4a9602fe33f3283729b6803c0.zip
use full name for g++, make multilib aware, dont force -O3
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'media-plugins/vco-plugins/vco-plugins-0.3.0.ebuild')
-rw-r--r--media-plugins/vco-plugins/vco-plugins-0.3.0.ebuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/media-plugins/vco-plugins/vco-plugins-0.3.0.ebuild b/media-plugins/vco-plugins/vco-plugins-0.3.0.ebuild
index 52552eec192d..ccc7aa273281 100644
--- a/media-plugins/vco-plugins/vco-plugins-0.3.0.ebuild
+++ b/media-plugins/vco-plugins/vco-plugins-0.3.0.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vco-plugins/vco-plugins-0.3.0.ebuild,v 1.4 2004/07/26 07:42:31 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vco-plugins/vco-plugins-0.3.0.ebuild,v 1.5 2007/11/18 18:07:40 aballier Exp $
+
+inherit multilib toolchain-funcs
IUSE=""
#
@@ -18,12 +20,15 @@ DEPEND="media-libs/ladspa-sdk"
S=${WORKDIR}/${MY_P}
src_compile() {
+ tc-export CXX
+ sed -i -e "s/-O3//" Makefile
+ sed -i -e "s/g++/$(tc-getCXX)/" Makefile
emake || die
}
src_install() {
- dodoc AUTHORS COPYING README
- insinto /usr/lib/ladspa
+ dodoc AUTHORS README
+ insinto /usr/$(get_libdir)/ladspa
insopts -m0755
doins *.so
}