svn commit: r477216 - head/www/gitlab-ce
Matthias Fechner
mfechner at FreeBSD.org
Wed Aug 15 07:59:54 UTC 2018
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
More information about the svn-ports-head
mailing list