summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-01-23 08:37:54 -0800
committerZac Medico <zmedico@gentoo.org>2017-01-23 08:40:19 -0800
commit760b6698478893fa6438c8ea86ad72146af815b9 (patch)
tree3a1f531c288620b368b6c1125a144afaa1ecc7a6 /app-admin/serf
parentdev-python/attrs: ia64 stable wrt bug #606330 (diff)
downloadgentoo-760b6698478893fa6438c8ea86ad72146af815b9.tar.gz
gentoo-760b6698478893fa6438c8ea86ad72146af815b9.tar.bz2
gentoo-760b6698478893fa6438c8ea86ad72146af815b9.zip
app-admin/serf: avoid zip dependency for bug 606926
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-admin/serf')
-rw-r--r--app-admin/serf/serf-0.8.0.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/app-admin/serf/serf-0.8.0.ebuild b/app-admin/serf/serf-0.8.0.ebuild
index a28a2255bab3..a8b7fc5d3a8b 100644
--- a/app-admin/serf/serf-0.8.0.ebuild
+++ b/app-admin/serf/serf-0.8.0.ebuild
@@ -78,8 +78,11 @@ src_prepare() {
src_compile() {
export GOPATH="${S}"
go install -v -work -x ${EGO_BUILD_FLAGS} "github.com/mitchellh/gox/..." || die
- PATH=${PATH}:${S}/bin XC_ARCH=$(go env GOARCH) XC_OS=$(go env GOOS) \
- emake -C "${S}/src/${EGO_PN}" bin
+ # The dev target sets causes build.sh to set appropriate XC_OS
+ # and XC_ARCH, and skips generation of an unused zip file,
+ # avoiding a dependency on app-arch/zip.
+ PATH=${PATH}:${S}/bin \
+ emake -C "${S}/src/${EGO_PN}" dev
}
src_install() {