HomeFreeBSD

sort: Only build FreeBSD-specific ALTMON_x stuff when ATLMON_1 is defined

Description

sort: Only build FreeBSD-specific ALTMON_x stuff when ATLMON_1 is defined

On MacOS, we bootstrap sort. Since ALTMON_* are not defined there, the
build blows up. Since we don't need this feature for the FreeBSD build
process, and since we won't use it unless we actually install the NL
files that have this data in it, just #ifdef it out for now. In the
extremely unlikely event that the FreeBSD bootstrap/build process grows
this dependency, we can evaluate the best solution then (which most
likely is going to be not depend on the local's month names).

Fixes: 3d44dce90a69 (MacOS builds and github CI)
Sponsored by: Netflix
Reviewed by: jrtc27, jlduran@gmail.com, markj
Differential Revision: https://reviews.freebsd.org/D42868

Details

Provenance
impAuthored on Dec 7 2023, 8:27 PM
Reviewer
jrtc27
Differential Revision
D42868: sort: Only build FreeBSD-specific ALTMON_x stuff when ATLMON_1 is defined
Parents
rG3e7e3b5bdf90: cp: Don't warn for chflags() failing with EOPNOTSUPP if flags == 0
Branches
Unknown
Tags
Unknown