Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".
I tried to only set insource where explictely needed.
PR: 232038
Exp-run by: antoine
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using using Mk/bsd.octave.mk which in turn has USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
c++11-lang, c++0x, c11, or gcc-c++11-lib.
PR: 216707
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
After the last commit to this port [1], that updated DISTFILES, patch
errors were reported on pkg-fallout:
patch: **** can't cd to /wrkdirs/usr/ports/astro/gpstk/work/dev: No such file or directory
=> Patch patch-ext__lib__FileDirProc__FileHunter.cpp failed to apply cleanly.
*** Error code 1
This change replaces a WRKSRC override with a CMAKE_SOURCE_PATH
variable to declare the source directory and regenerates patchfiles
against the default WRKSRC.
While I'm here: switch to USES=cmake:outsource to match the build
instructions upstream [2]
It was also noted during testing that this port builds with the base
Clang c++ compiler and does not require USE_GCC. Upstream documentation
requires only 'a modern, ANSI compliant C++ compiler' [3]
[1] https://svnweb.freebsd.org/changeset/ports/399654
[2] http://www.gpstk.org/bin/view/Documentation/BuildingGPSTkUnderUnix
[3] http://www.gpstk.org/bin/view/Documentation/SystemRequirements
PR: 201196
MFH: 2015Q4