1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Bye, bye lang/gcc34. You have served us well, but with all dependencies

(including USE_FORTRAN=g77) gone and you never building on FreeBSD 10.x
or later, it's time to leave after ten years of service.
This commit is contained in:
Gerald Pfeifer 2014-02-13 21:42:40 +00:00
parent 20c675b616
commit f9a5b5d7cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344149
10 changed files with 1 additions and 206 deletions

1
MOVED
View File

@ -5450,3 +5450,4 @@ databases/p5-DBD-mysql56|databases/p5-DBD-mysql|2014-02-12|If you need a differe
textproc/p5-ElasticSearch|textproc/p5-ElasticSearch-legacy|2014-02-12|This version is depricated in favour of the offical client
x11-fonts/cosmic-sans-neue-mono|x11-fonts/fantasque-sans-mono|2014-02-13|Renamed upstream
mail/zmailer||2014-02-13|Broken since at least last August
lang/gcc34|lang/gcc46|2014-02-13|Superseded by GCC 4.6 or later

View File

@ -89,7 +89,6 @@
SUBDIR += gcc
SUBDIR += gcc-aux
SUBDIR += gcc-ecj45
SUBDIR += gcc34
SUBDIR += gcc44
SUBDIR += gcc46
SUBDIR += gcc47

View File

@ -1,102 +0,0 @@
# Created by: John Polstra <jdp@polstra.com>
# $FreeBSD$
PORTNAME= gcc34
PORTVERSION= 3.4.6
PORTREVISION= 3
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-g77-${VERSIONSTRING}${EXTRACT_SUFX}
MAINTAINER= gerald@FreeBSD.org
COMMENT= GNU Compiler Collection 3.4
SUFFIX= 34
USES= bison gmake iconv perl5
USE_BZIP2= yes
USE_PERL5= build
SSP_UNSAFE= yes
PATCH_WRKSRC= ${SRCDIR}
CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
NO_STAGE= yes
.include <bsd.port.pre.mk>
DEPRECATED= Superseded by GCC 4.6 and later, kept for the sake of two obsolete ports
.if ${OSVERSION} >= 1000000
BROKEN= Does not compile on FreeBSD 10.0 and later
.endif
.if ${ARCH} == "amd64"
CONFIGURE_TARGET= x86_64-portbld-${OPSYS:L}${OSREL}
.else
CONFIGURE_TARGET= ${ARCH}-portbld-${OPSYS:L}${OSREL}
.endif
SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING}
WRKSRC= ${WRKDIR}/build
TARGLIB= ${PREFIX}/lib/gcc/${CONFIGURE_TARGET}/${PORTVERSION}
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-nls \
--with-system-zlib \
${ICONV_CONFIGURE_ARG} \
--program-suffix=${SUFFIX} \
--libdir=${TARGLIB} \
--with-gxx-include-dir=${TARGLIB}/include/c++/
CONFIGURE_ENV= RANLIB=:
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 \
g77-${SUFFIX}.1 \
gcc${SUFFIX}.1 \
gcov${SUFFIX}.1
INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/cppinternals \
gcc${SUFFIX}/g77 \
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-install:
${MV} -f ${PREFIX}/bin/g77${SUFFIX} ${PREFIX}/bin/g77-${SUFFIX}
-${MV} -f ${PREFIX}/man/man1/g77${SUFFIX}.1 ${PREFIX}/man/man1/g77-${SUFFIX}.1
${RM} -f ${PREFIX}/man/man7/fsf-funding.7 \
${PREFIX}/man/man7/gfdl.7 ${PREFIX}/man/man7/gpl.7
${RM} -f ${TARGLIB}/*.la
# Add target libraries and include files to packaging list.
${RM} -f ${WRKDIR}/PLIST.lib
.for d in ${TARGLIB:S/^${PREFIX}\///}
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/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${WRKDIR}/PLIST.lib
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true" >> ${WRKDIR}/PLIST.lib
cd ${WRKDIR} ; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST}
.include <bsd.port.post.mk>

View File

@ -1,6 +0,0 @@
SHA256 (gcc-core-3.4.6.tar.bz2) = 3aab171d86e5a6c14cb9de35467a0472a7d5ef1d5b79a1df72ca533f8e82a133
SIZE (gcc-core-3.4.6.tar.bz2) = 13366790
SHA256 (gcc-g++-3.4.6.tar.bz2) = f186937402752d25317adf2832b0b1d316334e158ae380471ab62509e4ea90b1
SIZE (gcc-g++-3.4.6.tar.bz2) = 2511332
SHA256 (gcc-g77-3.4.6.tar.bz2) = 4a8b841ce79c70abfb5c0f523b710d298fc80a6f1104dedece5617de21d6c762
SIZE (gcc-g77-3.4.6.tar.bz2) = 908261

View File

@ -1,11 +0,0 @@
--- gcc/config/freebsd-spec.h.orig 2005-07-19 17:08:48.000000000 -0400
+++ gcc/config/freebsd-spec.h 2007-10-17 15:13:55.000000000 -0400
@@ -55,7 +55,7 @@
builtin_define ("__FreeBSD__=9"); \
else if (FBSD_MAJOR == 8) \
builtin_define ("__FreeBSD__=8"); \
- if (FBSD_MAJOR == 7) \
+ else if (FBSD_MAJOR == 7) \
builtin_define ("__FreeBSD__=7"); \
else if (FBSD_MAJOR == 6) \
builtin_define ("__FreeBSD__=6"); \

View File

@ -1,28 +0,0 @@
--- gcc/config/sparc/freebsd.h.orig 2004-07-17 21:18:58.000000000 +0000
+++ gcc/config/sparc/freebsd.h 2008-02-15 21:04:17.000000000 +0000
@@ -24,11 +24,21 @@
{ "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER }
/* FreeBSD needs the platform name (sparc64) defined.
- Emacs needs to know if the arch is 64 or 32-bits. */
+ Emacs needs to know if the arch is 64 or 32-bits.
+ This also selects which targets are available via -mcpu. */
-#undef CPP_CPU64_DEFAULT_SPEC
-#define CPP_CPU64_DEFAULT_SPEC \
- "-D__sparc64__ -D__sparc_v9__ -D__sparcv9 -D__arch64__"
+#undef FBSD_TARGET_CPU_CPP_BUILTINS
+#define FBSD_TARGET_CPU_CPP_BUILTINS() \
+ do \
+ { \
+ builtin_define ("__LP64__"); \
+ builtin_define ("__sparc64__"); \
+ builtin_define ("__sparc_v9__"); \
+ builtin_define ("__sparcv9"); \
+ builtin_define ("__sparc__"); \
+ builtin_define ("__arch64__"); \
+ } \
+ while (0)
#define LINK_SPEC "%(link_arch) \
%{!mno-relax:%{!r:-relax}} \

