Remove dead code from java/cacao/Makefile

Gerald Pfeifer gerald at pfeifer.com
Sat May 27 23:37:11 UTC 2017


Hi Joe,

and thanks for the detailed response.

On Sun, 14 May 2017, Joe Nosay wrote:
>> Okay to apply?
> Do not remove that option. There are other java kits and code that is 
> open source. There was and should still be a Java JIT application with 
> llvm/CLang.

I did not propose to remove that option, I merely wanted to relay
that (a) currently this alternative codepath is simply broken and
(b) remove three lines of dead code at least.

> Just comment the option so that it is not used.
> Use IceTea in the bootstrap.
> You will need to create and recreate all of the open non-propritary
> libraries, binaries, links, suites, and applications this way.
> Bootstrap and create the path layouts according to the same $PATH and
> $CLASSPATH  of the standard Oracle-Sun Java Development Environment.
> 
> Save everything.
> Set this up as a script.
> Make a complete package.
> Submit what you have done
> to: info at freebsd.org as an email

That's a lot more than I'm up to, I'm afraid.  However, the patch
below still makes sense and removes dead code.

Okay to apply this?

(Another change to bring this closer to even have a chance of 
working is adjusting GCC_SUFX?=46 to GCC_SUFX?=5.  I can guarantee
that 46 has zero chance of working, even theoretically.)

But, one thing at a time.  Can you, or someone else, please approve
the three-liner below to simplify this?

Gerald

Index: java/cacao/Makefile
===================================================================
--- java/cacao/Makefile	(revision 441883)
+++ java/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