aboutsummaryrefslogtreecommitdiff
path: root/lang/gnat_util
Commit message (Collapse)AuthorAgeFilesLines
* Return ports maintained by John Marino to the pool, he is no longer interested.Rene Ladan2017-04-211-1/+1
| | | | | | | Submitted by: Mark Millard via private e-mail Notes: svn path=/head/; revision=439129
* Return the ports mistakenly reset to ports@ in r433856 to John Marino.Rene Ladan2017-02-151-1/+1
| | | | | | | | | | | The mistake was completely on my part, I somehow connected the dots the wrong way in my head. The only exceptions (for now) are archivers/zstd and ports-mgmt/synth which were already picked up by new volunteers in the mean time. Notes: svn path=/head/; revision=434195
* Return ports maintained by John Marino to the pool, see r433827 for detailsRene Ladan2017-02-111-1/+1
| | | | Notes: svn path=/head/; revision=433856
* Change Ada Framework foundation from gcc5-aux to gcc6-auxJohn Marino2016-04-301-3/+3
| | | | | | | | | | | | | | | | | | | GCC 6.1 was released this week. The Ada Framework in FreeBSD ports has been based on GCC 5.3 GNAT although GCC 6.x has been supported for awhile via the ADA_DEFAULT option in make.conf. Now that GCC 6 has been officially released, switch to it by default. People can maintain the old foundation by putting "ADA_DEFAULT=5" in /etc/make.conf. Libraries built by one GNAT are unusable by another, so almost every Ada port has been bumped as a result. Noticable exceptions are dns/ironsides which fails to build on gcc6 (thus USES=ada:5 is set) and cad/ghdl which needs additional testing as it may require gcc5 on FreeBSD (DragonFly uses the LLVM backend only). Notes: svn path=/head/; revision=414332
* lang/gnat_util: chase update to ada.mk (gcc6-aux support)John Marino2015-12-061-0/+2
| | | | Notes: svn path=/head/; revision=403153
* lang/gnat_util: Update for 2015 toolsJohn Marino2015-06-278-96/+277
| | | | | | | While here, convert autogen plist to static one. Notes: svn path=/head/; revision=390696
* Ada Framework: Switch to gcc5-aux, upgrade 6 packages at onceJohn Marino2015-06-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The transition from gcc-aux to gcc5-aux in the Ada framework has been blocked by the inability to build gtkada3 and, once resolved, GPS (due to tight locking with compiler). A few days ago, Adacore made their annual release of their main libre products, include GPS. However, some products were tightly coupled with the recent compilers, so in order to upgrade, the compiler had to be switched and dependencies require many ports to be upgraded at once: * lang/asis * devel/gnatcoll * devel/gps * x11-toolkits/gtkada3 * www/aws * www/aws-demos While the version upgrades were modest in most cases (gps, gtkada3), the amount of work put into each port was significant. There are too many improvements to mention here. A few include the removal of dynamic package lists and incorporating gnatcoll into gps to avoid building it twice. A private "exp-run" was done all on all 50+ Ada ports to ensure they still build. Also, a new argument was added to Uses/ada.mk, "run", that pulls in the GNAT compiler as a run depends. This was necessary for GPS that will not launch correctly without the compiler in place. Notes: svn path=/head/; revision=390464
* MASTER_SITES cleanup.Mathieu Arnold2015-05-141-2/+1
| | | | | | | | | | | | | | | | | | | | | | - Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=386312
* devel/gps: Restore missing project properties switchesJohn Marino2015-04-201-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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). Notes: svn path=/head/; revision=384383
* lang/gnat_util, devel/gprbuild: Support gcc5-auxJohn Marino2015-03-162-5/+5
| | | | | | | | | | | | | | | | | | GPRBuild is too highly tethered to the compiler -- in practical terms each version of GPRBuild is meant to be built by a specific GPL GNAT, but we're trying to build it with multiple FSF GNATS that are out of sync. This patch set does allow GPRBuild to build and apparently work with both gcc-aux and gcc5-aux. There is no real change for gcc-aux (OpenVMS is removed from the code but it should be same difference) ang for gcc5-aux, the previous patches aren't needed but new ones are. Thus, EXTRA_PATCHES had to be set for each of the two supported compilers. lang/gnat_utils had to be modified to stop packaging OpenVMS target files as apparently this target has been removed from gcc5-aux. Notes: svn path=/head/; revision=381407
* lang/gnat_util: Move PORTREVISION to central locationJohn Marino2014-10-211-1/+1
| | | | | | | | | | | Many of the ports based on gcc-aux sources have a central location defining their PORTREVISION to make it easy to reset all them all when the base version is updated. lang/gnat_util should have had, but did not and as a result the PORTREVISION didn't get reset at all. Centralize it for the future. Notes: svn path=/head/; revision=371323
* Remove @dirrm from 10 of my lang portsJohn Marino2014-10-161-6/+2
| | | | | | | The majority of these ports had generated plists, not static ones. Notes: svn path=/head/; revision=371003
* lang/gnat_util: Carry impunit.ad[bs] source filesJohn Marino2014-05-241-1/+4
| | | | | | | | | | | The GNAT Programming Studio needs the impunit.ad[bs] files in order to create a menu based on the gnat source code. Just carry these source files with the others that are used to build gnat_util and then use the GPS port makefile to pull it in as needed. A quick check with poudriere indicates that ports dependent on gnat_util still build fine. Notes: svn path=/head/; revision=355093
* lang/gnat_util: Add set_std_prefix and update_path symbolsJohn Marino2014-05-224-2/+58
| | | | | | | | | | | Rather than require each user of libgnat_util to link in set_std_prefix and update_path functions, let's assume each user needs the same version of these functions and just add them directly to the library. Adjust gnatcoll accordingly -- hack no longer necessary. Notes: svn path=/head/; revision=354892
* lang/gcc-aux: Upgrade from gcc-4.7.3 to gcc49-20140302 snapshotJohn Marino2014-03-141-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GCC4.9 hasn't been released yet, but the Ada portion of it is pretty stable and perfectly passes ACATS and gnat.dg testsuites. The only trick was to change the unwind mechanism on i386 away from KERN_PS_STRINGS because it will not work with 32-bit compatability mode on AMD64. This is because on AMD64, the signal trampoline is located on a random area on a shared page rather than a fixed location before KERN_PS_STRINGS. To support both true i386 and AMD64-32 compatibility mode, unwind now looks for frame pattern in all cases. Apparently stack checking has been broken on AMD64-32 until now. It is important to get the Ada Framework in ports to be based on gcc49 because this compiler supports the full Ada-2012 standard implementation, and in fact some new programs require this already. This port will stay on snapshots until 4.9.0 is released, then it will return to be based on releases. The Ada and C++ options have been removed. These are now always built. In fact, GCC now requires C++ to build, so new bootstraps had to be created. FreeBSD8 has its own bootstrap, and FreeBSD 9+ uses a pure static bootstrap (including GNAT tools) which should last a long time. Additionally a "Bootstrap" option was added, but this overrides all other options to create new bootstraps. It is not intended for general use. Most of the Ada Framework in ports has been pretested and adjusted to work with gcc49 out of the box, but some ports will need to be updated immediately, which will happen right after this one. The update to lang/gnat_util had to be synchronized with lang/gcc-aux because they share version information and the PORTREVISION needed to be reset. Notes: svn path=/head/; revision=348170
* lang/gnat_util: Fix licenses in PLISTJohn Marino2014-02-171-1/+1
| | | | | | | | | | The post-install target was overwriting the licenses which were already present in $TMPPLIST reported-by: antoine Notes: svn path=/head/; revision=344638
* lang/gnat_util: Specify LICENSE (GPLv3 + GPLv3RLE, same as gcc base)John Marino2014-02-151-0/+4
| | | | Notes: svn path=/head/; revision=344432
* lang/gnat_util: Convert to stagingJohn Marino2013-11-101-11/+7
| | | | Notes: svn path=/head/; revision=333404
* Add NO_STAGE all over the place in preparation for the staging support (cat: ↵Baptiste Daroussin2013-09-201-0/+1
| | | | | | | lang) Notes: svn path=/head/; revision=327741
* Add new port: lang/gnat_utilJohn Marino2013-07-217-0/+388
There are a number of GNAT tools that have to be build using the same exact sources as the compiler that it serves. Two examples of this are GPRbuild and ASIS. The latter is an important component of several other language semantic tools. Accordingly, a separate port is being created to build a static library that need these compiler sources. Incidentally, diverging sources is the reason devel/gprbuild-aux stopped building after lang/gcc-aux was upgraded. With this new scheme, this type of failure should no longer occur. This is a dependency of the upcoming lang/asis port, and must be specified as a build dependency by any port that needs ASIS. Approved by: bapt (mentor) Notes: svn path=/head/; revision=323388