Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2012 19:12:06 +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: r306819 - head/lang/gcc48
Message-ID:  <201211011912.qA1JC6UB059135@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Thu Nov  1 19:12:06 2012
New Revision: 306819
URL: http://svn.freebsd.org/changeset/ports/306819

Log:
  Forward port inclusion and use of the Eclipse Java compiler. [1]
  
  Update to the 20121014 snapshot of GCC 4.8.0.
  
  Submitted by:	jkim [1]
  Feature safe:	yes

Modified:
  head/lang/gcc48/Makefile
  head/lang/gcc48/distinfo
  head/lang/gcc48/pkg-plist

Modified: head/lang/gcc48/Makefile
==============================================================================
--- head/lang/gcc48/Makefile	Thu Nov  1 18:55:52 2012	(r306818)
+++ head/lang/gcc48/Makefile	Thu Nov  1 19:12:06 2012	(r306819)
@@ -2,11 +2,11 @@
 # $FreeBSD$
 
 PORTNAME=	gcc
-PORTVERSION=	4.8.0.20120930
+PORTVERSION=	4.8.0.20121014
 CATEGORIES=	lang java
 MASTER_SITES=	${MASTER_SITE_GCC}
 MASTER_SITE_SUBDIR=	snapshots/${VERSIONSTRING}
-DISTNAME=	gcc-${VERSIONSTRING}
+DISTFILES=	gcc-${VERSIONSTRING}${EXTRACT_SUFX}
 
 MAINTAINER=	gerald@FreeBSD.org
 COMMENT=	GNU Compiler Collection 4.8
@@ -97,6 +97,11 @@ INFO+=		gcc${SUFFIX}/libquadmath	\
 .endif
 
 .if ${PORT_OPTIONS:MJAVA}
+ECJ_JAR=	ecj-4.5.jar
+MASTER_SITES+=	${MASTER_SITE_SOURCEWARE:S|$|:ecj|}
+MASTER_SITE_SUBDIR+=	java/:ecj
+DISTFILES+=	${ECJ_JAR}:ecj
+EXTRACT_ONLY=	${DISTFILES:S|${ECJ_JAR}:ecj||}
 BUILD_DEPENDS+=	zip:${PORTSDIR}/archivers/zip
 EXTRA_PATCHES+=	${FILESDIR}/java-patch-hier
 LANGUAGES:=	${LANGUAGES},java
@@ -128,6 +133,10 @@ MAN3=		ffi${SUFFIX}.3 \
 INFO+=		gcc${SUFFIX}/cp-tools \
 		gcc${SUFFIX}/gcj
 PLIST_SUB+=	JAVA=""
+
+# Prep the source tree for the GCJ build.
+post-patch::
+	@${CP} ${DISTDIR}/${ECJ_JAR} ${SRCDIR}/ecj.jar
 .else
 CONFIGURE_ARGS+=--disable-libgcj
 PLIST_SUB+=	JAVA="@comment "

Modified: head/lang/gcc48/distinfo
==============================================================================
--- head/lang/gcc48/distinfo	Thu Nov  1 18:55:52 2012	(r306818)
+++ head/lang/gcc48/distinfo	Thu Nov  1 19:12:06 2012	(r306819)
@@ -1,2 +1,4 @@
-SHA256 (gcc-4.8-20120930.tar.bz2) = a5fe63ac539933edc9912394a6755f53d914e53ca63f0cc0eea6aa9753838189
-SIZE (gcc-4.8-20120930.tar.bz2) = 79806276
+SHA256 (gcc-4.8-20121014.tar.bz2) = a9476fad0ac588140ddd6761eacc09e688cfe8798df37e0022dd7ab756d54ff4
+SIZE (gcc-4.8-20121014.tar.bz2) = 79933547
+SHA256 (ecj-4.5.jar) = 98fd128f1d374d9e42fd9d4836bdd249c6d511ebc6c0df17fbc1b9df96c3d781
+SIZE (ecj-4.5.jar) = 1470676

Modified: head/lang/gcc48/pkg-plist
==============================================================================
--- head/lang/gcc48/pkg-plist	Thu Nov  1 18:55:52 2012	(r306818)
+++ head/lang/gcc48/pkg-plist	Thu Nov  1 19:12:06 2012	(r306819)
@@ -50,6 +50,7 @@ share/gcc-%%GCC_VERSION%%/python/libstdc
 %%JAVA%%bin/jv-convert%%SUFFIX%%
 %%JAVA%%bin/rebuild-gcj-db%%SUFFIX%%
 %%JAVA%%libdata/pkgconfig/libgcj-4.8.pc
+%%JAVA%%share/java/ecj.jar
 %%JAVA%%share/java/libgcj-%%GCC_VERSION%%.jar
 %%JAVA%%share/java/libgcj-tools-%%GCC_VERSION%%.jar
 @exec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi



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