mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
Set PORTNAME, COMMENT, and LATEST_LINK unconditionally as opposed to
using ?=. Add powerpc to NOT_FOR_ARCHS. [1] No longer include the Fortran frontend. This version has been super- seded by later ports, and the main purpose of lang/gcc42 is being on par with the GCC 4.2-based system compiler recent versions of FreeBSD feature. Remove gcc-testsuite from DISTFILES, along with the post-build and check targets. This reduces disk and bandwidth consumptions for a feature (apparently) never used. PR: 130964 [1]
This commit is contained in:
parent
71bbf2f717
commit
46442c306e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=227369
@ -6,7 +6,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME?= gcc
|
||||
PORTNAME= gcc
|
||||
PORTVERSION= 4.2.5
|
||||
PORTREVISION= 20081126
|
||||
CATEGORIES= lang java
|
||||
@ -14,20 +14,18 @@ VERSIONSTRING= 4.2-${PORTREVISION}
|
||||
MASTER_SITES= ${MASTER_SITE_GCC}
|
||||
MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING}
|
||||
DISTFILES= gcc-core-${VERSIONSTRING}${EXTRACT_SUFX} \
|
||||
gcc-fortran-${VERSIONSTRING}${EXTRACT_SUFX} \
|
||||
gcc-g++-${VERSIONSTRING}${EXTRACT_SUFX} \
|
||||
gcc-objc-${VERSIONSTRING}${EXTRACT_SUFX} \
|
||||
gcc-testsuite-${VERSIONSTRING}${EXTRACT_SUFX}
|
||||
gcc-objc-${VERSIONSTRING}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER?= gerald@FreeBSD.org
|
||||
COMMENT?= GNU Compiler Collection 4.2
|
||||
COMMENT= GNU Compiler Collection 4.2
|
||||
|
||||
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 \
|
||||
mpfr.3:${PORTSDIR}/math/mpfr
|
||||
|
||||
SUFFIX= 42
|
||||
LATEST_LINK?= gcc${SUFFIX}${PKGNAMESUFFIX}
|
||||
NOT_FOR_ARCHS= ia64
|
||||
LATEST_LINK= gcc${SUFFIX}${PKGNAMESUFFIX}
|
||||
NOT_FOR_ARCHS= ia64 powerpc
|
||||
USE_BISON= build
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
@ -70,14 +68,12 @@ PLIST_SUB= GCC_VER=${PORTVERSION} GNU_HOST=${CONFIGURE_TARGET} \
|
||||
MAN1= cpp${SUFFIX}.1 \
|
||||
g++${SUFFIX}.1 \
|
||||
gcc${SUFFIX}.1 \
|
||||
gcov${SUFFIX}.1 \
|
||||
gfortran${SUFFIX}.1
|
||||
gcov${SUFFIX}.1
|
||||
INFO= gcc${SUFFIX}/cpp \
|
||||
gcc${SUFFIX}/cppinternals \
|
||||
gcc${SUFFIX}/gcc \
|
||||
gcc${SUFFIX}/gccinstall \
|
||||
gcc${SUFFIX}/gccint \
|
||||
gcc${SUFFIX}/gfortran \
|
||||
gcc${SUFFIX}/libgomp
|
||||
|
||||
.if ! defined(WITHOUT_JAVA)
|
||||
@ -135,14 +131,6 @@ pre-configure:
|
||||
@${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.
|
||||
|
@ -1,18 +1,12 @@
|
||||
MD5 (gcc-core-4.2-20081126.tar.bz2) = 1aabb7f0355a6bb6769e189fe02c9187
|
||||
SHA256 (gcc-core-4.2-20081126.tar.bz2) = e64b141e3a3920b57ca20d89a3469c877332df73575fb1edd05b0c02965eb57b
|
||||
SIZE (gcc-core-4.2-20081126.tar.bz2) = 16062653
|
||||
MD5 (gcc-fortran-4.2-20081126.tar.bz2) = edfcc263d013b2b793dd5ee19ae2997b
|
||||
SHA256 (gcc-fortran-4.2-20081126.tar.bz2) = 4e5d9ccb106a7ad70137c21ac5656ec5348b80cb4d7a4de09a5cb8933e9cb2fc
|
||||
SIZE (gcc-fortran-4.2-20081126.tar.bz2) = 911865
|
||||
MD5 (gcc-g++-4.2-20081126.tar.bz2) = 25067427fd8e427ead81f7a2b6e174d8
|
||||
SHA256 (gcc-g++-4.2-20081126.tar.bz2) = daebc0dc74d9ba68e98591893724d2a296ec10067945f0dc0d9485d2b9f36671
|
||||
SIZE (gcc-g++-4.2-20081126.tar.bz2) = 4825399
|
||||
MD5 (gcc-objc-4.2-20081126.tar.bz2) = 4bc6250ebc8f64774b990a89ab5f0bcc
|
||||
SHA256 (gcc-objc-4.2-20081126.tar.bz2) = b3a2165ff3ffb8542ddbf15e1232ecc2188e48e9a93098f74ba8a2018d393181
|
||||
SIZE (gcc-objc-4.2-20081126.tar.bz2) = 196272
|
||||
MD5 (gcc-testsuite-4.2-20081126.tar.bz2) = 78cd7a9fd52c2df1533dc7e1317e0547
|
||||
SHA256 (gcc-testsuite-4.2-20081126.tar.bz2) = b5ea7ffe86cd0c2b18fd97515b88eacb543d721a9a78d10b071fe0eb9cfa12c1
|
||||
SIZE (gcc-testsuite-4.2-20081126.tar.bz2) = 3892039
|
||||
MD5 (gcc-java-4.2-20081126.tar.bz2) = e6041f7d5ff7913a8d86690a67a3ef67
|
||||
SHA256 (gcc-java-4.2-20081126.tar.bz2) = 8631c37e9cd6852cf39db783f7cf83979fdc987729ba42d651c350cc39a39ea5
|
||||
SIZE (gcc-java-4.2-20081126.tar.bz2) = 10408682
|
||||
|
@ -1,4 +1,4 @@
|
||||
GCC, the GNU Compiler Collection includes C, C++, Java and Fortran.
|
||||
GCC, the GNU Compiler Collection includes C, C++, and Java.
|
||||
|
||||
This port installs the various front ends as gcc42, g++42, gcj42, and
|
||||
so forth into the ${PREFIX}/bin directory.
|
||||
|
@ -5,12 +5,10 @@ bin/g++%%SUFFIX%%
|
||||
bin/gcc%%SUFFIX%%
|
||||
bin/gccbug%%SUFFIX%%
|
||||
bin/gcov%%SUFFIX%%
|
||||
bin/gfortran%%SUFFIX%%
|
||||
bin/%%GNU_HOST%%-c++%%SUFFIX%%
|
||||
bin/%%GNU_HOST%%-g++%%SUFFIX%%
|
||||
bin/%%GNU_HOST%%-gcc-%%GCC_VER%%
|
||||
bin/%%GNU_HOST%%-gcc%%SUFFIX%%
|
||||
bin/%%GNU_HOST%%-gfortran%%SUFFIX%%
|
||||
info/gcc%%SUFFIX%%/dir
|
||||
%%JAVA%%bin/addr2name.awk%%SUFFIX%%
|
||||
%%JAVA%%bin/gappletviewer%%SUFFIX%%
|
||||
|
Loading…
Reference in New Issue
Block a user