diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2012-11-01 19:12:06 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2012-11-01 19:12:06 +0000 |
commit | e9257c094dd22c4d4fdd340030d85143b199dfa4 (patch) | |
tree | b604c63ce632704c448a4312af1b4f0d9b872768 /lang/gcc48 | |
parent | Update to 3.5.1 (diff) |
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
Notes
Notes:
svn path=/head/; revision=306819
Diffstat (limited to 'lang/gcc48')
-rw-r--r-- | lang/gcc48/Makefile | 13 | ||||
-rw-r--r-- | lang/gcc48/distinfo | 6 | ||||
-rw-r--r-- | lang/gcc48/pkg-plist | 1 |
3 files changed, 16 insertions, 4 deletions
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile index 2de4432dfdf4..f47a6d15e50e 100644 --- a/lang/gcc48/Makefile +++ b/lang/gcc48/Makefile @@ -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 " diff --git a/lang/gcc48/distinfo b/lang/gcc48/distinfo index a90cfd4dcc02..73b72ad9709a 100644 --- a/lang/gcc48/distinfo +++ b/lang/gcc48/distinfo @@ -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 diff --git a/lang/gcc48/pkg-plist b/lang/gcc48/pkg-plist index 38a974a4f2ee..075ada2dbb9e 100644 --- a/lang/gcc48/pkg-plist +++ b/lang/gcc48/pkg-plist @@ -50,6 +50,7 @@ share/gcc-%%GCC_VERSION%%/python/libstdcxx/v6/printers.py %%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 |