aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc42
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2009-02-01 22:58:35 +0800
committergerald <gerald@FreeBSD.org>2009-02-01 22:58:35 +0800
commitece0ce16b59b4f2922ba01dd256d1b3f7e95162b (patch)
treee55add45c50edcb18621d0c2fc957680b93c7ae0 /lang/gcc42
parentd6991a4b222e52002c4bf990acda3778b769e653 (diff)
downloadfreebsd-ports-gnome-ece0ce16b59b4f2922ba01dd256d1b3f7e95162b.tar.gz
freebsd-ports-gnome-ece0ce16b59b4f2922ba01dd256d1b3f7e95162b.tar.zst
freebsd-ports-gnome-ece0ce16b59b4f2922ba01dd256d1b3f7e95162b.zip
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]
Diffstat (limited to 'lang/gcc42')
-rw-r--r--lang/gcc42/Makefile24
-rw-r--r--lang/gcc42/distinfo6
-rw-r--r--lang/gcc42/pkg-descr2
-rw-r--r--lang/gcc42/pkg-plist2
4 files changed, 7 insertions, 27 deletions
diff --git a/lang/gcc42/Makefile b/lang/gcc42/Makefile
index 1219c5f2baf1..ed1df2ab6d44 100644
--- a/lang/gcc42/Makefile
+++ b/lang/gcc42/Makefile
@@ -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.
diff --git a/lang/gcc42/distinfo b/lang/gcc42/distinfo
index 3c77bdae70e2..00c865051d3d 100644
--- a/lang/gcc42/distinfo
+++ b/lang/gcc42/distinfo
@@ -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
diff --git a/lang/gcc42/pkg-descr b/lang/gcc42/pkg-descr
index 99149439eb1f..e42418c77154 100644
--- a/lang/gcc42/pkg-descr
+++ b/lang/gcc42/pkg-descr
@@ -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.
diff --git a/lang/gcc42/pkg-plist b/lang/gcc42/pkg-plist
index 0b77986a4312..0550586fa444 100644
--- a/lang/gcc42/pkg-plist
+++ b/lang/gcc42/pkg-plist
@@ -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%%