Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2019 11:17:59 +0000 (UTC)
From:      Matthias Fechner <mfechner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r498714 - in branches/2019Q2/devel/gitaly: . files
Message-ID:  <201904121117.x3CBHxZ7080974@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mfechner
Date: Fri Apr 12 11:17:59 2019
New Revision: 498714
URL: https://svnweb.freebsd.org/changeset/ports/498714

Log:
  MFH: r498360
  
  Changed the build order that the port also works with bundler version 2.
  
  Approved by:	ports-secteam (joneum)

Modified:
  branches/2019Q2/devel/gitaly/Makefile
  branches/2019Q2/devel/gitaly/files/patch-__support_makegen.go
Directory Properties:
  branches/2019Q2/   (props changed)

Modified: branches/2019Q2/devel/gitaly/Makefile
==============================================================================
--- branches/2019Q2/devel/gitaly/Makefile	Fri Apr 12 11:12:17 2019	(r498713)
+++ branches/2019Q2/devel/gitaly/Makefile	Fri Apr 12 11:17:59 2019	(r498714)
@@ -2,6 +2,7 @@
 
 PORTNAME=	gitaly
 DISTVERSION=	1.27.1
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	mfechner@FreeBSD.org
@@ -27,11 +28,9 @@ MY_DEPENDS=	git>=2.18:devel/git \
 		rubygem-rbtrace>0:devel/rubygem-rbtrace \
 		rubygem-licensee8>=8.9.0:devel/rubygem-licensee8 \
 		rubygem-google-protobuf>=3.6:devel/rubygem-google-protobuf
-
 BUILD_DEPENDS=	go>=1.10:lang/go \
 		gem:devel/ruby-gems \
 		${MY_DEPENDS}
-
 RUN_DEPENDS=	${MY_DEPENDS} \
 		gitlab-shell>=6.0.4:devel/gitlab-shell
 

Modified: branches/2019Q2/devel/gitaly/files/patch-__support_makegen.go
==============================================================================
--- branches/2019Q2/devel/gitaly/files/patch-__support_makegen.go	Fri Apr 12 11:12:17 2019	(r498713)
+++ branches/2019Q2/devel/gitaly/files/patch-__support_makegen.go	Fri Apr 12 11:17:59 2019	(r498714)
@@ -1,4 +1,4 @@
---- _support/makegen.go.orig	2019-03-11 20:46:03 UTC
+--- _support/makegen.go.orig	2019-03-25 09:02:26 UTC
 +++ _support/makegen.go
 @@ -253,7 +253,7 @@ var templateText = `
  # These variables may be overriden at runtime by top-level make
@@ -9,12 +9,13 @@
  ASSEMBLY_ROOT ?= {{ .BuildDir }}/assembly
  BUILD_TAGS := tracer_static tracer_static_jaeger
  
-@@ -274,7 +274,7 @@ build: ../.ruby-bundle
+@@ -273,8 +273,8 @@ build: ../.ruby-bundle
+ # step. Both Omnibus and CNG assume it is in the Gitaly root, not in
  # _build. Hence the '../' in front.
  ../.ruby-bundle:  {{ .GitalyRubyDir }}/Gemfile.lock  {{ .GitalyRubyDir }}/Gemfile
++	cd  {{ .GitalyRubyDir }} && rm Gemfile.lock && bundle install $(BUNDLE_FLAGS)
  	cd  {{ .GitalyRubyDir }} && bundle config # for debugging
 -	cd  {{ .GitalyRubyDir }} && bundle install $(BUNDLE_FLAGS)
-+	cd  {{ .GitalyRubyDir }} && rm Gemfile.lock && bundle install $(BUNDLE_FLAGS)
  	cd  {{ .GitalyRubyDir }} && bundle show gitaly-proto # sanity check
  	touch $@
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904121117.x3CBHxZ7080974>