Remove dead code from java/cacao/Makefile
Gerald Pfeifer
gerald at pfeifer.com
Sun May 14 20:40:26 UTC 2017
Hi guys,
I noticed what looks like dead code in cacao/Makefile, since WITH_GCC
is not mentioned anywhere under Mk/, nor is there an option GCC, and
I have not seen anything similar used for many, many years.
Okay to apply?
Beyond that, this branch -- building cacao without JDK (and GCJ) --
of the Makefile has been broken for a while and GCC is abandoning
GCJ upstream, so would you consider removing it as a follow-up?
Using JDK has been an option, and on by default, since 2012-10-05.
Gerald
Index: cacao/Makefile
===================================================================
--- cacao/Makefile (revision 440883)
+++ cacao/Makefile (working copy)
@@ -36,9 +36,6 @@
JAR= ${LOCALBASE}/bootstrap-openjdk/bin/jar
JAVAC= ${LOCALBASE}/bootstrap-openjdk/bin/javac
.else
-.if defined(WITH_GCC)
-GCC_SUFX= ${WITH_GCC:S/.//}
-.endif
GCC_SUFX?= 46
BUILD_DEPENDS+= gcj${GCC_SUFX}:lang/gcc${GCC_SUFX}
EXTRA_PATCHES= ${FILESDIR}/gcj.patch
More information about the freebsd-java
mailing list