Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2018 07:59:53 +0000 (UTC)
From:      Matthias Fechner <mfechner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r477216 - head/www/gitlab-ce
Message-ID:  <201808150759.w7F7xrMK064174@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mfechner
Date: Wed Aug 15 07:59:53 2018
New Revision: 477216
URL: https://svnweb.freebsd.org/changeset/ports/477216

Log:
  www/gitlab-ce add a check after the build process to verify all used gems matching the requirements.
  This should make it easier to see gem updates that are breaking the gitlab-ce port.
  
  Approved by:	mentors (implicit)

Modified:
  head/www/gitlab-ce/Makefile

Modified: head/www/gitlab-ce/Makefile
==============================================================================
--- head/www/gitlab-ce/Makefile	Wed Aug 15 07:37:42 2018	(r477215)
+++ head/www/gitlab-ce/Makefile	Wed Aug 15 07:59:53 2018	(r477216)
@@ -241,6 +241,9 @@ post-patch-PGSQL-off:
 	${REINPLACE_CMD} -e "/gem 'pg'/d" ${WRKSRC}/Gemfile
 	${REINPLACE_CMD} -e "/gem 'peek-pg'/d" ${WRKSRC}/Gemfile
 
+pre-install:
+	(cd ${WRKSRC} && rm Gemfile.lock && bundle install --local)
+
 do-install:
 	${FIND} ${WRKSRC} -name '*.orig' -delete
 	${FIND} ${WRKSRC} -name '*.bak' -delete



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