aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2007-11-04 07:39:37 +0800
committergerald <gerald@FreeBSD.org>2007-11-04 07:39:37 +0800
commit794c64b8aa8498ea9a7d47d6fc7312b5d491d44a (patch)
tree1c6d592e0e3f29a523175975b516d64fd4abd3eb /lang
parent9c4302c3c90876473e1a66e8920bcd0876f5366f (diff)
downloadfreebsd-ports-gnome-794c64b8aa8498ea9a7d47d6fc7312b5d491d44a.tar.gz
freebsd-ports-gnome-794c64b8aa8498ea9a7d47d6fc7312b5d491d44a.tar.zst
freebsd-ports-gnome-794c64b8aa8498ea9a7d47d6fc7312b5d491d44a.zip
Remove lang/gcc40 which only has three dependencies left in the tree
(all of which only have it as a minimal requirement and also build with lang/gcc42) and has issues on at least 8-CURRENT. Approved by: portmgr (pav)
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/gcc40/Makefile113
-rw-r--r--lang/gcc40/distinfo12
-rw-r--r--lang/gcc40/files/patch-ltconfig14
-rw-r--r--lang/gcc40/pkg-descr6
-rw-r--r--lang/gcc40/pkg-plist13
-rw-r--r--lang/yarv/Makefile2
7 files changed, 1 insertions, 160 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 2602aff9d47a..301d5bf04458 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -80,7 +80,6 @@
SUBDIR += gcc32
SUBDIR += gcc33
SUBDIR += gcc34
- SUBDIR += gcc40
SUBDIR += gcc41
SUBDIR += gcc41-withgcjawt
SUBDIR += gcc42
diff --git a/lang/gcc40/Makefile b/lang/gcc40/Makefile
deleted file mode 100644
index adeb323c73e8..000000000000
--- a/lang/gcc40/Makefile
+++ /dev/null
@@ -1,113 +0,0 @@
-# ex:ts=8
-# Ports collection makefile for: egcs
-# Date created: 9 Jan 1998
-# Whom: John Polstra <jdp@polstra.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME= gcc
-PORTVERSION= 4.0.4
-PORTREVISION= 1
-PORTEPOCH= 1
-CATEGORIES= lang
-VERSIONSTRING= ${PORTVERSION}
-MASTER_SITES= ${MASTER_SITE_GCC}
-MASTER_SITE_SUBDIR= releases/gcc-${VERSIONSTRING}
-DISTFILES= gcc-core-${VERSIONSTRING}${EXTRACT_SUFX} \
- gcc-g++-${VERSIONSTRING}${EXTRACT_SUFX} \
- gcc-objc-${VERSIONSTRING}${EXTRACT_SUFX} \
- gcc-testsuite-${VERSIONSTRING}${EXTRACT_SUFX}
-
-MAINTAINER?= gerald@FreeBSD.org
-COMMENT?= GNU Compiler Collection 4.0
-
-SUFFIX= 40
-LATEST_LINK?= gcc${SUFFIX}${PKGNAMESUFFIX}
-USE_BZIP2= yes
-USE_GMAKE= yes
-USE_ICONV= yes
-USE_PERL5_BUILD=yes
-
-PATCH_WRKSRC= ${SRCDIR}
-CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
-NOMANCOMPRESS= yes # too hard to deal with differences on 5-cur and releng4
-
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "amd64"
-CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
-.else
-CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
-.endif
-
-SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING}
-WRKSRC= ${WRKDIR}/build
-TARGLIB= ${PREFIX}/lib/gcc-${PORTVERSION}
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --disable-nls \
- --with-system-zlib \
- --with-libiconv-prefix=${LOCALBASE} \
- --program-suffix=${SUFFIX} \
- --libdir=${TARGLIB} \
- --with-gxx-include-dir=${TARGLIB}/include/c++/
-MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
-ALL_TARGET= bootstrap-lean
-USE_LDCONFIG= ${TARGLIB}
-PLIST_SUB= GCC_VER=${PORTVERSION} GNU_HOST=${CONFIGURE_TARGET} \
- SUFFIX=${SUFFIX}
-MAN1= cpp${SUFFIX}.1 \
- g++${SUFFIX}.1 \
- gcc${SUFFIX}.1 \
- gcov${SUFFIX}.1
-INFO= gcc${SUFFIX}/cpp \
- gcc${SUFFIX}/cppinternals \
- gcc${SUFFIX}/gcc \
- gcc${SUFFIX}/gccinstall \
- gcc${SUFFIX}/gccint
-
-pre-everything::
- @${ECHO_MSG} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} target=${CONFIGURE_TARGET}"
-
-post-patch:
- @${REINPLACE_CMD} -e 's|\(const char version_string.*\)";|\1 [FreeBSD]";|' \
- ${SRCDIR}/gcc/version.c
-
-pre-configure:
- cd ${SRCDIR} ; contrib/gcc_update --touch
- @${RM} -f ${SRCDIR}/gcc/*/*.info*
- @${MKDIR} ${CONFIGURE_WRKSRC}
-
-post-build:
- @${ECHO_MSG} "Consider running 'make check' before 'make install', especially"
- @${ECHO_MSG} "if you have not performed this build on -STABLE or -CURRENT."
- @${ECHO_MSG} "This assumes that you have the dejagnu port installed."
-
-check: build
- cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check
-
-post-install:
- # man pages can only be generated if Perl >= 5.6 is installed;
- # fake them otherwise.
- for mp in ${_MANPAGES}; do \
- ${TEST} -e $${mp} || ${TOUCH} ${TOUCH_FLAGS} $${mp}; \
- done
- ${RM} -f ${PREFIX}/man/man7/fsf-funding.7 \
- ${PREFIX}/man/man7/gfdl.7 ${PREFIX}/man/man7/gpl.7
- ${MV} -f ${PREFIX}/include/mf-runtime.h \
- ${TARGLIB}/gcc/${CONFIGURE_TARGET}/${PORTVERSION}/include
- ${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/gcc/${CONFIGURE_TARGET}/${PORTVERSION}
- cd ${PREFIX} ; if [ -d $d ]; then \
- ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
- ${FIND} $d -type d | ${SORT} -r \
- | ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ;\
- fi
-.endfor
- ${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${WRKDIR}/PLIST.lib
- ${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true" >> ${WRKDIR}/PLIST.lib
- cd ${WRKDIR} ; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST}
-
-.include <bsd.port.post.mk>
diff --git a/lang/gcc40/distinfo b/lang/gcc40/distinfo
deleted file mode 100644
index 5f4e60d38eed..000000000000
--- a/lang/gcc40/distinfo
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 (gcc-core-4.0.4.tar.bz2) = 193e0a7a471cca70e374974bc5a60137
-SHA256 (gcc-core-4.0.4.tar.bz2) = e9bf58c761a4f988311aef6b41f12fd5c7e51d09477468fb73826aecc1be32e7
-SIZE (gcc-core-4.0.4.tar.bz2) = 15583411
-MD5 (gcc-g++-4.0.4.tar.bz2) = 5c79e6af5b49dd9cfd22001f3856f447
-SHA256 (gcc-g++-4.0.4.tar.bz2) = c1ff47701a5dc77690fe9e687001546b54f03b7383a89d5b4b11178aaf31f76e
-SIZE (gcc-g++-4.0.4.tar.bz2) = 2698519
-MD5 (gcc-objc-4.0.4.tar.bz2) = df19999fc0e1f715f66d8a6c097a6aaa
-SHA256 (gcc-objc-4.0.4.tar.bz2) = 6f3b376b1f5f54816cab27f4dc5d168e8cc91c7705a740321d406b80bc584c56
-SIZE (gcc-objc-4.0.4.tar.bz2) = 242758
-MD5 (gcc-testsuite-4.0.4.tar.bz2) = d33261f41392b6163645130580cbb7c2
-SHA256 (gcc-testsuite-4.0.4.tar.bz2) = 15c7db7bc8fd6703a2410e9eb3a46befeaf541e1f45a029b83ed12cbd1ed2265
-SIZE (gcc-testsuite-4.0.4.tar.bz2) = 3153551
diff --git a/lang/gcc40/files/patch-ltconfig b/lang/gcc40/files/patch-ltconfig
deleted file mode 100644
index 238574b8adac..000000000000
--- a/lang/gcc40/files/patch-ltconfig
+++ /dev/null
@@ -1,14 +0,0 @@
-Index: ltconfig
-===================================================================
---- ltconfig
-+++ ltconfig (working copy)
-@@ -1133,7 +1133,7 @@
- ;;
-
- freebsd*)
-- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
-+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf`
- version_type=freebsd-$objformat
- case $version_type in
- freebsd-elf*)
-
diff --git a/lang/gcc40/pkg-descr b/lang/gcc40/pkg-descr
deleted file mode 100644
index b0aa32c8a8e2..000000000000
--- a/lang/gcc40/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-GCC, the GNU Compiler Collection includes C, C++, and Objective-C.
-
-This port installs the various front ends as gcc40, g++40, and
-so forth into the ${PREFIX}/bin directory.
-
-WWW: http://gcc.gnu.org/
diff --git a/lang/gcc40/pkg-plist b/lang/gcc40/pkg-plist
deleted file mode 100644
index af92003847f0..000000000000
--- a/lang/gcc40/pkg-plist
+++ /dev/null
@@ -1,13 +0,0 @@
-@comment $FreeBSD$
-bin/c++%%SUFFIX%%
-bin/cpp%%SUFFIX%%
-bin/g++%%SUFFIX%%
-bin/gcc%%SUFFIX%%
-bin/gccbug%%SUFFIX%%
-bin/gcov%%SUFFIX%%
-bin/%%GNU_HOST%%-c++%%SUFFIX%%
-bin/%%GNU_HOST%%-g++%%SUFFIX%%
-bin/%%GNU_HOST%%-gcc-%%GCC_VER%%
-bin/%%GNU_HOST%%-gcc%%SUFFIX%%
-info/gcc%%SUFFIX%%/dir
-@comment Insert PLIST.lib here
diff --git a/lang/yarv/Makefile b/lang/yarv/Makefile
index b3b9da62af33..d6c2aa3c7f15 100644
--- a/lang/yarv/Makefile
+++ b/lang/yarv/Makefile
@@ -14,7 +14,7 @@ DIST_SUBDIR= ruby
MAINTAINER= mukai@jmuk.org
COMMENT= Yet Another Ruby Virtual-machine
-USE_GCC= 4.0+
+USE_GCC= 4.2+
USE_LDCONFIG= yes
USE_OPENSSL= yes
USE_RUBY= yes