commit: 3f0d78addf86135ae81e34bd130c22b79acc6076
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 2 13:17:54 2016 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sat Jul 2 13:17:54 2016 +0000
URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=3f0d78ad
dev-libs/libspotify: Fix issue with use in global scope
dev-libs/libspotify/libspotify-12.1.51.ebuild | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/dev-libs/libspotify/libspotify-12.1.51.ebuild
b/dev-libs/libspotify/libspotify-12.1.51.ebuild
index 389b88f..041a07e 100644
--- a/dev-libs/libspotify/libspotify-12.1.51.ebuild
+++ b/dev-libs/libspotify/libspotify-12.1.51.ebuild
@@ -21,11 +21,9 @@ DEPEND="virtual/pkgconfig"
QA_PRESTRIPPED="/usr/$(get_libdir)/${PN}.so.${PV}"
-if use x86; then
- S=${WORKDIR}/${P}-Linux-i686-release
-elif use amd64; then
- S=${WORKDIR}/${P}-Linux-x86_64-release
-fi
+T_ARCH=${ARCH/x86/i686}
+T_ARCH=${T_ARCH/amd64/x86_64}
+S=${WORKDIR}/${P}-Linux-${T_ARCH}-release
src_prepare() {
sed -i -e 's#PKG_PREFIX:$(prefix)#PKG_PREFIX:$(real_prefix)#'\