gcc 4.9 has support for java, but gcc 8 doesn't. While unknown
languages should error out, this will let the ports framework process
them during a bulk even if it doesn't build.
test case on amd64 (uses gcc49 module) and arm64 (uses gcc8 module):
cd ports/lang/classpath && make show=HOMEPAGE
OK?
Index: lang/gcc/8/gcc4.port.mk
===================================================================
RCS file: /cvs/ports/lang/gcc/8/gcc4.port.mk,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 gcc4.port.mk
--- lang/gcc/8/gcc4.port.mk 4 Jan 2019 17:29:53 -0000 1.2
+++ lang/gcc/8/gcc4.port.mk 8 Feb 2019 07:13:55 -0000
@@ -10,7 +10,11 @@ MODGCC4_LANGS += c
_MODGCC4_OKAY = c c++ fortran
.for _l in ${MODGCC4_LANGS:L}
. if !${_MODGCC4_OKAY:M${_l}}
+. if "${_l}" == "java"
+BROKEN += "${_l} does not exist for gcc 8"
+. else
ERRORS += "Fatal: unknown language ${_l}"
+. endif
. endif
.endfor
--
Lockwood's Long Shot:
The chances of getting eaten up by a lion on Main Street aren't
one in a million, but once would be enough.