gentoo-overlay/dev-vcs/gitlab-workhorse/files/fix-Makefile-0.7.4.patch
Manuel Friedli f87914fde1 added ebuilds for:
- dev-vcs/gitlab-shell-3.0.0
- dev-vcs/gitlab-workhorse-0.7.4

updated ebuild for:
- www-apps/gitlab-ce-9999
2016-06-03 00:52:08 +02:00

12 lines
397 B
Diff

diff --git a/Makefile b/Makefile
index 9b3146d..b3c0630 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.7.4-$(shell date -u +%Y%m%d.%H%M%S)
export GOPATH=$(shell pwd)/_build
GOBUILD=go build -ldflags "-X main.Version=${VERSION}"
PKG=gitlab.com/gitlab-org/gitlab-workhorse