BSD Ports

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

SystemPortVersion
MidnightBSDdevel/gn2345
FreeBSDdevel/gn2345
OpenBSDdevel/gn0.0.20251214p0
NetBSDwip/gn-git0.0.0
DragonFlydevel/gn2175
HardenedBSDdevel/gn2345
GhostBSDdevel/gn2345

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

Configuration

No options to configure.

USES
compiler:c++20-lang ninja python:build shebangfix
Service scripts
none
Conflicts with
chromium-gn

Files

distinfo 1
FileSizeSHA256
cglogic-gn-v2345_GH0.tar.gz1.132416e+06c498e2b9598d71f2f6ec8a49f2636f22b87868a7fb6764837950d1e21835fb36

Commit history 1

DateCommitCreditsLog 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]>