Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2017 22:40:20 +0200 (CEST)
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        java@FreeBSD.org
Subject:   Remove dead code from java/cacao/Makefile
Message-ID:  <alpine.LSU.2.21.1705142235120.4477@anthias.pfeifer.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LSU.2.21.1705142235120.4477>