SunOS find does not support -empty. This was used by the post-install
target to remove empty directories, and the command consequently failed
there. It turns out that pkgsrc just ignores empty directories when it
is creating the package list so we don't need the target at all.
GPRBuild needs to be built with GNAT sources, so it now depends on
the new library lang/gnat_util. It installs two new programs:
gprinstall and gprslave. This is the latest version published by
Adacore.
1) Replace custom tarball with Adacore's GPL 2012 release
2) Update license to GPLv3
3) Remove lang/gnat-aux dependency
4) USE_LANGUAGES+= ada (invokes lang/gcc-aux dependency)
5) Update buildlink3.mk to require GPL 2012 version
6) Restore use of pkgsrc wrappers
7) Add Library_Option "-R" support which ignores all automatically
generated rpaths* which point to the WRKOBJDIR. DESTDIR isn't
supported by GPRBuild, so this rpath disabling is necessary to
avoid references to work directories.
* gcc and adalib rpaths are excluded with -R option.
8) This Library_Option "-R" matches the same modification added to
lang/gcc-aux and lang/gnat-aux's project handler.
9) This modification is required to fix www/aws rpath issues which
appears with recent changes to PKG_DEVELOPER=yes checks.
The GPRBuild Solaris targets were too specific and didn't recognize
GNAT-AUX on Solaris (actually OpenIndiana). This patch makes sure
GPRBuild-AUX can use GNAT-AUX and any other gcc-based compiler.