Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now the build on FreeBSD was failing because the standards macros needed to expose SA_RESTART hid a bunch of BSD stuff. OpenBSD has _BSD_SOURCE and NetBSD has _NETBSD_SOURCE to deal with this, but FreeBSD and derivatives have no such thing. src/lib/libast/features/standards: - Define the internal undocumented macro __BSD_VISIBLE to expose the BSD stuff on FreeBSD. src/lib/libcmd/Mamfile: - Fix a parallelism bug discovered on FreeBSD (which creates processes extremely fast). When building with e.g. -j9, compilation of the *.c files started before the generation of cmdext.h was finished, causing the first couple of compilations to get an empty or incomplete cmdext.h. Add the 'prev' needed to wait for it.
- Loading branch information