Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Feb 2018 21:24:15 +0000 (UTC)
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462864 - head/java/cacao
Message-ID:  <201802242124.w1OLOFCp008587@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Sat Feb 24 21:24:15 2018
New Revision: 462864
URL: https://svnweb.freebsd.org/changeset/ports/462864

Log:
  Remove dead code:  Java support (via GCJ) has not been part of any of
  the lang/gcc4x ports since last spring and newer versions of GCC do
  not carry a point in their major version designation.  On top of that
  WITH_GCC has not been use for ages anyway.
  
  On the way move ONLY_FOR_ARCHS towards its proper spot.
  
  Approved by:	portmgr blanket

Modified:
  head/java/cacao/Makefile

Modified: head/java/cacao/Makefile
==============================================================================
--- head/java/cacao/Makefile	Sat Feb 24 21:01:47 2018	(r462863)
+++ head/java/cacao/Makefile	Sat Feb 24 21:24:15 2018	(r462864)
@@ -12,6 +12,8 @@ COMMENT=	JIT compiler for JAVA
 
 LICENSE=	GPLv2
 
+ONLY_FOR_ARCHS=	amd64 i386
+
 BUILD_DEPENDS=	${LOCALBASE}/share/classpath/glibj.zip:java/classpath
 RUN_DEPENDS=	${LOCALBASE}/share/classpath/glibj.zip:java/classpath
 
@@ -24,8 +26,6 @@ CONFIGURE_ARGS=	--disable-test-dependency-checks \
 		--with-build-java-runtime-library-classes=${LOCALBASE}/share/classpath/glibj.zip
 CONFIGURE_ENV=	JAVAC="${JAVAC}" JAR="${JAR}"
 
-ONLY_FOR_ARCHS=	amd64 i386
-
 OPTIONS_DEFINE=	JDK
 OPTIONS_DEFAULT=JDK
 JDK_DESC=	Build with native JDK
@@ -37,9 +37,6 @@ BUILD_DEPENDS+=	${LOCALBASE}/bootstrap-openjdk6/bin/ja
 JAR=		${LOCALBASE}/bootstrap-openjdk6/bin/jar
 JAVAC=		${LOCALBASE}/bootstrap-openjdk6/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?201802242124.w1OLOFCp008587>