GPRbuild is an advanced software tool designed to help automate the
construction of multi-language systems. It removes the complexity from
multi-language development by allowing developers to quickly and easily
compile and link software written in a combination of languages including
Ada, Assembler, C, C++, and Fortran. Easily extendable by users to cover
new toolchains and languages it is primarily aimed at projects of all sizes
organized into subsystems and libraries and is particularly well suited for
compiled languages.
===> The following configuration options are available for gprbuild-26.0.0,1:
DOCS=on: Install extensive online HTML documentation
EXAMPLES=on: Build and/or install examples
====> Application production type: you can only select none or one of them
COVERAGE=off: Produce instrumentation data for analysis
DEBUG=off: Produce symbols for debugging
PRODUCTION=on: Produce for release/production
PROFILE=off: Produce instrumentation data for profiling
===> Use 'make config' to modify these settings
devel/gprbuild: Improve option DEBUG
devel/gprbuild:
* Currently options DEBUG is ${BROKEN} because of some warnings from
libgpr and between the Port and the GNAT tool-chain. Replace the
${BROKEN} statement with a new variable that is passed to the libgrp
do-build phase that attenuates the tool-chain warnings
PR: 296655
devel/gprbuild: Update to 26.0.0
Update to 26.0.0:
* Add all build application options, however DEBUG is broken due to
style violations in the GNAT tool-chains
* De-couple the install from the GNAT ${PREFIX}, and install GPR tools
into ${PREFIX}. This makes the GPR tools available in the usual
${PATH} namespace
* Install Sphinx generated manual page
* Install Ada Library Information files (.ali) into
${PREFIX}/libdata/gprbuild instead of in ${PREFIX}/lib/ this respects
the default layout described in hier(7)
* Patch build to enable GPR searching in ${PREFIX}/share/gpr, instead
of the current limitation constraining it to the GNAT prefix. This
makes it easier for integration and use of other Ada
(Only the first 15 lines of the commit message are shown above )
cleanup: Remove ports depending on expired lang/gcc6-aux
Keep ports-mgmt/synth and dependencies (including lang/gcc6-aux itself)
for now as synth is the only Ada port still maintained and might be
somewhat high-profile.
Removed ports:
archivers/zip-ada
cad/ghdl
databases/adabase
databases/apq
databases/apq-mysql
databases/apq-odbc
databases/apq-pgsql
devel/ada-util
(Only the first 15 lines of the commit message are shown above )
Return the ports mistakenly reset to ports@ in r433856 to John Marino.
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.
devel/gprbuild: Upgrade version 20150506 => 20160609
GPRBuild build is now hosted on github, so we can move away from the
yearly releases and update more frequently. Unfortunately the docs
makefile is currently broken so docs are disabled currently. When
they come back, only txt and html docs will be supported.
This new version detected a missing reference in the template-parser
port so that port has been fixed and the downstream ports bumped
accordingly.
It also discovered an interface specification issue in a designer
example of qtada. I spent a few minutes trying to fix/workaround it,
but ultimately marked it broken. I will also deprecate the port because
it no development has occurred since the port was created, and it's not
even based on a real release. We'll see if anybody cares (3 month
deprecation).
textproc/xmlada: Upgrade version 4.6.0.0 => 17.0.0 (scheme change)
The numbering scheme changed to presumably match years (e.g. 17 => 2017)
Bump everything with a build dependency as there is a matching soname
change. Everything still builds on a DF exp-run.
Change Ada Framework foundation from gcc5-aux to gcc6-aux
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).
devel/gprbuild: Fix regression
One of the prior "extra patches" handled the breakage caused by the
version number change in GCC. When I purged all the extra patches, this
one got thrown out accidently. Add it back to fix at least the
textproc/templates_parser port (and probably others)
devel/gprbuild: Upgrade version 2014 => 2015
This upgrade was necessary because the latest version introduces new
switches that Adacore software already uses. I'd been working around
it be replacing, for example, "gprinstall" with manual install targets.
More importantly, gprbuild is built with project files. This requires
either gnatmake (which will drop this functionality on next gcc version)
or a copy of gprbuild already installed. Since I don't want to carry
binary bootstraps, I wrote a new BSD-style makefile to avoid gprbuild
as a dependency for itself.
Unlike GPS 2014, it uses the gnat sources that it was provided with
instead of gnat_util library. The gpr* sources use functions not yes
in FSF GNAT and only one regression patch is needed when built by
gcc5-aux. This probably cannot be built by gcc-aux, but there are
already several things preventing the return to gcc-aux (over gcc5-aux).
I didn't bother with the examples so these are no longer installed, and
I didn't install "info" version of documention which follows my other
ports. (pdf, txt, and html versions are still installed)
textproc/xmlada: Upgrade version 4.5.0.0 => 4.6.0.0, overhaul make system
Due to the unavailability of a public repository, this version uses
Adacores 2015 distribution of xmlada. It's probably a minor update
from the previous one.
The major change, however, is the creation of a custom makefile to build
and install xmlada. Why? because gnatmake will lose the ability to
build project files in the near future, so xmlada makefiles were changed
to use gprbuild to build and itself it. One problem: gprbuild needs
xmlada as a build dependency. (and it also needs gprbuild to build
itself!!) I could have chosen to keep using gnatmake, but I decided to
bite the bullet, fix it correctly now and not have to get stuck by it
by future versions of gnat that remove project management from gnatmake.
(Only the first 15 lines of the commit message are shown above )
lang/gnat_util, devel/gprbuild: Support gcc5-aux
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.
marino 12 devel ports: Remove @dirrm, tend install commands, plus
The main purpose of this commit is to remove @dirrm from the pkg-plist of
some of my ports in devel category. While here, also:
* Unmask some commands
* Use parenthesis on compound commands for multi-job support
* Add a license in one case
* USES=python conversion in one case
* Add WWW and reformat description in one case
* Respect 80-columns
devel/gprbuild: Upgrade version 20130416 (2013) => 20140417 (2014)
Adacore provides annual releases for its major GPL-licensed products.
GPRBuild is an important tool, but it's source is only exposed once
per year, in May. The 2014 release of GPRBuild relies on features in
Adacore's commercial product, GNAT Pro, that has not yet been migrated
to FSF GNAT. I had to patch 2014 to get it to build with FSF GNAT 4.9,
losing minor new functionality in the process.
My first decision was to simply skip GPRBuild 2014 stay on the 2013
version, but it turns out packages are already using the new features
in gprinstall, one of the tools in the GPRBuild package.
Tests on adabooch, aws, asis and opentoken indicate they build fine
with GPRBuild 2014.
devel/gprbuild: Pet Jenkins by fixing PORTEXAMPLES definition
I could have sworn that "." was a legitimate value for PORTEXAMPLES,
which accepts directories. I believe I tested it, but it's not working
now. Change it from "." to "*" (which is common), and bump the port
to please Jenkins.
Reported by: swills
devel/gprbuild: Fix build bug that prevented parallel building
The BUILD and PROCESSOR definitions were supposed to be part of
MAKE_ARGS, but they somehow ended up in CONFIGURE_ARGS. This prevented
parallel building and building with the "production" profile. The
latter causes binary changes, hence the revbump.
devel/gprbuild: New version as result of gcc-aux upgrade to gcc49
GPRBuild was previously based on the 2012 release, but it never should
have gone past the 2011 issue. GPRBuild needs to use the same sources as
the GNAT that builds it, but it was built with the embedded sources
instead. These "GPL" sources were ahead of the "FSF" sources, and
GPRBuild only worked by chance. Using the proper GNAT Sources (gnat_util)
resulted in build failure! Now gcc-aux has been updated and now
GPRBuild 2013 can be properly built with FSF GNAT 4.9 sources.
Replace John Marino email address with FreeBSD version
While I'm here, also trim the headers on a couple of ports and remove
a reference to the Dragonlace mirror which is down indefinitely.
Approved by: bapt (mentor)
The devel/gprbuild-aux is heavily tied with lang/gnat-aux. No other gnat
compiler can use it (e.g. lang/gnat).
This new port intends to be more versatile although the only verified compiler
atm is lang/gcc-aux. Once the two port that depend on gprbuild are updated,
devel/gprbuild-aux should be removed
main points:
1) supports new USES+= ada
2) Updated to GNAT GPL 2012 source
3) supports DESTDIR (tested on pkgsrc)
4) improved targetsets
5) Includes custom support for -R RPATH support (only found here, I created it)
PR: ports/178146
Submitted by: John Marino <draco@marino.st>