head 1.16; access; symbols pkgsrc-2026Q1:1.15.0.2 pkgsrc-2026Q1-base:1.15 pkgsrc-2025Q4:1.14.0.2 pkgsrc-2025Q4-base:1.14 pkgsrc-2025Q3:1.13.0.4 pkgsrc-2025Q3-base:1.13 pkgsrc-2025Q2:1.13.0.2 pkgsrc-2025Q2-base:1.13 pkgsrc-2025Q1:1.11.0.4 pkgsrc-2025Q1-base:1.11 pkgsrc-2024Q4:1.11.0.2 pkgsrc-2024Q4-base:1.11 pkgsrc-2024Q3:1.6.0.4 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.6.0.2 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.5.0.2 pkgsrc-2024Q1-base:1.5 pkgsrc-2016Q2:1.3.0.2 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.2.0.2 pkgsrc-2016Q1-base:1.2; locks; strict; comment @# @; 1.16 date 2026.05.03.08.33.31; author wiz; state Exp; branches; next 1.15; commitid zMyebVZks0k3slEG; 1.15 date 2026.01.07.08.46.26; author wiz; state Exp; branches; next 1.14; commitid 1wQ3ICD8eebefrpG; 1.14 date 2025.12.15.03.37.01; author maya; state Exp; branches; next 1.13; commitid wMH43XSXpfxYgsmG; 1.13 date 2025.05.09.19.37.10; author wiz; state Exp; branches; next 1.12; commitid WCR78K3U9f0aFgUF; 1.12 date 2025.04.17.21.50.16; author wiz; state Exp; branches; next 1.11; commitid xcIXAVA292fk6sRF; 1.11 date 2024.12.17.15.06.37; author maya; state Exp; branches; next 1.10; commitid 784L7D9xJDY8LRBF; 1.10 date 2024.12.11.01.05.03; author maya; state Exp; branches; next 1.9; commitid G4R1mITPwjmei1BF; 1.9 date 2024.11.14.22.19.17; author wiz; state Exp; branches; next 1.8; commitid JmuDYqwL4erbdFxF; 1.8 date 2024.11.01.12.52.01; author wiz; state Exp; branches; next 1.7; commitid QB4Wk02mZPuBuWvF; 1.7 date 2024.11.01.00.51.15; author wiz; state Exp; branches; next 1.6; commitid QT27BdVP362gvSvF; 1.6 date 2024.05.29.16.31.58; author adam; state Exp; branches; next 1.5; commitid n8aFyEjEVZA0JUbF; 1.5 date 2024.01.01.12.00.58; author ryoon; state Exp; branches; next 1.4; commitid O2PcmBt1d9Sm1KSE; 1.4 date 2016.07.02.08.13.20; author joerg; state dead; branches; next 1.3; commitid VDStteiO1NMKNIcz; 1.3 date 2016.04.15.22.01.21; author joerg; state Exp; branches; next 1.2; commitid nbGVvX5RCZBhTL2z; 1.2 date 2016.03.25.21.14.19; author joerg; state Exp; branches; next 1.1; commitid hqfYGrXCzdk1j40z; 1.1 date 2016.03.01.20.45.31; author jmmv; state Exp; branches; next ; commitid kIcq69tmwthLUYWy; desc @@ 1.16 log @bazel: mark as BROKEN on NetBSD 11.99.* Needs the abseil fixes for elf symbols, but I can't find the magic to apply them - the sources for abseil are used, but not in the work directory. @ text @# $NetBSD: Makefile,v 1.15 2026/01/07 08:46:26 wiz Exp $ # Java project does not work as follows: # Error: could not find libjava.so # Error: Could not find Java SE Runtime Environment. # To bootstrap Bezel, apply all patches and run as do-build target # defines under Linux. .if UPSTREAM DISTNAME= bazel-6.4.0-dist PKGNAME= ${DISTNAME:S/-dist//} PKGREVISION= 8 MASTER_SITES= ${MASTER_SITE_GITHUB:=bazelbuild/} GITHUB_PROJECT= bazel GITHUB_RELEASE= ${PKGVERSION_NOREV} EXTRACT_SUFX= .zip .else DISTNAME= bazel-6.4.0-dist-netbsd PKGNAME= ${DISTNAME:S/-dist-netbsd//} MASTER_SITES= ${MASTER_SITE_LOCAL} .endif CATEGORIES= devel MAINTAINER= ryoon@@NetBSD.org HOMEPAGE= https://bazel.build/ COMMENT= Fast and correct build automation tool LICENSE= apache-2.0 BROKEN_ON_PLATFORM= ${LP32PLATFORMS} # external/com_google_absl/absl/debugging/internal/elf_mem_image.cc:355:43: error: member reference base type 'const Elf64_Versym' (aka 'const unsigned short') is not a structure or union # needs equivalent of devel/abseil/patches/patch-absl_debugging_internal_elf__mem__image.cc BROKEN_ON_PLATFORM= NetBSD-11.99.*-* WRKSRC= ${WRKDIR} USE_TOOLS+= bash:run pkg-config unzip zip USE_LANGUAGES= c c++ CHECK_PIE_SUPPORTED= no USE_JAVA= yes USE_JAVA2= 11 PKG_JVMS_ACCEPTED= openjdk11 REPLACE_BASH+= *.sh REPLACE_BASH+= scripts/*.sh REPLACE_BASH+= tools/*.sh REPLACE_BASH+= tools/*/*.sh SUBST_CLASSES+= prefix SUBST_STAGE.prefix= pre-configure SUBST_MESSAGE.prefix= Setting PREFIX SUBST_FILES.prefix+= tools/cpp/bsd_cc_toolchain_config.bzl SUBST_VARS.prefix+= PREFIX EXTRA_BAZEL_ARGS+= --tool_java_runtime_version=local_jdk EXTRA_BAZEL_ARGS+= --subcommands EXTRA_BAZEL_ARGS+= --jobs=${MAKE_JOBS:U1} MAKE_ENV+= EXTRA_BAZEL_ARGS=${EXTRA_BAZEL_ARGS:Q} INSTALLATION_DIRS+= bin do-patch: # TEMPORARY EXTRA PATCH until ryoon@@ regenerates this distfile ${CP} ${FILESDIR}/upb-bazel-clang.patch ${WRKDIR}/third_party/upb/upb-bazel-clang.patch # Do not perform patching. The tarball includes all patches. pre-configure: ${FIND} ${WRKSRC} | ${GREP} '\.orig$$' | xargs ${RM} # Do not use wrapped toolchain after installation ${RM} -r ${WRKDIR}/.cwrapper do-build: cd ${WRKSRC} \ && env ${MAKE_ENV} \ ${BASH} ./compile.sh do-install: # Do not strip bazel binary. It includes .zip archive. ${INSTALL_SCRIPT} ${WRKSRC}/output/bazel \ ${DESTDIR}${PREFIX}/bin # GCC generates unexpected .d files when -MD is specified. .include "../../lang/clang/buildlink3.mk" .include "../../lang/python/tool.mk" .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" @ 1.15 log @*: recursive bump for icu 78.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2025/12/15 03:37:01 maya Exp $ d31 3 @ 1.14 log @bazel: hacky method of patching a file to fix build We would prefer the distfile to include the patches, but since ryoon@@ is having trouble regenerating the distfile, introduce a workaround that fixes the build issue for now. Make sure the patch is also available in patches/, but it's not used. PR pkg/59590 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2025/05/09 19:37:10 wiz Exp $ d13 1 a13 1 PKGREVISION= 7 @ 1.13 log @*: bump for llvm 19 (shlib major changed) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2025/04/17 21:50:16 wiz Exp $ d61 2 @ 1.12 log @*: recursive bump for icu 77 and libxml2 2.14 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2024/12/17 15:06:37 maya Exp $ d13 1 a13 1 PKGREVISION= 6 @ 1.11 log @bazel: make bash a runtime dependency seems like some bazel packages are failing in bulk builds with errors about bash being missing. bazel has a builtin which includes "cmd_bash", so it'd be reasonable to assume bazel expects bash on unix-y systems. bump pkgrevision @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2024/12/11 01:05:03 maya Exp $ d13 1 a13 1 PKGREVISION= 5 @ 1.10 log @bazel: respect MAKE_JOBS during the bazel build command Other parts are still running with more resources than I'd like, but this is an improvement. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2024/11/14 22:19:17 wiz Exp $ d13 1 a13 1 PKGREVISION= 4 d33 1 a33 1 USE_TOOLS+= bash pkg-config unzip zip @ 1.9 log @*: recursive bump for icu 76 shlib major version bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2024/11/01 12:52:01 wiz Exp $ d55 1 @ 1.8 log @*: revbump for icu downgrade @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2024/11/01 00:51:15 wiz Exp $ d13 1 a13 1 PKGREVISION= 3 @ 1.7 log @*: recursive bump for icu 76.1 shlib bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2024/05/29 16:31:58 adam Exp $ d13 1 a13 1 PKGREVISION= 2 @ 1.6 log @revbump after icu and protobuf updates @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2024/01/01 12:00:58 ryoon Exp $ d13 1 a13 1 PKGREVISION= 1 @ 1.5 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 @d1 1 a1 1 # $NetBSD$ d13 1 @ 1.4 log @GC bazel, broken from the first day in tree. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2016/04/15 22:01:21 joerg Exp $ d3 19 a21 1 DISTNAME= bazel-0.2.0 a22 1 MASTER_SITES= ${MASTER_SITE_GITHUB:=bazelbuild/} d24 3 a26 3 MAINTAINER= jmmv@@NetBSD.org HOMEPAGE= http://bazel.io/ COMMENT= Google's own build tool d29 1 a29 1 BROKEN= Hard-coded and dependencies, obvious definition errors, ignoring wrappers d31 3 a33 1 EXTRACT_USING= bsdtar d35 1 a35 4 DEPENDS+= unzip-[0-9]*:../../archivers/unzip DEPENDS+= zip-[0-9]*:../../archivers/zip ONLY_FOR_PLATFORM= Darwin-*-* Linux-*-* d38 2 a39 20 USE_LANGUAGES= c++ USE_TOOLS= pkg-config PKG_JVMS_ACCEPTED= openjdk7 openjdk8 sun-jdk7 oracle-jdk8 SUBST_CLASSES+= conf SUBST_FILES.conf= src/main/cpp/blaze_startup_options.cc SUBST_MESSAGE.conf= Set path to system-wide bazel.bazelrc SUBST_STAGE.conf= pre-configure SUBST_SED.conf= -e s,/etc/bazel.bazelrc,${PKG_SYSCONFDIR}/bazel.bazelrc,g SUBST_CLASSES+= tools SUBST_FILES.tools= src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java SUBST_FILES.tools+= src/main/java/com/google/devtools/build/lib/rules/objc/ReleaseBundlingSupport.java SUBST_FILES.tools+= tools/build_defs/d/d.bzl SUBST_FILES.tools+= tools/build_rules/py_rules.bzl SUBST_FILES.tools+= tools/build_rules/rust/rust.bzl SUBST_MESSAGE.tools= Set path to tools SUBST_STAGE.tools= pre-configure SUBST_SED.tools= -e s,/usr/bin/unzip,${PREFIX}/bin/unzip,g SUBST_SED.tools+= -e s,/usr/bin/zip,${PREFIX}/bin/zip,g d41 24 a64 1 INSTALLATION_DIRS= bin d67 3 a69 1 cd ${WRKSRC} && ./compile.sh d72 7 a78 3 ${INSTALL_PROGRAM} ${WRKSRC}/output/bazel ${DESTDIR}${PREFIX}/bin/bazel .include "../../devel/zlib/buildlink3.mk" @ 1.3 log @Mark as BROKEN given the serious lack of quality. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2016/03/25 21:14:19 joerg Exp $ @ 1.2 log @Force extraction with bsdtar. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2016/03/01 20:45:31 jmmv Exp $ d12 2 @ 1.1 log @Initial addition of bazel-0.2.0: Bazel is a build tool that builds code quickly and reliably. It is used to build the majority of Google's software, and thus it has been designed to handle build problems present in Google's development environment, including: * A massive, shared code repository, in which all software is built from source. Bazel has been built for speed, using both caching and parallelism to achieve this. Bazel is critical to Google's ability to continue to scale its software development practices as the company grows. * An emphasis on automated testing and releases. Bazel has been built for correctness and reproducibility, meaning that a build performed on a continuous build machine or in a release pipeline will generate bitwise-identical outputs to those generated on a developer's machine. * Language and platform diversity. Bazel's architecture is general enough to support many different programming languages within Google, and can be used to build both client and server software targeting multiple architectures from the same underlying codebase. @ text @d1 1 a1 1 # $NetBSD$ d12 2 @