commit:     9a85e95f9b427d21f96e47dccf9650ebf0942c34
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 27 22:40:41 2016 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jun 27 22:41:04 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a85e95f

app-emulation/docker: sync live ebuild

Package-Manager: portage-2.2.28

 app-emulation/docker/docker-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emulation/docker/docker-9999.ebuild 
b/app-emulation/docker/docker-9999.ebuild
index 408fee5..5320671 100644
--- a/app-emulation/docker/docker-9999.ebuild
+++ b/app-emulation/docker/docker-9999.ebuild
@@ -65,6 +65,8 @@ RDEPEND="
 
 RESTRICT="installsources strip"
 
+S="${WORKDIR}/${P}/src/${EGO_PN}"
+
 # see "contrib/check-config.sh" from upstream's sources
 CONFIG_CHECK="
        ~NAMESPACES ~NET_NS ~PID_NS ~IPC_NS ~UTS_NS
@@ -171,7 +173,6 @@ pkg_setup() {
 }
 
 src_compile() {
-       cd "src/${EGO_PN}" || die
        export GOPATH="${WORKDIR}/${P}:${PWD}/vendor"
 
        # setup CFLAGS and LDFLAGS for separate build target
@@ -220,7 +221,6 @@ src_compile() {
 }
 
 src_install() {
-       cd "src/${EGO_PN}" || die
        VERSION="$(cat VERSION)"
        newbin "bundles/$VERSION/dynbinary-client/docker-$VERSION" docker
        newbin "bundles/$VERSION/dynbinary-daemon/dockerd-$VERSION" dockerd

Reply via email to