Mark as not MAKE_JOBS_SAFE.
Use ${PKGINFODIR}
Use ${PKGMANDIR} for manpages.
Define _POSIX_SOURCE on Linux.
Use pre-processing to make the changes introduced by patch-aa & patch-ac
as the original code is needed for linux.