- always add COPTS/CXXOPTS/CXXDIAGFLAGS. they're not defined, so what ?
the result is empty.
- always define WARNINGS and MODULES
- fix a small misoptimization after the recent DISTFILES handling cleanup
- regroup obsolete variables under a generic heading. bsd.port.mk(5) is
enough.
The extra _USE_* variables are a remnant of the original code (with manual
checks), they're not really needed.
Reorg things to be simpler/more consistent: group PATCHFILES and EXTRACT_ONLY
together, activate BUILD_DEPENDS on simpler patterns.
Also, conform to more style, have PATCHFILES/SUPDISTFILES always defined,
and test on empty.
shown to naddy@ and sthen@, fixed a few issues, and passes a full bulk
build.
change the way we do rescans again, to avoid race conditions:
just store away *all* pkgpaths related to the rescan (so that multi-packages
are covered) and then do the rescan. Hold those like we do for normal locks
but in a different list, and release them when the scan is over.
remove the atrocious shennanigans wrt fullpkgnames, it shouldn't be needed
again, hopefully.
building a port with EXTRA depends (meaning it depends on the dependency
being extractible), the normal rules don't really apply, it's not enough
for the package to exist, the listing must have solved its depends names.
textproc/gtk-doc is in BUILD_DEPENDS and force ac_cv_path_GTKDOC_* to null.
Even when --disable-gtk-doc is passed, if the gtk-doc tools are present at
configure time, they will be run (at a time where the gtk-doc package may have
been removed; for e.g. during a bulk).
This is what we've been doing under x11/gnome for a while now.
sthen@ espie@ and jasper@ agree
to ensure that a sane file mode are set.
Also use SUBST_CMD -m for rc.d scripts (it wasn't available at the time the
current code using a separate chmod was written).
Discussed with espie, slight tweaks to previous diff to take _FAKESUDO into
account.
bulk build, and I know at least two people (ajacoutot@ and me) that were
already bitten by this problem.
This somewhat increase check time, unfortunately, but not too much.
Test for this feature to follow after full unlock.