gentoo-overlay/dev-vcs/gitlab-workhorse/files/fix-Makefile-0.8.2.patch
Manuel Friedli 26c4352a4c dev-vcs/gitlab-workhorse:
updated ebuild for 0.8.1 to 0.8.2

Package-Manager: portage-2.2.28
2016-09-21 02:00:45 +02:00

13 lines
354 B
Diff

diff --git a/Makefile b/Makefile
index 3f6ac91..663ffbb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-PREFIX=/usr/local
-VERSION=$(shell git describe)-$(shell date -u +%Y%m%d.%H%M%S)
+PREFIX=${DESTDIR}/usr
+VERSION=v0.8.2-$(shell date -u +%Y%m%d.%H%M%S)
BUILD_DIR = $(shell pwd)
export GOPATH=${BUILD_DIR}/_build
export GO15VENDOREXPERIMENT=1