[Bug 226526] devel/chromium-gn: current_os should return "freebsd"
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Mar 11 14:13:56 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226526
Bug ID: 226526
Summary: devel/chromium-gn: current_os should return "freebsd"
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: needs-patch
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: pizzamig at freebsd.org
Reporter: jbeich at FreeBSD.org
Flags: maintainer-feedback?(pizzamig at freebsd.org)
Assignee: pizzamig at freebsd.org
www/chromium patches current_os to return bsd on every platform that defines
OS_BSD. While those platforms are similar they're independent projects with
different ABIs. Some of userland APIs may not be available on all of BSDs. gn
already supports current_os=="netbsd" and OpenBSD has a patch[1] for
current_os=="openbsd".
For example, DragonFly and FreeBSD want OSS audio, OpenBSD wants sndio, NetBSD
wants SunAudio but WebRTC doesn't have OSS/SunAudio backends, so DragonFly can
only use ALSA layer on top of OSS while FreeBSD can also use PulseAudio. How
one would express such defaults with current_os=="bsd" ?
[1]
https://github.com/openbsd/ports/blob/master/www/chromium/patches/patch-tools_gn_args_cc
https://github.com/NetBSD/pkgsrc-wip/blob/master/chromium/patches/patch-tools_gn_args.cc
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list