View File

@ -1,12 +0,0 @@
--- gcc/gengtype-yacc.y.orig Fri Sep 20 00:33:24 2002
+++ gcc/gengtype-yacc.y Tue Apr 22 09:11:27 2003
@@ -24,6 +24,9 @@
#include "system.h"
#include "gengtype.h"
#define YYERROR_VERBOSE
+
+#define malloc xmalloc
+#define realloc xrealloc
%}
%union {

View File

@ -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*)

View File

@ -1,8 +0,0 @@
GCC, the GNU Compiler Collection includes gcc, g++, and g77.
This port installs the various front ends as gcc34, g++34, and g77-34
into the ${PREFIX}/bin directory.
WWW: http://gcc.gnu.org/
Gerald Pfeifer <gerald@FreeBSD.org>

View File

@ -1,24 +0,0 @@
bin/%%GNU_HOST%%-c++%%SUFFIX%%
bin/%%GNU_HOST%%-g++%%SUFFIX%%
bin/%%GNU_HOST%%-gcc%%SUFFIX%%
bin/%%GNU_HOST%%-gcc-%%GCC_VER%%
bin/c++%%SUFFIX%%
bin/cpp%%SUFFIX%%
bin/g++%%SUFFIX%%
bin/g77-%%SUFFIX%%
bin/gcc%%SUFFIX%%
bin/gccbug%%SUFFIX%%
bin/gcov%%SUFFIX%%
libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/cc1
libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/cc1plus
libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/collect2
libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/f771
libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/install-tools/fixinc.sh
libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/install-tools/fixincl
libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/install-tools/mkheaders
@dirrm libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/install-tools
@dirrm libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%
@dirrmtry libexec/gcc/%%GNU_HOST%%
@dirrmtry libexec/gcc
info/gcc%%SUFFIX%%/dir
@comment Insert PLIST.lib here