git: 7f1928fc6827 - main - science/libtensorflow1: disallow newer Bazel

From: Chris Rees <crees_at_FreeBSD.org>
Date: Sun, 12 Jun 2022 20:01:36 UTC
The branch main has been updated by crees:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7f1928fc68273b24685ec3baf09896382a47fa4b

commit 7f1928fc68273b24685ec3baf09896382a47fa4b
Author:     Chris Rees <crees@FreeBSD.org>
AuthorDate: 2022-06-12 19:55:48 +0000
Commit:     Chris Rees <crees@FreeBSD.org>
CommitDate: 2022-06-12 20:01:13 +0000

    science/libtensorflow1: disallow newer Bazel
    
    Does not build with newer Bazel:
    
    Repository rule git_repository defined at:
      /usr/ports/science/libtensorflow1/work-default/bazel_out/98e92f9393bc83ca8c28c921fe93f245/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in <toplevel>
    ERROR: /usr/ports/science/libtensorflow1/work-default/bazel_out/98e92f9393bc83ca8c28c921fe93f245/external/io_bazel_rules_docker/container/image.bzl:550:31: invalid escape sequence: \s. Use '\\' to insert '\'.
    
    PR:             ports/260694
    Discovered by:  Dario <darioml@gmail.com>
---
 science/libtensorflow1/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/science/libtensorflow1/Makefile b/science/libtensorflow1/Makefile
index e34701ead645..7b58f04e7ca8 100644
--- a/science/libtensorflow1/Makefile
+++ b/science/libtensorflow1/Makefile
@@ -19,7 +19,7 @@ LICENSE_PERMS_THIRD_PARTY_TF_C_LICENSES=	dist-mirror dist-sell \
 ONLY_FOR_ARCHS=	amd64
 
 BUILD_DEPENDS=	bash:shells/bash \
-		bazel:devel/bazel029 \
+		bazel029<1:devel/bazel029 \
 		git:devel/git
 
 FLAVORS=	default noavx