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
The aws tools were linked to libssl without rpath. If libssl is not
located in a standard library search path, the rtld will not be able
to find it (as seen on Joyent dev area).
This change links the libssl runpath to the tools.
The configuration for the location of libz and libssl both were wrong,
and they were corrected with their respective BUILDLINK_PREFIX.
In addition, regardless of where libssl is located, the standard location
(/usr/include) was searched instead of relative to the library. This
required a patch to the GPR build in order to pass -I<loc> to the
compilation of C files.
The unnecessary removal of empty directories was removed as SunOS find
does not support the -empty switch.
Tested on Joyent dev area where both libz and libssl are not at /usr/lib.
The new gprbuild configuration files must have a slight difference
because it can no longer work with the standard buildlink. Passing
an additional directory in the pass will fix it though.
As seen on FreeBSD 8, aws doesn't build with the shared runtime option
with the upcoming gcc-aux version 4.9.0. Disable the option completely.
The option may return when AWS is updated to the latest version.
There is no dedicated change log but version 2.10 was introduced to
pkgsrc 2.5 years ago. The current capability is described by
http://docs.adacore.com/aws-docs/aws.html
This is roughly equivalent to Adacore release 2013 of aws.
The "gnutls" option was added as an alternative to ssl.
Oops, I thought the previous build passed.
It was missing a directory creation and it needs to specifically
pull in ldap and ssl buildlinks for those options, as well as
update the link parameters. Ride on the revbump from a few minutes ago.
1) Remove lang/gnat-aux dependency
2) USE_LANGUAGES+= ada (invokes lang/gcc-aux dependency)
3) Restore use of pkgsrc wrappers
4) Utilize custom capability of devel/gprbuild-aux Library_Options ("-R"
and "-Wl,-R" to redefine rpaths of shared libraries to remove
references to the work directory. This error was highlighted by new
updates to the PKG_DEVELOPER=yes checks.
5) Fix for Ada 2012 binding interpretation that prevented build on
lang/gcc-aux. (AI05-0115, aggregates with invisible components)
6) GPRBuild-based packages require USE_LANGUAGES+= c++ fortran in addition
to "c" and "ada" because GPRBUILD probes for these languages. If they
aren't on the language list, pkgsrc comes back with a warning message
that causes gprbuild to throw an unhandled exception due to a regex
failure. www/aws doesn't contain c++ or fortran despite the value of
USE_LANGUAGES.
and could cause problems when building as non-root, from John Marino
-put the build of demo programs (which was optionally, not switched
on per default) into its own pkg, to avoid builds in the "install"
phase and conditional PLIST entries
-misc cleanup, fix a DESTDIR glitch