Index: head/devel/bazel/Makefile =================================================================== --- head/devel/bazel/Makefile (revision 472191) +++ head/devel/bazel/Makefile (revision 472192) @@ -1,91 +1,91 @@ # Created by: Klaus Aehlig # $FreeBSD$ PORTNAME= bazel -DISTVERSION= 0.13.0 +DISTVERSION= 0.14.0 CATEGORIES= devel java MASTER_SITES= https://storage.googleapis.com/bazel/${PORTVERSION}/rc${FINALRC}/ DISTNAME= bazel-${PORTVERSION}rc${FINALRC}-dist MAINTAINER?= aehlig@linta.de COMMENT= Fast and correct build system LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_armv6= fails to package: cp: bazel: No such file or directory BROKEN_armv7= fails to package: cp: bazel: No such file or directory BUILD_DEPENDS= bash:shells/bash \ zip:archivers/zip # 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= 5 USES= shebangfix zip:infozip python SHEBANG_REGEX= .*(sh|txt|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so) USE_JAVA= yes JAVA_VENDOR= openjdk JAVA_VERSION= 1.8 JAVA_BUILD= yes JAVA_RUN= yes NO_WRKSUBDIR= YES CONFLICTS_INSTALL?= bazel-clang38 OPTIONS_DEFINE= CLANG38 CLANG38_DESC= Use clang38 as default crosstool CLANG38_BUILD_DEPENDS= clang38:devel/llvm38 CLANG38_RUN_DEPENDS= clang38:devel/llvm38 STRIP= # The bazel binary is also a zip archive (extracted by the elf part), it must not be stripped .include .if ${ARCH} == "i386" EXTRA_PATCHES= ${FILESDIR}/extra-i386_src_BUILD ${FILESDIR}/extra-i386_tools_cpp_BUILD.static.freebsd .endif # Have the location of the system-wide rc file reside ${ETCDIR}. # Also adapt the sample file to disable persistent java workers as they # do not work reliably on FreeBSD. post-patch: @${REINPLACE_CMD} \ -e "s|\"/etc/bazel.bazelrc\"|\"${ETCDIR}/bazel.bazelrc\"|" \ ${WRKSRC}/src/main/cpp/blaze_util_posix.cc @${ECHO_CMD} build --strategy=Javac=standalone >> ${WRKSRC}/scripts/packages/bazel.bazelrc @${ECHO_CMD} build --python_path=${PYTHON_CMD} >> ${WRKSRC}/scripts/packages/bazel.bazelrc @${REINPLACE_CMD} \ -e 's|\$$command|$$command --python_path=${PYTHON_CMD}|' \ ${WRKSRC}/scripts/bootstrap/bootstrap.sh @${REINPLACE_CMD} \ -e 's|/usr/bin/env python|${PYTHON_CMD}|' \ ${WRKSRC}/src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java post-patch-CLANG38-on: @${REINPLACE_CMD} -e 's=/usr/lib/clang=${LOCALBASE}/llvm38/lib/clang=' \ -e 's=/usr/bin/clang=${LOCALBASE}/bin/clang38=' ${WRKSRC}/tools/cpp/CROSSTOOL do-build: @${MKDIR} ${WRKDIR}/bazel_tmp (if [ -z "$${SOURCE_DATE_EPOCH}" ] ; \ then SOURCE_DATE_EPOCH=`grep TIMESTAMP ${DISTINFO_FILE} \ | ${SED} -e 's/[^0-9]//g'`; \ fi ; \ cd ${WRKSRC} && \ ${SETENV} BAZEL_SH=${LOCALBASE}/bin/bash \ TMPDIR=${WRKDIR}/bazel_tmp \ EMBED_LABEL='${PORTVERSION}' \ PATH=${LOCALBASE}/bin:$$PATH \ SOURCE_DATE_EPOCH=$${SOURCE_DATE_EPOCH} \ ${LOCALBASE}/bin/bash ./compile.sh) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/output/bazel ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/scripts/packages/bazel.bazelrc ${STAGEDIR}${ETCDIR}/bazel.bazelrc.sample .include Index: head/devel/bazel/distinfo =================================================================== --- head/devel/bazel/distinfo (revision 472191) +++ head/devel/bazel/distinfo (revision 472192) @@ -1,3 +1,3 @@ -TIMESTAMP = 1525021158 -SHA256 (bazel-0.13.0rc5-dist.zip) = 92e86b25425bdec624e8ebb9e6b2cc3d814c2e400624c95fd69424792f6b3945 -SIZE (bazel-0.13.0rc5-dist.zip) = 90102112 +TIMESTAMP = 1527632804 +SHA256 (bazel-0.14.0rc5-dist.zip) = cb646bac37a81790fb394a84b03a1865c5fbb35d403273f5fee1f0564fa3a585 +SIZE (bazel-0.14.0rc5-dist.zip) = 89412764 Index: head/devel/bazel/files/patch-scripts_bootstrap_bootstrap.sh =================================================================== --- head/devel/bazel/files/patch-scripts_bootstrap_bootstrap.sh (revision 472191) +++ head/devel/bazel/files/patch-scripts_bootstrap_bootstrap.sh (revision 472192) @@ -1,11 +1,11 @@ --- scripts/bootstrap/bootstrap.sh.orig 2017-11-11 21:44:20 UTC +++ scripts/bootstrap/bootstrap.sh -@@ -47,7 +47,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 --curses=no \ - --compilation_mode=opt \ - ${EXTRA_BAZEL_ARGS:-}" - fi +@@ -34,7 +34,7 @@ + --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 --curses=no \ + --compilation_mode=opt \ + ${EXTRA_BAZEL_ARGS:-}" + Index: head/devel/bazel/files/patch-scripts_bootstrap_buildenv.sh =================================================================== --- head/devel/bazel/files/patch-scripts_bootstrap_buildenv.sh (revision 472191) +++ head/devel/bazel/files/patch-scripts_bootstrap_buildenv.sh (revision 472192) @@ -1,11 +1,11 @@ ---- scripts/bootstrap/buildenv.sh.orig 2017-11-11 22:06:52.302048000 +0000 +--- scripts/bootstrap/buildenv.sh.orig 1979-12-31 23:00:00 UTC +++ scripts/bootstrap/buildenv.sh -@@ -215,7 +215,7 @@ +@@ -215,7 +215,7 @@ function clear_log() { rm -f ${phasefile} } -LEAVES="\xF0\x9F\x8D\x83" +LEAVES="[LEAVES]" INFO="\033[32mINFO\033[0m:" WARNING="\033[31mWARN\033[0m:"