head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.18 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.16 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.14 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.12 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.10 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.8 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.6 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.4 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.2 pkgsrc-2024Q1-base:1.1; locks; strict; comment @# @; 1.1 date 2024.01.01.12.00.58; author ryoon; state Exp; branches; next ; commitid O2PcmBt1d9Sm1KSE; desc @@ 1.1 log @devel/bazel: import bazel-6.4.0 {Fast, Correct} - Choose two Build and test software of any size, quickly and reliably. * Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds. * One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux. * Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo. * Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community. @ text @$NetBSD$ --- src/BUILD.orig 2023-11-29 11:57:08.056842619 +0000 +++ src/BUILD @@@@ -34,6 +34,7 @@@@ md5_cmd = "set -e -o pipefail && %s $(SR cmd = select({ "//src/conditions:darwin": md5_cmd % ("/sbin/md5", "/sbin/md5", "head -c 32"), "//src/conditions:freebsd": md5_cmd % ("/sbin/md5", "/sbin/md5", "head -c 32"), + "//src/conditions:netbsd": md5_cmd % ("/usr/bin/md5", "/usr/bin/md5", "head -c 32"), # We avoid using the `head` tool's `-c` option, since it does not exist # on OpenBSD. "//src/conditions:openbsd": md5_cmd % ("/bin/md5", "/bin/md5", "dd bs=32 count=1"), @@@@ -349,6 +350,7 @@@@ genrule( srcs = ["package-bazel.sh"], outs = ["package-bazel-on-host-platform.sh"], cmd = select({ + "//src/conditions:netbsd": "cat $(SRCS) | sed -e 's@@#!/bin/bash@@#!/usr/pkg/bin/bash@@' > $@@", "//src/conditions:openbsd": "cat $(SRCS) | sed -e 's@@#!/bin/bash@@#!/usr/local/bin/bash@@' > $@@", "//conditions:default": "cp $(SRCS) $@@", }), @