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
This commit is contained in:
Gerald Pfeifer 2018-02-24 21:24:15 +00:00
parent 130a23357c
commit 6d1f05d3d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=462864

View File

@ -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/javac:java/bootstrap-openjdk
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