Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/mrueg:master commit in: dev-libs/libspotify/
Date: Sat, 02 Jul 2016 13:18:36
Message-Id: 1467465474.3f0d78addf86135ae81e34bd130c22b79acc6076.mrueg@gentoo
1 commit: 3f0d78addf86135ae81e34bd130c22b79acc6076
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 2 13:17:54 2016 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 2 13:17:54 2016 +0000
6 URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=3f0d78ad
7
8 dev-libs/libspotify: Fix issue with use in global scope
9
10 dev-libs/libspotify/libspotify-12.1.51.ebuild | 8 +++-----
11 1 file changed, 3 insertions(+), 5 deletions(-)
12
13 diff --git a/dev-libs/libspotify/libspotify-12.1.51.ebuild b/dev-libs/libspotify/libspotify-12.1.51.ebuild
14 index 389b88f..041a07e 100644
15 --- a/dev-libs/libspotify/libspotify-12.1.51.ebuild
16 +++ b/dev-libs/libspotify/libspotify-12.1.51.ebuild
17 @@ -21,11 +21,9 @@ DEPEND="virtual/pkgconfig"
18
19 QA_PRESTRIPPED="/usr/$(get_libdir)/${PN}.so.${PV}"
20
21 -if use x86; then
22 - S=${WORKDIR}/${P}-Linux-i686-release
23 -elif use amd64; then
24 - S=${WORKDIR}/${P}-Linux-x86_64-release
25 -fi
26 +T_ARCH=${ARCH/x86/i686}
27 +T_ARCH=${T_ARCH/amd64/x86_64}
28 +S=${WORKDIR}/${P}-Linux-${T_ARCH}-release
29
30 src_prepare() {
31 sed -i -e 's#PKG_PREFIX:$(prefix)#PKG_PREFIX:$(real_prefix)#'\