| Port details on branch 2026Q1 |
- build2 Cross-platform toolchain for building and packaging C++ code
- 0.17.0_1 devel
=0 0.17.0_1Version of this port present on the latest quarterly branch. - Maintainer: fuz@FreeBSD.org
 - Port Added: 2026-02-01 19:57:07
- Last Update: 2026-02-01 19:55:35
- Commit Hash: acd82d5
- License: BSD2CLAUSE BSD3CLAUSE MIT
- WWW:
- https://build2.org
- Description:
- build2 is an open source (MIT), cross-platform build toolchain that aims to
approximate Rust Cargo's convenience for developing and packaging C/C++
projects while providing more depth and flexibility, especially in the build
system.
¦ ¦ ¦ ¦ 
- Manual pages:
-
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- To install the port:
- cd /usr/ports/devel/build2/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/build2
- pkg install build2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: build2
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1725971116
SHA256 (build2-toolchain-0.17.0.tar.xz) = 3722a89ea86df742539d0f91bb4429fd46bbf668553a350780a63411b648bf5d
SIZE (build2-toolchain-0.17.0.tar.xz) = 6315460
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:

- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.4.1 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- Library dependencies:
-
- libsqlite3.so : databases/sqlite3
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for build2-0.17.0_1:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
- Options name:
- devel_build2
- USES:
- gmake pkgconfig sqlite tar:xz
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 1
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
0.17.0_1 01 Feb 2026 19:55:35
    |
Dimitry Andric (dim)  |
devel/build2: fix build with libc++ >= 20
With libc++ 20 or higher devel/build2 fails to build, with errors
similar to:
In file included from libbuild2/utility.cxx:27:
./libbuild2/script/regex.hxx:620:10: error: 'make_unsigned' cannot be
specialized: Users are not allowed to specialize this standard library entity
[-Winvalid-specialization]
620 | struct make_unsigned<build2::script::regex::line_char>
| ^
/usr/include/c++/v1/__type_traits/make_unsigned.h:75:8: note: marked
'_Clang::no_specializations' here
75 | struct _LIBCPP_NO_SPECIALIZATIONS make_unsigned {
| ^
/usr/include/c++/v1/__config:1167:9: note: expanded from macro
'_LIBCPP_NO_SPECIALIZATIONS'
Upstream committed a fix for this in
https://github.com/build2/build2/commit/7cf9cec, so add that as a patch
file.
PR: 292867
Approved by: fuz (maintainer)
MFH: 2026Q1
(cherry picked from commit ca0ca0a01359fe5acccf5a21c4acd2ceceefbd7a) |
Number of commits found: 1
|