diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2011-06-02 22:11:48 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2011-06-02 22:11:48 +0000 |
commit | c083471e665c16a8d4e6d5d32ff7f277859c5eea (patch) | |
tree | 32be5e3998230bb49a77b7eac2073a5beef38e18 /lang/gcc/Makefile | |
parent | 80783ebd288fa3e59e8d96f537ea7289768320ca (diff) | |
download | ports-c083471e665c16a8d4e6d5d32ff7f277859c5eea.tar.gz ports-c083471e665c16a8d4e6d5d32ff7f277859c5eea.zip |
Notes
Diffstat (limited to 'lang/gcc/Makefile')
-rw-r--r-- | lang/gcc/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile index f13df2547579..dfe4a8e76c85 100644 --- a/lang/gcc/Makefile +++ b/lang/gcc/Makefile @@ -94,6 +94,11 @@ INFO+= gcc${SUFFIX}/libquadmath .endif .if ! defined(WITHOUT_JAVA) +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 MAN1+= aot-compile${SUFFIX}.1 \ @@ -124,6 +129,10 @@ MAN3= ffi${SUFFIX}.3 \ INFO+= gcc${SUFFIX}/cp-tools \ gcc${SUFFIX}/gcj PLIST_SUB+= JAVA="" + +# Preps 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 " |