freebsd-ports/lang/gcc-aux
John Marino 24f22869a9 devel/gps: Restore missing project properties switches
The project properties were missing several tabs in the "switches"
sections, but it wasn't immediately obvious why.  It turns out that this
was caused by a missing generated file (gnat_switches.py).  Restoring
that file along with having PATH set to the Ada compiler restored the
missing tabs.

The trick is that the generated file needs a texi file that is not present
in the distfile.  The texi file was discarded by gnat_util (and its parent
gccX), so the solution is change gnat_util to install the file at its own
DOCDIR.  Pregeneration of the gnat_switches.py is a bad idea IMO, so we
stick with the intended generation.

while here, install gps as gps_exe and create a wrapper named "gps" that
will define ADA_PROJECT_PATH and a PATH component to the Ada compiler if
they aren't already defined.  GPS malfunctions a bit if it can't find the
compiler or standard library project files.  Using a wrapper is nice for
new users that don't realize environmental changes are needed.

I also changed the install scripts to use BSD_INSTALL_* macros which
eliminated the need to use the install-strip INSTALL_TARGET.

Finally -- it seems that the ADAXX trick to pull in gcc-aux's versioning
for the PORTREVISION stopped working recently although the PORTVERSION
still worked.  There's a new catch-22 where <pre> was needed to evaluate
USES=ada, but if <pre> is called, PORTREVISION value is frozen.  Failure
to use <pre> resulted in an inclusion failure.  The only fix available
was to recreate the ada.mk logic.  Since gnatdroid is still hardcoded to
gcc-aux, only gnat_util was affected (discovered when poudriere failed
to rebuild it).
2015-04-20 20:00:00 +00:00
..
files lang/gcc-aux: Update version 20140422 (4.9.0) => 20140716 (4.9.1) 2014-10-15 11:25:50 +00:00
distinfo lang/gcc-aux: Update version 20140716 (4.9.1) => 20141023 (4.9.2) 2014-11-02 01:11:04 +00:00
Makefile Split devel/gettext in devel/gettext-runtime and devel/gettext-tools. The 2014-11-29 18:22:32 +00:00
Makefile.common lang/gcc-aux, lang/gcc47-aux, lang/gnatdroid-arm*: Add CPE information 2015-03-05 09:01:26 +00:00
Makefile.version devel/gps: Restore missing project properties switches 2015-04-20 20:00:00 +00:00
pkg-descr lang/gcc-aux: Correct information about license in pkg-descr 2015-03-13 14:41:57 +00:00