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
- Support multiple values in *_OLD_CMD, i.e. we can now fix both "/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash, ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously) replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is still (correctly) replaced with "${perl_CMD} -tt")
Note that *_OLD_CMD items containing spaces must now be quoted (e.g. perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")
Update shebangfix usage according to new rules in many ports:
- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces
Fix shebangfix usage in many ports (irrelevant to infrastructure change):
- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for exact string
Approved by: portmgr (bapt)
Differential Revision: D3756
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).
The latest commits broke this port on DragonFly. The port uses the
base mk files rather than a standalone makefile, and will not build
without warnings appearing:
gpxloggerd.c:185:16: error: variable 'pt' set but not used
[-Werror=unused-but-set-variable]
To ensure -Werror flag is not passed to the build, set NO_WERROR for
the makefile.
Approved by: blanket (-Werror, restore DF)
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
depends on the camlp4 language and labltk ocaml modules, which are
now in separate ports.
- Update x11-toolkits/ocaml-lablgtk2 to 2.18.3
- Update graphics/ocaml-lablgl to 1.05
- Make unison ports use USE_OCAML
- Convert ports to the new flags where needed
- Bump PORTREVISION on ports depending on ocaml-lablgtk2, those need to be rebuilt
PR: 199845
Submitted by: jbeich@
Differential Revision: https://reviews.freebsd.org/D2434
Approved by: portmgr (mat)