Tested with QNX 6.5.0SP1.
Two things were needed:
* bootstrap needs to export ACCEPT_INFERIOR_RM_PROGRAM=yes on QNX,
because libarchive checks for "rm -f" (with no arguments) working in
configure. It doesn't seem to actually use it during the build, so
this works.
* QNX.sys.mk sets LORDER to echo, but sets TSORT to tsort -q. This
results in tsort complaining about having an uneven number of inputs,
since of course there are no dependency pairs.
Hence, if LORDER is overridden to echo, TSORT also needs to be
overridden to cat. Interestingly, Linux.sys.mk also sets LORDER=echo
and TSORT=tsort -q, so it's surprising this isn't broken as well?
pkglint -r --network --only "migrate"
As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
Bitrig uses ELF on amd64 & arm and does not have any legacy dependency on a.out.
Remove if statement to check $MACHINE_ARCH is x86_64 in-order to set $OBJECT_FMT
to ELF, preventing $OBJECT_FMT being set to a.out by mistake.
Reviewed by joerg@
* Reduce unnecessary diffs in Darwin, Linux, and SunOS mods.
* Sync WARNS flags on SunOS.
* Remove obsolete modifications to bsd.sys.mk and sys.mk on Darwin. This
primarily brings in PROG_CXX support.
Tested in bulk builds on all modified platforms.
My previous commit is wrong.
From share/mk/bsd.README of NetBSD src/:
NOGCCERROR If defined, prevents passing certain ${CFLAGS} to GCC
that cause warnings to be fatal, such as:
-Werror -Wa,--fatal-warnings
(The latter being for as(1).)
In !defined(NOGCCERROR) case, -Werror should be passed to CFLAGS.
This change may break many packages.
Initial patchset to add support by rodent@
Further adjustments made based on feedback by joerg@
Tested by myself with numerous bulkbuilds thanks to Patrick Wildt @ Bitrig
Reviewed by bsiegert@ joerg@ wiz@
NetBSD make library. Bump version (to 20131207, which was when I wrote
this.) Fixes the build of multimedia/bsdav.
Note: this is not a merge from NetBSD HEAD, but a minimal
reimplementation of the feature to get the job done.
These make templates really need to be merged with or replaced by the
latest versions from NetBSD HEAD. Anyone embarking on such a merge
should probably revert this change (which is only to bsd.prog.mk)
before doing so.
No objection after 3+ weeks on tech-pkg.
Introduce a modified bsd.own.mk on SunOS which enables MKCATPAGES by
default, and a modified bsd.man.mk which correctly installs catman
pages with a section suffix rather than a blanket '.0'.
This allows the SunOS man(1) to find the catman pages correctly.
Rewrite OpenBSD.bsd.man.mk, based on current NetBSD.bsd.man.mk and changed to
use mandoc.
Fixes manual pages installation with packages using USE_BSD_MAKEFILE=yes
on OpenBSD-5.0.
the same as SHLIB_MAJOR, don't try to symlink SHLIB_MAJOR. Otherwise
you lose the library and get a symlink pointing to itself, and things
fail later with ELOOP.
Fixes builds of packages that use bsd.lib.mk for shared libraries and
set only a major version number.