When cross-building a package via a CROSS_SYSROOT, set OSVERSION,
_OSRELEASE, and OSREL to the target OS version. OSVERSION is derived
from the <sys/param.h> header in the sysroot. _OSRELEASE cannot be
easily derived from a sysroot as it is a property of a kernel, so
instead generate a "fake" _OSRELEASE from the OSVERSION, but use a
"-CROSS" branch name that will hopefully fail in any places that makes
assumptions about branch names.
Details
Details
- Reviewers
bapt - Group Reviewers
portmgr O5: Ports Framework - Commits
- rP472890: Set OS versions to target system versions for CROSS_SYSROOT.
- used in a dependent patch for base/binutils that alters the plist based on the target OS version
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable