app-emulation/docker: sync live ebuild
authorWilliam Hubbs <williamh@gentoo.org>
Mon, 27 Jun 2016 22:40:41 +0000 (17:40 -0500)
committerWilliam Hubbs <williamh@gentoo.org>
Mon, 27 Jun 2016 22:41:04 +0000 (17:41 -0500)
Package-Manager: portage-2.2.28

app-emulation/docker/docker-9999.ebuild

index 408fee5ecfd4cc655276f682db2b835add46b7b1..5320671a34d3f31d600e0ca62873d43c3b186327 100644 (file)
@@ -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