aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2014-02-14 05:42:40 +0800
committergerald <gerald@FreeBSD.org>2014-02-14 05:42:40 +0800
commite6361e0fcd002a909a8ef4c95bb2ec781eb051e1 (patch)
tree906bf9ecbc30ad692ee3aa81faf3e16b4c1533e7 /lang
parent453e1558d31f0dec4909fc6b4995c51e22e18f66 (diff)
downloadfreebsd-ports-gnome-e6361e0fcd002a909a8ef4c95bb2ec781eb051e1.tar.gz
freebsd-ports-gnome-e6361e0fcd002a909a8ef4c95bb2ec781eb051e1.tar.zst
freebsd-ports-gnome-e6361e0fcd002a909a8ef4c95bb2ec781eb051e1.zip
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.
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/gcc34/Makefile102
-rw-r--r--lang/gcc34/distinfo6
-rw-r--r--lang/gcc34/files/patch-config-freebsd-spec.h11
-rw-r--r--lang/gcc34/files/patch-config-sparc-freebsd.h28
-rw-r--r--lang/gcc34/files/patch-gengtype-yacc.y12
-rw-r--r--lang/gcc34/files/patch-ltconfig14
-rw-r--r--lang/gcc34/pkg-descr8
-rw-r--r--lang/gcc34/pkg-plist24
9 files changed, 0 insertions, 206 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 48875be6e1ca..076d56ecd3cc 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -89,7 +89,6 @@
SUBDIR += gcc
SUBDIR += gcc-aux
SUBDIR += gcc-ecj45
- SUBDIR += gcc34
SUBDIR += gcc44
SUBDIR += gcc46
SUBDIR += gcc47
diff --git a/lang/gcc34/Makefile b/lang/gcc34/Makefile
deleted file mode 100644
index b9349b35201f..000000000000
--- a/lang/gcc34/Makefile
+++ /dev/null
@@ -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>
diff --git a/lang/gcc34/distinfo b/lang/gcc34/distinfo
deleted file mode 100644
index d5534e1f6667..000000000000
--- a/lang/gcc34/distinfo
+++ /dev/null
@@ -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
diff --git a/lang/gcc34/files/patch-config-freebsd-spec.h b/lang/gcc34/files/patch-config-freebsd-spec.h
deleted file mode 100644
index 6f22de153ff2..000000000000
--- a/lang/gcc34/files/patch-config-freebsd-spec.h
+++ /dev/null
@@ -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"); \
diff --git a/lang/gcc34/files/patch-config-sparc-freebsd.h b/lang/gcc34/files/patch-config-sparc-freebsd.h
deleted file mode 100644
index 8b8ae0de92e5..000000000000
--- a/lang/gcc34/files/patch-config-sparc-freebsd.h
+++ /dev/null
@@ -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}} \
diff --git a/lang/gcc34/files/patch-gengtype-yacc.y b/lang/gcc34/files/patch-gengtype-yacc.y
deleted file mode 100644
index 4afaae159533..000000000000
--- a/lang/gcc34/files/patch-gengtype-yacc.y
+++ /dev/null
@@ -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 {
diff --git a/lang/gcc34/files/patch-ltconfig b/lang/gcc34/files/patch-ltconfig
deleted file mode 100644
index 238574b8adac..000000000000
--- a/lang/gcc34/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/gcc34/pkg-descr b/lang/gcc34/pkg-descr
deleted file mode 100644
index 28ea8472d54f..000000000000
--- a/lang/gcc34/pkg-descr
+++ /dev/null
@@ -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>
diff --git a/lang/gcc34/pkg-plist b/lang/gcc34/pkg-plist
deleted file mode 100644
index ba41d71e9db9..000000000000
--- a/lang/gcc34/pkg-plist
+++ /dev/null
@@ -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