Resign as maintainer of this port of GCC 4.8 which has been unsupported

upstream since 2015 and marked deprecated for three years now.

sysutils/memtest86+ and sysutils/uefi-edk2-bhyve are two remaining users
in the entire ports tree which hopefully will be converted at one point.

On the way refer to GCC 10 instead of GCC 9 for a recommended update.

And move the USES block earlier in the Makefile as newer GCC ports do
to honor our coding standards (and pet portlint).
This commit is contained in:
Gerald Pfeifer 2020-11-15 22:21:18 +00:00
parent da4d61d214
commit 07f38be147
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555437

View File

@ -3,18 +3,18 @@
PORTNAME= gcc
PORTVERSION= 4.8.5
PORTREVISION= 12
PORTREVISION= 13
CATEGORIES= lang
MASTER_SITES= GCC
PKGNAMESUFFIX= ${SUFFIX}
MAINTAINER= gerald@FreeBSD.org
MAINTAINER= ports@FreeBSD.org
COMMENT= GNU Compiler Collection 4.8
LICENSE= GPLv3 GPLv3RLE
LICENSE_COMB= multi
DEPRECATED= Unsupported by upstream. Use GCC 9 or newer instead.
DEPRECATED= Unsupported by upstream since 2015. Use GCC 10 or newer instead.
ONLY_FOR_ARCHS= amd64 i386
LIB_DEPENDS= libgmp.so:math/gmp \
@ -22,18 +22,18 @@ LIB_DEPENDS= libgmp.so:math/gmp \
libmpc.so:math/mpc
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils
RUN_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils
.if defined(MAINTAINER_MODE)
BUILD_DEPENDS+= runtest:misc/dejagnu
.endif
USES= compiler cpe gmake iconv libtool makeinfo perl5 tar:bzip2
USE_BINUTILS= yes
USE_PERL5= build
CPE_VENDOR= gnu
GCC_VERSION= ${PORTVERSION}
SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/}
USES= compiler cpe gmake iconv libtool makeinfo perl5 tar:bzip2
USE_BINUTILS= yes
USE_PERL5= build
SSP_UNSAFE= yes
CFLAGS:= ${CFLAGS:N-march=haswell:N-march=ivybridge:N-march=westmere:N-mretpoline}
CXXFLAGS:= ${CXXFLAGS:N-march=haswell:N-march=ivybridge:N-march=westmere:N-mretpoline}