2013-07-12 15:40:50 +02:00
|
|
|
# Created by: John Marino <marino@FreeBSD.org>
|
2011-09-05 14:53:04 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= sysroot
|
2016-03-16 15:36:10 +01:00
|
|
|
PORTVERSION= 23
|
2011-09-05 14:53:04 +02:00
|
|
|
CATEGORIES= lang
|
2016-03-16 15:36:10 +01:00
|
|
|
MASTER_SITES= http://downloads.dragonlace.net/src/gnatdroid/
|
2011-09-05 14:53:04 +02:00
|
|
|
PKGNAMEPREFIX= gnatdroid-
|
lang/gnatdroid-*: Support multiple API, base on gcc-aux (gcc 4.9)
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.
2014-04-10 02:34:48 +02:00
|
|
|
DISTNAME= android-${API}-arm
|
2016-03-16 15:36:10 +01:00
|
|
|
DIST_SUBDIR= gnatdroid-ndk11
|
2011-09-05 14:53:04 +02:00
|
|
|
|
2018-07-04 06:31:41 +02:00
|
|
|
MAINTAINER= jamie@catflap.org
|
lang/gnatdroid-*: Support multiple API, base on gcc-aux (gcc 4.9)
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.
2014-04-10 02:34:48 +02:00
|
|
|
COMMENT= Android sysroots for C/Ada Android cross-compiler
|
2011-09-05 14:53:04 +02:00
|
|
|
|
2018-07-04 06:31:41 +02:00
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
2015-12-16 11:32:57 +01:00
|
|
|
|
2014-04-06 13:32:56 +02:00
|
|
|
USES= tar:bzip2
|
lang/gnatdroid-*: Support multiple API, base on gcc-aux (gcc 4.9)
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.
2014-04-10 02:34:48 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
NO_MTREE= yes
|
2011-09-05 14:53:04 +02:00
|
|
|
|
lang/gnatdroid-*: Support multiple API, base on gcc-aux (gcc 4.9)
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.
2014-04-10 02:34:48 +02:00
|
|
|
WRKSRC= ${WRKDIR}/android-${API}-arm
|
|
|
|
PREFIX= ${LOCALBASE}/android
|
2015-10-19 21:42:53 +02:00
|
|
|
STAT_PATCH= ${FILESDIR}/extra-stat.h
|
|
|
|
EXTRA_PATCHES= ${STAT_PATCH}
|
lang/gnatdroid-*: Support multiple API, base on gcc-aux (gcc 4.9)
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.
2014-04-10 02:34:48 +02:00
|
|
|
|
2014-06-08 21:51:27 +02:00
|
|
|
OPTIONS_SINGLE= SG1
|
2016-03-16 15:36:10 +01:00
|
|
|
OPTIONS_SINGLE_SG1= ICS JBEAN16 JBEAN17 JBEAN18 KITKAT LOLLIPOP MARSH
|
2015-10-19 21:42:53 +02:00
|
|
|
OPTIONS_DEFAULT= KITKAT
|
lang/gnatdroid-*: Support multiple API, base on gcc-aux (gcc 4.9)
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.
2014-04-10 02:34:48 +02:00
|
|
|
|
|
|
|
ICS_DESC= Android 4.0 - API level 15 - Ice Cream Sandwich 2
|
|
|
|
JBEAN16_DESC= Android 4.1 - API level 16 - Jelly Bean 1
|
|
|
|
JBEAN17_DESC= Android 4.2 - API level 17 - Jelly Bean 2
|
|
|
|
JBEAN18_DESC= Android 4.3 - API level 18 - Jelly Bean 3
|
|
|
|
KITKAT_DESC= Android 4.4 - API level 19 - Kitkat
|
2015-10-19 21:42:53 +02:00
|
|
|
LOLLIPOP_DESC= Android 5.0 - API level 21 - Lollipop
|
2016-03-16 15:36:10 +01:00
|
|
|
MARSH_DESC= Android 6.0 - API Level 23 - Marshmellow
|
lang/gnatdroid-*: Support multiple API, base on gcc-aux (gcc 4.9)
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.
2014-04-10 02:34:48 +02:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2016-03-16 15:36:10 +01:00
|
|
|
.if ${PORT_OPTIONS:MICS}
|
2014-06-08 21:51:27 +02:00
|
|
|
API= 15
|
lang/gnatdroid-*: Support multiple API, base on gcc-aux (gcc 4.9)
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.
2014-04-10 02:34:48 +02:00
|
|
|
.elif ${PORT_OPTIONS:MJBEAN16}
|
2014-06-08 21:51:27 +02:00
|
|
|
API= 16
|
lang/gnatdroid-*: Support multiple API, base on gcc-aux (gcc 4.9)
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.
2014-04-10 02:34:48 +02:00
|
|
|
.elif ${PORT_OPTIONS:MJBEAN17}
|
2014-06-08 21:51:27 +02:00
|
|
|
API= 17
|
lang/gnatdroid-*: Support multiple API, base on gcc-aux (gcc 4.9)
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.
2014-04-10 02:34:48 +02:00
|
|
|
.elif ${PORT_OPTIONS:MJBEAN18}
|
2014-06-08 21:51:27 +02:00
|
|
|
API= 18
|
lang/gnatdroid-*: Support multiple API, base on gcc-aux (gcc 4.9)
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.
2014-04-10 02:34:48 +02:00
|
|
|
.elif ${PORT_OPTIONS:MKITKAT}
|
2014-06-08 21:51:27 +02:00
|
|
|
API= 19
|
2015-10-19 21:42:53 +02:00
|
|
|
.elif ${PORT_OPTIONS:MLOLLIPOP}
|
|
|
|
API= 21
|
|
|
|
STAT_PATCH= ${FILESDIR}/extra-21-stat.h
|
2016-03-16 15:36:10 +01:00
|
|
|
.elif ${PORT_OPTIONS:MMARSH}
|
|
|
|
API= 23
|
|
|
|
STAT_PATCH= ${FILESDIR}/extra-21-stat.h
|
lang/gnatdroid-*: Support multiple API, base on gcc-aux (gcc 4.9)
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.
2014-04-10 02:34:48 +02:00
|
|
|
.else
|
2014-06-08 21:51:27 +02:00
|
|
|
IGNORE= the API option is improperly selected
|
lang/gnatdroid-*: Support multiple API, base on gcc-aux (gcc 4.9)
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.
2014-04-10 02:34:48 +02:00
|
|
|
.endif
|
2011-09-05 14:53:04 +02:00
|
|
|
|
|
|
|
do-install:
|
2014-04-06 13:32:56 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}
|
|
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} usr ${STAGEDIR}${PREFIX})
|
2011-09-05 14:53:04 +02:00
|
|
|
|
lang/gnatdroid-*: Support multiple API, base on gcc-aux (gcc 4.9)
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.
2014-04-10 02:34:48 +02:00
|
|
|
post-install:
|
|
|
|
@(cd ${STAGEDIR}${PREFIX}; ${FIND} usr \( -type f -or -type l \) | \
|
2014-10-16 13:53:42 +02:00
|
|
|
${SORT} >> ${TMPPLIST})
|
lang/gnatdroid-*: Support multiple API, base on gcc-aux (gcc 4.9)
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.
2014-04-10 02:34:48 +02:00
|
|
|
|
2011-09-05 14:53:04 +02:00
|
|
|
.include <bsd.port.mk>
|