aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc44
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2010-05-24 17:31:15 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2010-05-24 17:31:15 +0000
commitd1c366eb2cb721c3b714d967a114189c1171381c (patch)
tree13a1f1a9a91f59cbfe592df67f98e33483e7eed1 /lang/gcc44
parent43f9cb359f3e688b421867941402eda7e1f6cef9 (diff)
downloadports-d1c366eb2cb721c3b714d967a114189c1171381c.tar.gz
ports-d1c366eb2cb721c3b714d967a114189c1171381c.zip
Remove support for the Java frontend which pretty clearly never has been
successfully used by anyone, yet adds a lot to build time and size. Those interested in GCJ are better served using lang/gcc45. Also update to the 20100518 snapshot of GCC 4.4.5.
Notes
Notes: svn path=/head/; revision=254983
Diffstat (limited to 'lang/gcc44')
-rw-r--r--lang/gcc44/Makefile45
-rw-r--r--lang/gcc44/distinfo3
-rw-r--r--lang/gcc44/pkg-descr4
-rw-r--r--lang/gcc44/pkg-plist28
4 files changed, 4 insertions, 76 deletions
diff --git a/lang/gcc44/Makefile b/lang/gcc44/Makefile
index 8bfbeb959ecd..1535f0b8ec1e 100644
--- a/lang/gcc44/Makefile
+++ b/lang/gcc44/Makefile
@@ -8,7 +8,7 @@
PORTNAME= gcc
PORTVERSION= 4.4.5.20100518
-CATEGORIES= lang java
+CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING}
DISTFILES= gcc-core-${VERSIONSTRING}${EXTRACT_SUFX} \
@@ -44,10 +44,6 @@ CONFIGURE_SCRIPT= ../${SRCDIR:S/${WRKDIR}\///}/configure
.include <bsd.port.pre.mk>
-.if ${ARCH} != i386
-WITHOUT_JAVA= yes
-.endif
-
.if ${ARCH} == "amd64"
CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
.else
@@ -89,43 +85,6 @@ INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/gfortran \
gcc${SUFFIX}/libgomp
-.if ! defined(WITHOUT_JAVA)
-DISTFILES+= gcc-java-${VERSIONSTRING}${EXTRACT_SUFX}
-BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
-EXTRA_PATCHES+= ${FILESDIR}/java-patch-hier
-# FIXME: we are currently getting weird build failures with libjava on
-# some 4.x and 5.x systems, which the following works around. PR 81788.
-CONFIGURE_ARGS+=--disable-rpath
-MAN1+= aot-compile${SUFFIX}.1 \
- gappletviewer${SUFFIX}.1 \
- gc-analyze${SUFFIX}.1 \
- gcj${SUFFIX}.1 \
- gcj-dbtool${SUFFIX}.1 \
- gcjh${SUFFIX}.1 \
- gij${SUFFIX}.1 \
- gjar${SUFFIX}.1 \
- gjarsigner${SUFFIX}.1 \
- gjavah${SUFFIX}.1 \
- gjdoc${SUFFIX}.1 \
- gkeytool${SUFFIX}.1 \
- gnative2ascii${SUFFIX}.1 \
- gorbd${SUFFIX}.1 \
- grmic${SUFFIX}.1 \
- grmid${SUFFIX}.1 \
- grmiregistry${SUFFIX}.1 \
- gserialver${SUFFIX}.1 \
- gtnameserv${SUFFIX}.1 \
- jcf-dump${SUFFIX}.1 \
- jv-convert${SUFFIX}.1 \
- rebuild-gcj-db${SUFFIX}.1
-INFO+= gcc${SUFFIX}/cp-tools \
- gcc${SUFFIX}/gcj
-PLIST_SUB+= JAVA=""
-.else
-CONFIGURE_ARGS+=--disable-libgcj
-PLIST_SUB+= JAVA="@comment "
-.endif
-
pre-everything::
@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${OPSYS} ${OSREL} target=${CONFIGURE_TARGET}"
@@ -147,7 +106,7 @@ post-install:
${RM} -f ${TARGLIB}/*.la
# Add target libraries and include files to packaging list.
${RM} -f ${WRKDIR}/PLIST.lib
-.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
+.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///}
cd ${PREFIX} ; if [ -d $d ]; then \
${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
${FIND} $d -type d | ${SORT} -r \
diff --git a/lang/gcc44/distinfo b/lang/gcc44/distinfo
index c6729a029295..771c12dc10d3 100644
--- a/lang/gcc44/distinfo
+++ b/lang/gcc44/distinfo
@@ -10,6 +10,3 @@ SIZE (gcc-g++-4.4-20100518.tar.bz2) = 5916751
MD5 (gcc-testsuite-4.4-20100518.tar.bz2) = ab034fe3b288baa0271e07aebe4ec20a
SHA256 (gcc-testsuite-4.4-20100518.tar.bz2) = b8b1a6603bca9eefe0a72114c4b0d399b9663e14b0b51264644f041bb67724c5
SIZE (gcc-testsuite-4.4-20100518.tar.bz2) = 5146153
-MD5 (gcc-java-4.4-20100518.tar.bz2) = 891a3fe9de0373c50d8512494a6e0353
-SHA256 (gcc-java-4.4-20100518.tar.bz2) = 4f1343aeaead6d9770d631ff3852ac6cb350f3ec927585746af9c34422770989
-SIZE (gcc-java-4.4-20100518.tar.bz2) = 18508294
diff --git a/lang/gcc44/pkg-descr b/lang/gcc44/pkg-descr
index 196e09f5b937..ff8b85469f22 100644
--- a/lang/gcc44/pkg-descr
+++ b/lang/gcc44/pkg-descr
@@ -1,6 +1,6 @@
GCC, the GNU Compiler Collection, supports a number of languages. This
-port installs the C, C++, Fortran and Java front ends as gcc44, g++44,
-gfortran44, and gcj44, respectively.
+port installs the C, C++, and Fortran front ends as gcc44, g++44, and
+gfortran44 respectively.
WWW: http://gcc.gnu.org/
diff --git a/lang/gcc44/pkg-plist b/lang/gcc44/pkg-plist
index 27066eb92a42..3ad9e4a975e1 100644
--- a/lang/gcc44/pkg-plist
+++ b/lang/gcc44/pkg-plist
@@ -12,32 +12,4 @@ bin/gccbug%%SUFFIX%%
bin/gcov%%SUFFIX%%
bin/gfortran%%SUFFIX%%
info/gcc%%SUFFIX%%/dir
-%%JAVA%%bin/%%GNU_HOST%%-gcj%%SUFFIX%%
-%%JAVA%%bin/aot-compile%%SUFFIX%%
-%%JAVA%%bin/gappletviewer%%SUFFIX%%
-%%JAVA%%bin/gc-analyze%%SUFFIX%%
-%%JAVA%%bin/gcj%%SUFFIX%%
-%%JAVA%%bin/gcj-dbtool%%SUFFIX%%
-%%JAVA%%bin/gcjh%%SUFFIX%%
-%%JAVA%%bin/gij%%SUFFIX%%
-%%JAVA%%bin/gjar%%SUFFIX%%
-%%JAVA%%bin/gjarsigner%%SUFFIX%%
-%%JAVA%%bin/gjavah%%SUFFIX%%
-%%JAVA%%bin/gkeytool%%SUFFIX%%
-%%JAVA%%bin/gnative2ascii%%SUFFIX%%
-%%JAVA%%bin/gorbd%%SUFFIX%%
-%%JAVA%%bin/grmic%%SUFFIX%%
-%%JAVA%%bin/grmid%%SUFFIX%%
-%%JAVA%%bin/grmiregistry%%SUFFIX%%
-%%JAVA%%bin/gserialver%%SUFFIX%%
-%%JAVA%%bin/gtnameserv%%SUFFIX%%
-%%JAVA%%bin/jcf-dump%%SUFFIX%%
-%%JAVA%%bin/jv-convert%%SUFFIX%%
-%%JAVA%%bin/rebuild-gcj-db%%SUFFIX%%
-%%JAVA%%libdata/pkgconfig/libgcj-4.4.pc
-%%JAVA%%share/java/libgcj-%%GCC_VER%%.jar
-%%JAVA%%share/java/libgcj-tools-%%GCC_VER%%.jar
-%%JAVA%%share/python/aotcompile.py
-%%JAVA%%share/python/classfile.py
-%%JAVA%%@dirrmtry share/python
@comment Insert PLIST.lib here