devel/gn 2345 MidnightBSD
Gn meta build framework - standalone version
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
16ef53681b- License
- bsd3
- Categories
- devel
Description
GN is a meta-build system that generates build files for Ninja.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/gn | 2345 |
| FreeBSD | devel/gn | 2345 |
| OpenBSD | devel/gn | 0.0.20251214p0 |
| NetBSD | wip/gn-git | 0.0.0 |
| DragonFly | devel/gn | 2175 |
| HardenedBSD | devel/gn | 2345 |
| GhostBSD | devel/gn | 2345 |
Install
Binary package:
mport install gn
From mports:
cd /usr/mports/devel/gn && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= gn>0:devel/gn
Dependencies
Required by 4
Configuration
No options to configure.
- USES
- compiler:c++20-lang ninja python:build shebangfix
- Service scripts
- none
- Conflicts with
- chromium-gn
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| cglogic-gn-v2345_GH0.tar.gz | 1.132416e+06 | c498e2b9598d71f2f6ec8a49f2636f22b87868a7fb6764837950d1e21835fb36 |
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
16ef53681b |
Lucas Holt | devel/gn: update to 2345 Required by newer Chromium/V8 build files, which use tool substitutions
and variables that 1962 does not implement (for example {{cc_module_name}}
in the cc/cxx tool commands).
Switch to compiler:c++20-lang and refresh patch-build_gen.py and
patch-src_gn_args.cc, which no longer applied against 2345.
Drop USES=alias: gn only reads __FreeBSD__ to select OS_FREEBSD, and
forcing -D__FreeBSD__=11 now collides with the compiler's own definition,
which gn's -Werror turns into a build failure.
AI-Assisted-by: Claude Opus 5 (1M context) <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |