This represents major changes with gnatdroid.
The sysroot is no longer API 9 or 19, but a choice of API 8, 9, 15,
16, 17, 18, or 19. The prefix is not androidX but just "android".
The binutils port had to be adjusted due to the prefix change.
Finally, gnatdroid-armv(5,7) was substancially reworked to use
gcc-aux (4.9) instead of gcc47-aux (4.7). This means the new ARM
unwinder is in use (zero cost exceptions). Only 6 ACATS tests are
failing, they are related to the missing stack check capability.
Future work will speed up ACATS remote device testing and hopefully
enable gnat.dg testing too.
This is the first of two steps to update the gnatdroid ARM cross-
compilers. The sysroot was 10 versions behind the current API level
of 19. The latest API level drops ARMv5 support, but the API is
backwards compatible, so if applications restrict themselves to
level 18 features, then ARMv5 should still be usable.
The next step is to base the cross compilers on GCC 4.9 instead of the
GCC 4.7-based gcc47-aux port.
The licenses get added to ${PREFIX}/share. Since gnatdroid's binutils
are in a non-standard location, they are the only users of the share
directory. We need to make sure this directory is removed upon when
port is deinstalled.
reported by: pkg-fallout
Seven patches were present that barred this port from building and, more
importantly, installing info pages and man pages. Reduce the patch count
from nine to two by allowing the documentation to build and install in
the stage directory, but then moving the documentation out of the way
before staging occurs. The remaining two patches were regenerated
although they did apply "cleanly".
I've discovered another reason to bump PORTREVISION is when RUN_DEPENDS
changes. Pkg-fallout is still complaining about a problem that has long
since been resolved, so bump this port to force pkg-fallout to rebuild it.
A pkg-fallout notice was received for gnatdroid, saying that lang/gcc and
lang/gnatdroid-* were installing files in the same place. It turns out
that gnatdroid-binutils was pulling lang/gcc in unnecessarily. With
--disable-werror, it builds on clang on F10 just fine.
While here, convert USE_GMAKE too. Soon all gnat* ports will be
updated with the latest for ports, this is just a stop-gap fix.
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)
rely on gcc. The patch uses the new USE_GCC=any code in Mk/bsd.gcc.mk to
accomplish this.
The ports chosen were ports that blocked 2 or more ports from building with
clang. (There are several hundred other ports that still fail to build with
clang, even with this patch. This is merely one step along the way.)
Those interested in fixing these ports with clang, and have clang as their
default compiler, can simply set FORCE_BASE_CC_FOR_TESTING=yes.
For those who have gcc as their default compiler, this change is believed
to cause no change.
Hat: portmgr
Tested with: multiple runs on amd64-8-exp-bcm and 9-exp-clang, with various
combinations of patch/no-patch and flag settings.
required to build the GNAT FreeBSD->ARM cross-compiler that is gnatdroid,
as well as any binaries that it produces.
WWW: http://www.dragonlace.net
PR: ports/160424
Submitted by: John Marino <freebsdml@marino.st>