Port details |
- gnat12 GNAT Ada compiler
- 12.3.0 lang =3 12.3.0Version of this port present on the latest quarterly branch.
- Maintainer: thierry@FreeBSD.org
- Port Added: 2022-12-11 18:42:13
- Last Update: 2024-05-19 10:14:44
- Commit Hash: 48f2a1c
- People watching this port, also watch:: wa-aspell, medit, ittapi, php81-pear, apache-log4j2
- License: GPLv2 GPLv3 GPLv3RLE
- WWW:
- https://www.adacore.com/community
- Description:
- This is an Ada compiler, from GCC-12.
Since Ada support must be built by an Ada-capable compiler, only platforms for
which a bootstrap compiler is available can build it.
It is based on release versions of the Free Software Foundation's GNU Compiler
Collection. It uses the GCC Runtime Library Exception, so the resulting
binaries have no licensing requirements. Binaries produced by the AUX compiler
should be legally handled the same as binaries produced by any FSF compiler.
It offers continuous improvements to the Ada 2022 standard since GCC 11.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/lang/gnat12/ && make install clean
- To add the package, run one of these commands:
- pkg install lang/gnat12
- pkg install gnat12
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: gnat12
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1710681867
SHA256 (gcc-12.3.0.tar.xz) = 949a5d4f99e786421a93b532b22ffab5578de7321369975b91aec97adfda8c3b
SIZE (gcc-12.3.0.tar.xz) = 85491976
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gcc12>0 : lang/gcc12
- bison : devel/bison
- gettext-runtime>=0.22_1 : devel/gettext-runtime
- gmake>=4.4.1 : devel/gmake
- as : devel/binutils
- Runtime dependencies:
-
- as : devel/binutils
- gcc12>0 : lang/gcc12
- Library dependencies:
-
- libgmp.so : math/gmp
- libisl.so : devel/isl
- libmpc.so : math/mpc
- libmpfr.so : math/mpfr
- libintl.so : devel/gettext-runtime
- This port is required by:
- for Build
-
- cad/ghdl
- devel/adacurses
- devel/alire
- devel/asfml
- devel/gprbuild
- devel/libgpr
- devel/matreshka
- for Run
-
- cad/ghdl
- devel/alire
- devel/asfml
- devel/gprbuild
- devel/libgpr
- devel/matreshka
- textproc/xmlada
Configuration Options:
- ===> The following configuration options are available for gnat12-12.3.0:
ASSETS=off: Build an asset for future bootstrap on the target platform
MULTILIB=on: Build support for 32-bit and 64-bit targets
NLS=on: Native Language Support
====> Options available for the radio BOOTSTRAP: you can only select none or one of them
GCC6AUX=off: Bootstrap from lang/gcc6-aux
PREVASSET=on: Bootstrap from the previous asset (if available)
===> Use 'make config' to modify these settings
- Options name:
- lang_gnat12
- USES:
- bison gettext-runtime gmake iconv libtool localbase tar:xz
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
- There is no master site for this port.
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
12.3.0 19 May 2024 10:14:44 |
Thierry Thomas (thierry) Author: Olivier Certner |
lang/gnat12: fix build on systems without 32-bit libraries
Disable MULTILIB in this case.
PR: 279143
Reported by: olce@ |
12.3.0 18 Mar 2024 20:32:22 |
Thierry Thomas (thierry) |
lang/gnat1?: force the usage of gettext
It appears that gettext is required even when NLS is disabled (surely
because the compiler used for bootstrap has been built with NLS).
No bump of PORTREVISION needed.
PR: 277508
Reported by: bob (at) vesterman.com |
12.3.0 17 Mar 2024 14:55:20 |
Thierry Thomas (thierry) |
lang/gnat12: follow lang/gcc12 and upgrade to 12.3.0 |
12.2.0_7 22 Jan 2024 20:26:41 |
Muhammad Moinur Rahman (bofh) |
lang/gnat12: Sanitize MANPREFIX
Approved by: portmgr (blanket) |
12.2.0_6 02 Jan 2024 17:03:14 |
Thierry Thomas (thierry) |
lang/gnat12: remove assets for FreeBSD-12 |
12.2.0_6 13 Dec 2023 21:48:38 |
Thierry Thomas (thierry) |
lang/gnat12: bootstrap from previous assets by default
All assets have been built, and it is now possible to bootstrap without
lang/gcc6-aux!
But the option GCC6AUX it not removed, just in case, if for some reason
we had to rebuild everything from the beginning.
Do not bump PORTREVISION: the resulting package should not be impacted. |
12.2.0_6 28 Nov 2023 18:36:23 |
Thierry Thomas (thierry) |
lang/gnat12: fix previous commit
In 5d276ab3adc9 distinfo was missing.
Reported by: Alastair Hogge <agh (at) riseup.net> |
12.2.0_6 23 Nov 2023 18:01:43 |
Thierry Thomas (thierry) |
lang/gnat12: fix ASSETS |
12.2.0_6 27 Oct 2023 15:36:35 |
Thierry Thomas (thierry) |
lang/gnat12: adding assets for FreeBSD-15
And since I’m there refresh the other versions.
Remark: no package is available ATM for FreeBSD-12 on aarch64, it is why
gcc6-aux is still the default. |
12.2.0_6 27 Oct 2023 15:36:35 |
Thierry Thomas (thierry) Author: Alastair Hogge |
lang/gnat12: Makefile maintenance
* Move gettext-runtime to NLS helper, including pkg-plist updates;
* Prefix all custom variable with an underscore
* Sort Makefile Blocks into correct order; this meant breaking down the
one if conditional covering MULTILIB into multiple conditionals spread
between each Block
* Remove ${INFOS}; this was probably meant to be ${INFO}. The Info pages
are removed later in the post-stage target, so there is no point
defining any.
* No need to define ${GNU_CONFIGURE_MANPREFIX}, the Ports framework
inherits this from ${MANPREFIX}, which is also defined in the port Makefile
* Explicitly enable C++ language to GNU configure; GNAT requires a
working C++ toolchain to build itself
* Move to bsd.port.options.mk/bsd.port.mk Makefile inclusion pair
* Prefer ${DISTVERION} over ${PORTVERSION}
* Remove @ from some Makefile ${COMMANDS} to prefer verbose build output
PR: 274619
Approved by: /me |
12.2.0_6 19 Oct 2023 07:07:28 |
Robert Clausecker (fuz) Author: Nico Sonack |
lang/gnat12: Add missing binutils RUN_DEPENDS and fix broken library search
paths
Any produce binary of the gnat12 Ada compiler that had dependencies
on libstdc++ from this package would result in broken binaries
because no RUNPATH and no ldconfig paths were set up such that the
included libstdc++ would get found.
While we're at it, add the missing binutils dependency because the
compiler driver would find the GNU assembler that is hardcoded in
the Makefile.
PR: 274239
Signed-off-by: Nico Sonack <nsonack@herrhotzenplotz.de>
Approved by: thierry (maintainer timeout, two weeks)
MFH: 2023Q4 |
12.2.0_5 12 Sep 2023 16:58:44 |
Thierry Thomas (thierry) Author: Olivier Certner |
lang/gnat12: add MULTILIB support, fix build on missing 32-bit libraries
PR: 273648
Reported by: Olivier Certner |
12.2.0_4 23 Apr 2023 09:09:58 |
Gerald Pfeifer (gerald) |
*: Bump PORTREVISIONs for math/mpc update to 1.3.1 |
12.2.0_3 28 Dec 2022 09:27:25 |
Thierry Thomas (thierry) |
lang/gnat12: add an asset for FreeBSD-12 / i386 |
12.2.0_3 26 Dec 2022 10:03:36 |
Thierry Thomas (thierry) |
lang/gnat12: fix plist for aarch64 and add assets
Add assets for FreeBSD-12 / amd64 and FreeBSD-13 / aarch64 |
12.2.0_3 26 Dec 2022 10:03:36 |
Thierry Thomas (thierry) |
lang/gnat12: force rpath
When lang/gcc12 is also installed, the programs installed by gnat12 might
load libraries of gcc12. This could become problematic if these two ports
get different versions.
Modification inspired by lang/gcc6-aux/files/diff-core. |
12.2.0_2 20 Dec 2022 17:08:29 |
Thierry Thomas (thierry) |
lang/gnat12: fix on arm64 and add an asset for FreeBSD-14 on i386 |
12.2.0_2 19 Dec 2022 16:54:23 |
Thierry Thomas (thierry) |
lang/gnat12: fix on i386 and add an asset for FreeBSD-13.1 / i386 |
12.2.0_2 15 Dec 2022 13:24:29 |
Thierry Thomas (thierry) |
lang/gnat12: remove programs suffix
Since GNAT is now installed in a specific prefix, we can simplify by
removing the programs suffix: this will avoid the usage of binary
aliases, only setting the PATH is necessary. |
12.2.0_1 13 Dec 2022 19:05:19 |
Thierry Thomas (thierry) |
lang/gnat12: install in a separate directory with its own gcc
Gnat runs along with a gcc compiled with Ada, but we don’t want neither
modify lang/gcc12 nor conflict with it. Therefore we have to install it
in a separate directory. |
12.2.0 12 Dec 2022 10:42:26 |
Thierry Thomas (thierry) |
lang/gnat12: mark IGNORE for the moment
Sorry, I made a mistake: it only works on my machines because it needs
gcc12 built from this port! gcc12 from lang/gcc12 is not sufficient. |
12.2.0 11 Dec 2022 18:38:00 |
Thierry Thomas (thierry) |
lang/gnat12: adding GNAT from Gcc-12
This Ada compiler is built from Gcc-12, with help from Stephane Carrez
(Ada France).
The first time it uses lang/gcc6-aux as a bootstrap, but it can produce
a bootstrap for the next time, either for this version or for the next
ones.
Yet to be done:
- plug it into Mk/Uses/ada.mk
- build more bootstrapping assets
(ATM they exist only for amd64 on FreeBSD 13 and 14)
- add a test target
- try to cross-compile for more platforms? |