[Bug 237075] devel/qt5-core: QSysInfo::productVersion() returns "unknown"
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Apr 9 17:10:00 BST 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237075
--- Comment #8 from Baptiste Daroussin <bapt at FreeBSD.org> ---
I don't like the idea of adding /etc/os-release.
At the sametime I think the uname usage is very fragile considering it will
give your the version of the kernel not the version of the userland, while if
you run the code in a FreeBSD 11 jail running on a 13-CURRENT host the output
would be wrong (except if one forces some variable environment).
That said, having a package that installs /usr/local/etc/os-release in an
accurate manner would be pretty easy and can probably do the trick with the
cost of almost no patches or upstreamable patches (configurable path to
os-release).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list