diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2023-11-23 14:10:54 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2023-11-23 18:01:43 +0000 |
commit | 5d276ab3adc94c58a827645f9c272e63fe482f92 (patch) | |
tree | 562d30e5fa3b55403ffa1a9f1d89363d39287b26 /lang/gnat12 | |
parent | 1d76bdf62dffad91834699701f41d3374dfb6a3a (diff) | |
download | ports-5d276ab3adc94c58a827645f9c272e63fe482f92.tar.gz ports-5d276ab3adc94c58a827645f9c272e63fe482f92.zip |
Diffstat (limited to 'lang/gnat12')
-rw-r--r-- | lang/gnat12/Makefile | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/lang/gnat12/Makefile b/lang/gnat12/Makefile index 8cbeea1dfdbe..967629108a00 100644 --- a/lang/gnat12/Makefile +++ b/lang/gnat12/Makefile @@ -61,6 +61,9 @@ OPTIONS_DEFINE= ASSETS NLS OPTIONS_DEFINE_amd64+= MULTILIB OPTIONS_DEFINE_powerpc64+= MULTILIB .endif +OPTIONS_RADIO= BOOTSTRAP +OPTIONS_RADIO_BOOTSTRAP= GCC6AUX PREVASSET +OPTIONS_DEFAULT= GCC6AUX .if defined(PACKAGE_BUILDING) OPTIONS_DEFAULT+= ASSETS .endif @@ -68,9 +71,6 @@ OPTIONS_DEFAULT+= ASSETS OPTIONS_DEFAULT_amd64+= MULTILIB #OPTIONS_DEFAULT_powerpc64+= MULTILIB # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105010 .endif -OPTIONS_RADIO= BOOTSTRAP -OPTIONS_RADIO_BOOTSTRAP= GCC6AUX PREVASSET -OPTIONS_DEFAULT= GCC6AUX OPTIONS_SUB= yes ASSETS_DESC= Build an asset for future bootstrap on the target platform @@ -111,20 +111,10 @@ _TOOLCHAIN_PATHS= /sbin:/bin:/usr/sbin:/usr/bin:${_GCC6AUX_PATH}:${PREFIX}/bin:$ .include <bsd.port.options.mk> -.if ${ARCH} == aarch64 -_PREV_ASSET_REV?= _5 -.elif ${ARCH} == i386 -. if ${OSREL:R} == 14 +.if ${ARCH} == aarch64 && ${OSREL:R} == 15 _PREV_ASSET_REV?= _5 -. else -_PREV_ASSET_REV?= _6 -. endif -.else # amd64 -. if ${OSREL:R} == 12 || ${OSREL:R} == 14 -_PREV_ASSET_REV?= _5 -. else +.else _PREV_ASSET_REV?= _6 -. endif .endif .if ${ARCH} == i386 || ${ARCH} == aarch64 |