Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2017 22:19:27 +0000 (UTC)
From:      "Carlos J. Puga Medina" <cpm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r436446 - in head/devel/bazel: . files
Message-ID:  <201703182219.v2IMJRHl064840@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cpm
Date: Sat Mar 18 22:19:27 2017
New Revision: 436446
URL: https://svnweb.freebsd.org/changeset/ports/436446

Log:
  devel/bazel: update to 0.4.5
  
  Changes: https://github.com/bazelbuild/bazel/releases/tag/0.4.5
  
  PR:		217854
  Submitted by:	Klaus Aehlig <aehlig@linta.de> (maintainer)

Modified:
  head/devel/bazel/Makefile
  head/devel/bazel/distinfo
  head/devel/bazel/files/patch-scripts_bootstrap_bootstrap.sh

Modified: head/devel/bazel/Makefile
==============================================================================
--- head/devel/bazel/Makefile	Sat Mar 18 22:14:46 2017	(r436445)
+++ head/devel/bazel/Makefile	Sat Mar 18 22:19:27 2017	(r436446)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=		bazel
-PORTVERSION=		0.4.4
-PORTREVISION=		1
+PORTVERSION=		0.4.5
 CATEGORIES=		devel java
 MASTER_SITES=		https://storage.googleapis.com/bazel/${PORTVERSION}/rc${FINALRC}/
 DISTNAME=		bazel-${PORTVERSION}rc${FINALRC}-dist
@@ -20,7 +19,7 @@ BUILD_DEPENDS=		bash:shells/bash \
 # In bazel, a release is always code-wise identical to the final release candidate.
 # Hence we can also download that one and so have a simple way to also test earlier release
 # candidates.
-FINALRC=		1
+FINALRC=		7
 
 NO_WRKSUBDIR=		YES
 USES=			shebangfix zip
@@ -49,6 +48,7 @@ do-build:
 	${LOCALBASE}/bin/bash ./compile.sh)
 
 do-install:
+	# The bazel binary is also a zip archive (extracted by the elf part), hence cannot be stripped
 	${CP} ${WRKSRC}/output/bazel ${STAGEDIR}${PREFIX}/bin
 	@${MKDIR} ${STAGEDIR}${ETCDIR}
 	${INSTALL_DATA} ${WRKSRC}/scripts/packages/debian/bazel.bazelrc ${STAGEDIR}${ETCDIR}/bazel.bazelrc.sample

Modified: head/devel/bazel/distinfo
==============================================================================
--- head/devel/bazel/distinfo	Sat Mar 18 22:14:46 2017	(r436445)
+++ head/devel/bazel/distinfo	Sat Mar 18 22:19:27 2017	(r436446)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1485418133
-SHA256 (bazel-0.4.4rc1-dist.zip) = 573234b67ee4399d8ae1bccb5f57c8943bce8386f83be37fd1f06ffc9a7c4d7f
-SIZE (bazel-0.4.4rc1-dist.zip) = 93030753
+TIMESTAMP = 1489492711
+SHA256 (bazel-0.4.5rc7-dist.zip) = 493ac443013be7355a99ff226344b30723fbf53ef90ff1f34ea5c86f544b8658
+SIZE (bazel-0.4.5rc7-dist.zip) = 101503270

Modified: head/devel/bazel/files/patch-scripts_bootstrap_bootstrap.sh
==============================================================================
--- head/devel/bazel/files/patch-scripts_bootstrap_bootstrap.sh	Sat Mar 18 22:14:46 2017	(r436445)
+++ head/devel/bazel/files/patch-scripts_bootstrap_bootstrap.sh	Sat Mar 18 22:19:27 2017	(r436446)
@@ -1,15 +1,15 @@
---- scripts/bootstrap/bootstrap.sh.orig	1979-12-31 23:00:00 UTC
+--- scripts/bootstrap/bootstrap.sh.orig	2017-03-07 08:07:48 UTC
 +++ scripts/bootstrap/bootstrap.sh
-@@ -47,7 +47,7 @@ else
-         --host_javabase=$JAVA_HOME \
+@@ -43,7 +43,7 @@ else
+         --host_java_toolchain=//src/java_tools/buildjar:bootstrap_toolchain \
          --spawn_strategy=standalone \
          --nojava_header_compilation \
 -        --strategy=Javac=worker --worker_quit_after_build --ignore_unsupported_sandboxing \
 +        --strategy=Javac=standalone --ignore_unsupported_sandboxing \
          --compilation_mode=opt \
-         "${EXTRA_BAZEL_ARGS:-}"}
+         ${EXTRA_BAZEL_ARGS:-}"
  fi
-@@ -99,7 +99,7 @@ function bootstrap_test() {
+@@ -96,7 +96,7 @@ function bootstrap_test() {
    local BAZEL_BIN=$1
    local BAZEL_SUM=$2
    local BAZEL_TARGET=${3:-src:bazel}



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