Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
This large commit accomplishes the following:
1) Switch USE_LANGUAGES=ada to require lang/gcc5-aux (gcc 5.4) instead
of lang/gcc-aux (gcc 4.9.2) on gcc.mk
2) Bump affected ports and fix paths as necessary
3) Upgrade devel/gprbuild to the latest release
- No longer requires lang/gnat_util
- gprslave requires gcc6-aux, so it was disabled for now
4) Fix lang/gnat_util but set PKG_SKIP_REASON
- It has no further purpose in the pkgsrc tree
- It has no practical purpose outside of the pkgsrc tree
- Indicate intent to remove from tree in Jan. 2017
5) Set devel/GPS as failed with PKG_FAIL_REASON
- This version of GPS is several years old and at the time they were
strongly tied to compiler.
- Latest release of GPS require gcc6-aux (not available) and several
new and complex dependencies
- maintainer (me) has no interest to continue supporting it
- Leaving GPS in place until Jan 2017 to give another person chance to
upgrade and take over support
- Latest version in FreeBSD Ports Collection as a reference point
Issues found with existing distfiles:
distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
distfiles/fortran-utils-1.1.tar.gz
distfiles/ivykis-0.39.tar.gz
distfiles/enum-1.11.tar.gz
distfiles/pvs-3.2-libraries.tgz
distfiles/pvs-3.2-linux.tgz
distfiles/pvs-3.2-solaris.tgz
distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
If lang/gcc-aux builds on NetBSD, it will be able to build GPS.
The system linker that lang/gcc-aux used has been replaced with the new
gold linker from devel/binutils (the ld.bfd linker is buggy with regards
to PIC files, the same bug was seen on OpenBSD 5.5).
The SunOS linker doesn't understand -rpath, so replace it with
COMPILER_RPATH_FLAG to fix build on SunOS.
Also removing empty directories in the post-install target is not
necessary on pkgsrc. The SunOS find program doesn't recognize -empty
switch, remove the redundant command to avoid error messages.
I've spent upwards on a day trying to fix a massive link failure on
GPS that appeared with the new gcc-aux compiler. My theory is that
the binutils 2.21 used with NetBSD 6 is not new enough for gcc 4.9.0.
However, gcc-aux will not build with devel/binutils -- there seems to
be a problem with handing PIC, at least on NetBSD.
For now, disable GPS building on NetBSD releases. I will try again
with NetBSD 6.99 which uses binutils 2.23. If that succeeds, then I'll
submit a PR against devel/binutils. I've tried everything I can think
of to get GPS to build on x86-64-NetBSD-6.1.4 but everything has failed.
This package has a couple of issues that the new gcc (GNAT) uncovered
on FreeBSD, and the fixes have been brought over:
1) GPS should have been built in production mode across the board.
There are some style check failures that appear in "debug" mode
due to gcc49 checks being stricter than gcc47 checks. Those issues
aren't actually fixed, but rather hidden by switching to production
which was desired anyway.
2) GCC had a couple of "ambiguous" complaints as well as an overlapping
variable used for both in and out parameters. Fixed with patches.
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.
Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.
Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.
Whitespace cleanups and other nits corrected, where necessary.
are replaced with .include "../../devel/readline/buildlink3.mk", and
USE_GNU_READLINE are removed,
* .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
are replaced with .include "../../mk/readline.buildlink3.mk".
This is a significant upgrade over version 5.0.1 which is currently in
pkgsrc, representing approximately two years of work. The latest online
documentation can be browsed here:
http://docs.adacore.com/gps-docs/users_guide/_build/html/
Changes to the package itself include:
* python now works and is a default option
* readline support is now an option and is default
* Multiple job support enable
* Documentation now generated by sphinx
Also the problem described in PR#47824 no longer occurs, so this PR will
be closed.
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.