aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2021-01-21 14:33:09 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2021-01-21 14:33:09 +0000
commitfb8e2945db4363e0388f75dd00951616ee6e17ab (patch)
tree1a5fd3e725f0cc53e8d3bcc7ac1dcb30d5087424 /devel
parent33a589234f7a2fe5245fd7c624af3c86ce1e6817 (diff)
downloadports-fb8e2945db4363e0388f75dd00951616ee6e17ab.tar.gz
ports-fb8e2945db4363e0388f75dd00951616ee6e17ab.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/bazel/Makefile12
-rw-r--r--devel/bazel/distinfo6
2 files changed, 12 insertions, 6 deletions
diff --git a/devel/bazel/Makefile b/devel/bazel/Makefile
index 846d6f1eea08..c17304c4c032 100644
--- a/devel/bazel/Makefile
+++ b/devel/bazel/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= bazel
-DISTVERSION= 3.7.0
+DISTVERSION= 4.0.0
CATEGORIES= devel java
MASTER_SITES= https://storage.googleapis.com/bazel/${PORTVERSION}/rc${FINALRC}/
DISTNAME= bazel-${PORTVERSION}rc${FINALRC}-dist
@@ -29,7 +29,7 @@ CONFLICTS_INSTALL= bazel029
# 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= 10
SHEBANG_REGEX= .*(sh|txt|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so)
USE_JAVA= yes
@@ -43,6 +43,12 @@ NO_WRKSUBDIR= YES
# The bazel binary is also a zip archive (extracted by the elf part), it must not be stripped
STRIP=
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "i386"
+EXTRA_PATCHES+= ${FILESDIR}/extra-i386_tools_cpp_BUILD.static.bsd
+.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.
@@ -80,4 +86,4 @@ do-install:
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/scripts/packages/bazel.bazelrc ${STAGEDIR}${ETCDIR}/bazel.bazelrc.sample
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/bazel/distinfo b/devel/bazel/distinfo
index 5d9b2b9c5a59..e890c74b431c 100644
--- a/devel/bazel/distinfo
+++ b/devel/bazel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1602268495
-SHA256 (bazel-3.7.0rc1-dist.zip) = 4fc2708163089860bead209d469828a93f8c3f797da0e11204cb49a78092d341
-SIZE (bazel-3.7.0rc1-dist.zip) = 313645240
+TIMESTAMP = 1610563376
+SHA256 (bazel-4.0.0rc10-dist.zip) = 0c0be85b23dcb83cc42eed0477a765a9de6ba16f85b643ea9e29206767efcd65
+SIZE (bazel-4.0.0rc10-dist.zip) = 274501737