commit:     f1268f6bdecab4927acd96c54af265e3854e5b08
Author:     Alexander Presnyakov <flagist0 <AT> gmail <DOT> com>
AuthorDate: Tue Jun  9 14:32:40 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Jun  9 14:32:40 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=f1268f6b

neuro/sci: media-libs/avbin-bin build fixed -- package S (source directory) 
depends on architecture

Package-Manager: portage-2.2.14

 media-libs/avbin-bin/ChangeLog          |  7 +++++--
 media-libs/avbin-bin/avbin-bin-7.ebuild | 14 +++++++-------
 2 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/media-libs/avbin-bin/ChangeLog b/media-libs/avbin-bin/ChangeLog
index 21b9a3c..761bf88 100644
--- a/media-libs/avbin-bin/ChangeLog
+++ b/media-libs/avbin-bin/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for media-libs/avbin-bin
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  09 Jun 2015; Alexander Presnyakov <[email protected]> avbin-bin-7.ebuild:
+  neuro/sci: media-libs/avbin-bin build fixed -- package S (source directory)
+  depends on architecture
+
   10 Nov 2014; Justin Lecher <[email protected]> avbin-bin-7.ebuild,
   metadata.xml:
   Bump EAPI
@@ -24,4 +28,3 @@
   29 May 2008; Andrey Grozin <[email protected]>
   +metadata.xml, +avbin-bin-3.ebuild:
   Initial import, thanks to Thomas Pani, bug #207125
-

diff --git a/media-libs/avbin-bin/avbin-bin-7.ebuild 
b/media-libs/avbin-bin/avbin-bin-7.ebuild
index 7a63467..db4bcf7 100644
--- a/media-libs/avbin-bin/avbin-bin-7.ebuild
+++ b/media-libs/avbin-bin/avbin-bin-7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -15,13 +15,13 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86 -*"
 IUSE=""
 
-src_install() {
-       if use amd64; then
-               cd "${WORKDIR}"/avbin-linux-x86-64-${PV} || die
-       elif use x86; then
-               cd "${WORKDIR}"/avbin-linux-x86-32-${PV} || die
-       fi
+if use amd64; then
+       S="${WORKDIR}"/avbin-linux-x86-64-${PV}
+elif use x86; then
+       S="${WORKDIR}"/avbin-linux-x86-32-${PV}
+fi
 
+src_install() {
        ln -s libavbin.so.${PV} libavbin.so || die
        dolib libavbin.so*
 }

Reply via email to