summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-06-27 19:46:57 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-06-27 19:46:57 +0000
commit832bac9df9384debf50b1f3cc0bf7516a2fafd6c (patch)
tree8ed56c99bb607e2feccaf2333d2b8b72a1fc6488
parentDie on sed failures. (diff)
downloadgentoo-2-832bac9df9384debf50b1f3cc0bf7516a2fafd6c.tar.gz
gentoo-2-832bac9df9384debf50b1f3cc0bf7516a2fafd6c.tar.bz2
gentoo-2-832bac9df9384debf50b1f3cc0bf7516a2fafd6c.zip
Pass LDFLAGS to LINKFLAGS for ./waf wrt #330197 by Gavin Pryke and Kacper Kowalik.
(Portage version: 2.2.0_alpha113/cvs/Linux x86_64)
-rw-r--r--media-libs/slv2/ChangeLog6
-rw-r--r--media-libs/slv2/slv2-0.6.6.ebuild15
2 files changed, 13 insertions, 8 deletions
diff --git a/media-libs/slv2/ChangeLog b/media-libs/slv2/ChangeLog
index c35a92a9709d..53450dc6f654 100644
--- a/media-libs/slv2/ChangeLog
+++ b/media-libs/slv2/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/slv2
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/slv2/ChangeLog,v 1.21 2012/06/27 19:40:32 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/slv2/ChangeLog,v 1.22 2012/06/27 19:46:57 ssuominen Exp $
+
+ 27 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> slv2-0.6.6.ebuild:
+ Pass LDFLAGS to LINKFLAGS for ./waf wrt #330197 by Gavin Pryke and Kacper
+ Kowalik.
27 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> slv2-0.6.6.ebuild:
Set active Python version to 2.x for ./waf which doesn't work with Python
diff --git a/media-libs/slv2/slv2-0.6.6.ebuild b/media-libs/slv2/slv2-0.6.6.ebuild
index ac58a2d8a9b6..8fffcc9d9219 100644
--- a/media-libs/slv2/slv2-0.6.6.ebuild
+++ b/media-libs/slv2/slv2-0.6.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/slv2/slv2-0.6.6.ebuild,v 1.6 2012/06/27 19:40:32 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/slv2/slv2-0.6.6.ebuild,v 1.7 2012/06/27 19:46:57 ssuominen Exp $
EAPI=4
inherit eutils multilib python toolchain-funcs
@@ -33,13 +33,14 @@ src_prepare() {
src_configure() {
tc-export CC CXX CPP AR RANLIB
+ LINKFLAGS="${LDFLAGS}" \
./waf configure \
- --prefix=/usr \
- --libdir=/usr/$(get_libdir)/ \
- --htmldir=/usr/share/doc/${PF}/html \
- $(use doc && echo "--build-docs") \
- $(use jack || echo "--no-jack") \
- || die "failed to configure"
+ --prefix=/usr \
+ --libdir=/usr/$(get_libdir) \
+ --htmldir=/usr/share/doc/${PF}/html \
+ $(use doc && echo --build-docs) \
+ $(use jack || echo --no-jack) \
+ || die
}
src_compile() {