Commit graph

12 commits

Author SHA1 Message Date
marino
9dc37477b3 devel/gps: Fix build on SunOS by using COMPILER_RPATH_FLAG
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.
2014-05-09 18:37:34 +00:00
marino
69d6a453b5 devel/gps: Fix missing rpath on gnatinspect which fails dev checks
I also verified that devel/gps does build on NetBSD 6.99, but not
NetBSD 6.1, so the NOT_FOR_PLATFORM is currently correct.
2014-05-01 09:00:27 +00:00
marino
1cb0d836a8 devel/gps: Disable on NetBSD 5 and 6, serious link issues
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.
2014-04-30 16:32:20 +00:00
marino
2558aa7396 devel/gps: Fix build on upcoming FSF GNAT 4.9
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.
2014-04-28 22:14:51 +00:00
marino
8063bf6f75 devel/gps: Upgrade GNAT Programming Studio to version 5.2.1
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.
2013-07-09 10:16:02 +00:00
marino
f609088524 devel/gps: Build with USE_LANGUAGES+= ada
1) Remove lang/gnat-aux dependency
2) USE_LANGUAGES+= ada (invokes lang/gcc-aux dependency)
3) Restore use of pkgsrc wrappers
4) Unreferenced pragma added, required to build with lang/gcc-aux
5) Ada 2012 binding interpretation fixes added, required to build with
   lang/gcc-aux
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.  devel/gps doesn't contain c++ or fortran despite the value of
   USE_LANGUAGES.
2012-07-08 20:23:50 +00:00
marino
5aa730962b devel/gps: Fix indirect linking on DragonFly 2012-05-16 17:56:48 +00:00
dholland
7e51ccdc8d Escape braces in gawk regexps; otherwise they become interval
expressions, and the latest gawk doesn't like invalid interval
expressions much.
2012-03-27 21:49:51 +00:00
marino
e700fcccda devel/gps: Use only direct DSO linking
GPR projects ignore LDFLAGS* from pkgsrc, so the GPS project file had to
be modified with new linker switches to X libs in order to make
gnu linker v2.22 happy.
2012-01-29 01:16:24 +00:00
marino
35a64b80e6 devel/gps: Upgrade to version 5.0.1
Originally this was an attempt to upgrade version 5.0.0 to version
5.1-RELEASE or even 5.2-DEVELOPMENT, but it turns out that those
versions require a GNAT Ada compiler based on gcc 4.7, which hasn't
had its first release yet.  This is mainly due to an change in the
project management API, but using the 4.7 source files fail to
compile due to the new SPARK restrictions.  Therefore GPS must
remain at 5.0.x until such time as GNAT-AUX is based on gcc 4.7.

This is a bug fix release.
The list of bug fixes is unknown, but it's confirmed the bug on the
project dialog, library tab has been fixed and thus those patches
are removed.

The Makefile was updated to allow GPS users to take advantage of
the numerous Python scripts, the Python console, and the python-GTK
bindings.  The option is present, but it has been removed from the
option list because the pkgsrc version of Python cause GPS to core
dump due to missing symbols in their dynamically-loaded libraries.
Version 2.6 and version 2.7 were both tested, and fail in different
ways.  For comparison, the FreeBSD version of GPS builds and operates
fine with Python 2.7, although at times similar "undefined symbol"
messages appear it that error log.  Once the issues with Python are
fixed, this new "python" option in options.mk will be re-enabled.
2011-10-14 17:22:06 +00:00
drochner
b5a49dfb49 fix project properties tab crash, from John Marino per PR pkg/45135
(PKGREV bumped)
2011-07-19 18:32:13 +00:00
drochner
764369e474 add gps-5.0.0, a Multi-language IDE with an emphasis on Ada, from
John Marino per PR pkg/44440
(Python wasn't regognized for me, that's why I've commented it
out for now. Needs a second look.)
2011-02-08 18:32:23 +00:00