summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-08-29 23:42:57 -0400
committerMike Gilbert <floppym@gentoo.org>2016-08-29 23:43:12 -0400
commitedd86ebc72fa11f7cdd939a5ea9cd34bf4de22de (patch)
treec4f05d8d357934da48325b2405c0c3c5953751d1 /app-admin/cli53/cli53-9999.ebuild
parentsys-cluster/neutron: bup (diff)
downloadgentoo-edd86ebc72fa11f7cdd939a5ea9cd34bf4de22de.tar.gz
gentoo-edd86ebc72fa11f7cdd939a5ea9cd34bf4de22de.tar.bz2
gentoo-edd86ebc72fa11f7cdd939a5ea9cd34bf4de22de.zip
app-admin/cli53: bump to 0.8.0
Package-Manager: portage-2.3.0_p22
Diffstat (limited to 'app-admin/cli53/cli53-9999.ebuild')
-rw-r--r--app-admin/cli53/cli53-9999.ebuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/app-admin/cli53/cli53-9999.ebuild b/app-admin/cli53/cli53-9999.ebuild
index 834f3a3771c5..6a5822999dad 100644
--- a/app-admin/cli53/cli53-9999.ebuild
+++ b/app-admin/cli53/cli53-9999.ebuild
@@ -21,16 +21,21 @@ SLOT="0"
EGO_PN="github.com/barnybug/cli53"
S="${WORKDIR}/${P}/src/${EGO_PN}"
+PATCHES=(
+ "${FILESDIR}"/cli53-ldflags.patch
+)
+
src_compile() {
+ export GOPATH="${WORKDIR}/${P}"
if [[ ${PV} == 9999 ]]; then
- GOPATH="${WORKDIR}/${P}" emake build
+ emake build
else
- GOPATH="${WORKDIR}/${P}" emake build version=${PV}
+ emake build version=${PV}
fi
}
src_test() {
- GOPATH="${WORKDIR}/${P}" go test -v || die
+ go test -v || die
}
src_install() {