You can now `make test' on any port to run test sequence, no-op by default.
If a port defines TEST_TARGET, it'll run sub-make with specified target,
usually `check' or `test', useful if upstream supports that. The port may
instead define custom do-test target, as well as usual satellite targets:
{pre,do,post}-test, {pre,do,post}-test-OPT, {pre,do,post}-test-OPT-off
`make test' builds and stages port first, so test may use both WRKDIR and
STAGEDIR, and both BUILD and RUN depends are available for test target.
Additionally, TEST_DEPENDS is now properly supported and may be used to
define additional depends specifically for testing.
Framework may define default tests for specific cases. For instance,
perl5.mk and cran.mk already provide default test target on their own.
This commit also converts my ports which have tests to this new framework.
Approved by: portmgr (bapt)
Differential Revision: D3680
All applications in the ports tree works correctly with unicode version of wxGTK
Newer version of wxGTK are unicode only (3.0+)
Note that now WX_UNICODE macro is noop
- Move Perl's man1 files along with its man3 files.
- Move where Perl installs its modules man1 pages.
- Convert the ports installing man1 pages.
- Make different Perl versions installable at the same time.
Though you should note that only the default version can be used to
install Perl modules, and the non default Perl versions cannot use the
modules installed via ports if they contain .so as they are installed
in a version specific directory.
Reviewed by: bapt (the Mk bits)
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3542
NO_BUILD does more than dummy do-build. It creates BUILD_COOKIE that marks
all targets in _BUILD_SEQ as done, including do-build-${opt}-on/off and
post-build-${opt}-on/off. Since the targets haven't been run yet
do-install-DOXYGEN-on fails due to missing files.
Fix by leaking a call to nop "all" target in vendor Makefile. It should
be less kludgy than defining our own dummy do-build and less confusing
than treating do-build itself as an option helper. In case "all" starts
doing something useful the port would automatically take advantage of it.
PR: 202951
Reviewed by: mat
Approved by: portmgr blanket
Even though the port still has a few FindIconv.cmake files scattered around,
they are not actually used by the build system anymore, so the dependency is
unnecessary.
Approved by: danfe (maintainer)
Differential Revision: https://reviews.freebsd.org/D3531
downside to having this set is that portscout cannot find new releases
when the username changes (which happens often in large projects with
multiple maintainers).