aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-12-07 00:21:47 +0800
committermarino <marino@FreeBSD.org>2015-12-07 00:21:47 +0800
commitc2f26ec25608f4e363d65ef9d4c57142db4fefe0 (patch)
tree859e8bdb902e18237f0bb3941888ad6881a09780 /Mk/Uses
parente51e0f3c6605f0542bc198380c1893afab424021 (diff)
downloadfreebsd-ports-graphics-c2f26ec25608f4e363d65ef9d4c57142db4fefe0.tar.gz
freebsd-ports-graphics-c2f26ec25608f4e363d65ef9d4c57142db4fefe0.tar.zst
freebsd-ports-graphics-c2f26ec25608f4e363d65ef9d4c57142db4fefe0.zip
Mk/Uses/ada.mk: Support lang/gcc6-aux
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/ada.mk17
1 files changed, 9 insertions, 8 deletions
diff --git a/Mk/Uses/ada.mk b/Mk/Uses/ada.mk
index 64eb89f64e3..fe237e305fb 100644
--- a/Mk/Uses/ada.mk
+++ b/Mk/Uses/ada.mk
@@ -6,24 +6,25 @@
#
# Feature: ada
# Usage: USES=ada
-# Valid ARGS: 49, 5, run
+# Valid ARGS: 49, 5, 6, run
#
# MAINTAINER: marino@FreeBSD.org
.if !defined(_INCLUDE_USES_ADA_MK)
_INCLUDE_USES_ADA_MK= yes
-CC= ada
+CC= ada
+ADAXX= gcc5 # framework default
. if ${ada_ARGS:M49}
ADAXX= gcc
-. elif ${ada_ARGS:M5}
-ADAXX= gcc5
-. else
-. if defined(ADA_DEFAULT) && ${ADA_DEFAULT} == 49
+. elif ${ada_ARGS:M6}
+ADAXX= gcc6
+. elif defined(ADA_DEFAULT)
+. if ${ADA_DEFAULT} == 49
ADAXX= gcc
-. else
-ADAXX= gcc5
+. elif ${ADA_DEFAULT} == 6
+ADAXX= gcc6
. endif
. endif