aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc42
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2004-02-20 06:12:30 +0800
committergerald <gerald@FreeBSD.org>2004-02-20 06:12:30 +0800
commitd110315feb30ee6fd8bcbe7ed6a8b02d0709bdbd (patch)
treefbae9e12da66fd12c6a36907c164347af98cc66a /lang/gcc42
parent39a12a2d7db289d1948e21c54d87c13c62916007 (diff)
downloadfreebsd-ports-gnome-d110315feb30ee6fd8bcbe7ed6a8b02d0709bdbd.tar.gz
freebsd-ports-gnome-d110315feb30ee6fd8bcbe7ed6a8b02d0709bdbd.tar.zst
freebsd-ports-gnome-d110315feb30ee6fd8bcbe7ed6a8b02d0709bdbd.zip
Adopt this port and update to the 2004-02-18 snapshot of GCC 3.4.
Given that I am now responsible for snapshot generation on gcc.gnu.org, remove the feature to obtain sources from GCC CVS. Mark broken on amd64 (which used to be called x86_64).
Diffstat (limited to 'lang/gcc42')
-rw-r--r--lang/gcc42/Makefile39
-rw-r--r--lang/gcc42/distinfo24
2 files changed, 18 insertions, 45 deletions
diff --git a/lang/gcc42/Makefile b/lang/gcc42/Makefile
index c58555933037..a72dee387e01 100644
--- a/lang/gcc42/Makefile
+++ b/lang/gcc42/Makefile
@@ -5,18 +5,16 @@
#
# $FreeBSD$
#
-SNAPDATE= 2004-02-11
+SNAPDATE= 2004-02-18
PORTNAME= gcc
PORTVERSION= 3.4.0
-PORTREVISION= 1
PORTREVISION= ${SNAPDATE:S/-//g}
CATEGORIES= lang java
VERSIONSTRING= 3.4-${PORTREVISION}
MASTER_SITES= ${MASTER_SITE_GCC} \
http://web.inter.NL.net/hcc/Haj.Ten.Brugge/:bc
MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING}
-.if !defined(CVS_DATE)
DISTFILES= \
gcc-core-${VERSIONSTRING}${EXTRACT_SUFX} \
gcc-g++-${VERSIONSTRING}${EXTRACT_SUFX} \
@@ -24,9 +22,8 @@ DISTFILES= \
gcc-java-${VERSIONSTRING}${EXTRACT_SUFX} \
gcc-objc-${VERSIONSTRING}${EXTRACT_SUFX} \
gcc-testsuite-${VERSIONSTRING}${EXTRACT_SUFX}
-.endif
-MAINTAINER?= ports@FreeBSD.org
+MAINTAINER?= gerald@FreeBSD.org
COMMENT?= GNU Compiler Collection 3.4
LATEST_LINK?= gcc34${PKGNAMESUFFIX}
@@ -44,6 +41,10 @@ NOMANCOMPRESS= yes # too hard to deal with differences on 5-cur and releng4
.include <bsd.port.pre.mk>
+.if ${ARCH} == "amd64"
+BROKEN= "Configure broken due to renaming this architecture from x86_84."
+.endif
+
.if ${ARCH} == sparc64
BROKEN= "libgcj is not supported/packaging is broken on this platform"
.endif
@@ -95,34 +96,6 @@ INFO= cpp cppinternals g77 gcc gccinstall gccint gcj fastjar
pre-everything::
@${ECHO_MSG} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT} target ${CONFIGURE_TARGET}"
-.if defined(CVS_DATE)
-NO_CHECKSUM= yes
-DIST_SUBDIR= ${PKGNAME}
-CVS_CMD?= cvs -z3 -qR
-CVSROOT= :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc
-STAMPFILE= ${DISTDIR}/${DIST_SUBDIR}/.timestamp
-do-fetch:
- @if [ ! -e ${STAMPFILE} ] || \
- [ "X${CVS_DATE}" != "X$$(${CAT} ${STAMPFILE})" ]; then \
- ${MKDIR} ${DISTDIR}/${DIST_SUBDIR} && \
- cd ${DISTDIR}/${DIST_SUBDIR} ; \
- unset CVS_RSH CVS_SERVER || ${TRUE} ; \
- ${ECHO_MSG} ">> Attempting to CVS checkout from ${CVSROOT}." ;\
- if ${CVS_CMD} -d ${CVSROOT} co -D "${CVS_DATE}" gcc ; \
- then \
- ( ${ECHO_CMD} -n "${CVS_DATE}" > ${STAMPFILE} ) ; \
- exit ; \
- fi ; \
- ${ECHO_MSG} ">> Couldn't CVS checkout ${PKGNAME}." ; \
- ${ECHO_MSG} ">> Please try again later."; \
- exit 1; \
- fi
-
-do-extract:
- ${MKDIR} ${SRCDIR}
- cd ${DISTDIR}/${DIST_SUBDIR}/${DIST_SUBDIR ; ${PAX} -pe -rwt . ${SRCDIR}
-.endif # CVS_DATE
-
post-patch:
@${REINPLACE_CMD} -e 's|\(const char version_string.*\)";|\1 [FreeBSD]";|' \
${SRCDIR}/gcc/version.c
diff --git a/lang/gcc42/distinfo b/lang/gcc42/distinfo
index 52f02ad68b93..e9eff98a9b5c 100644
--- a/lang/gcc42/distinfo
+++ b/lang/gcc42/distinfo
@@ -1,12 +1,12 @@
-MD5 (gcc-core-3.4-20040211.tar.bz2) = ea5ff245d1ea2b7187155f40e4aa4161
-SIZE (gcc-core-3.4-20040211.tar.bz2) = 10334372
-MD5 (gcc-g++-3.4-20040211.tar.bz2) = da1a360a7f074bf85adf08e174846f4a
-SIZE (gcc-g++-3.4-20040211.tar.bz2) = 2339349
-MD5 (gcc-g77-3.4-20040211.tar.bz2) = 6382834c5c7acd4aa166dec1b1568398
-SIZE (gcc-g77-3.4-20040211.tar.bz2) = 890549
-MD5 (gcc-java-3.4-20040211.tar.bz2) = 01a08a209a924135e6cd1a0c577ee5bc
-SIZE (gcc-java-3.4-20040211.tar.bz2) = 4543313
-MD5 (gcc-objc-3.4-20040211.tar.bz2) = 7e892c642c41cffe3dd708a0ac8a89e2
-SIZE (gcc-objc-3.4-20040211.tar.bz2) = 148554
-MD5 (gcc-testsuite-3.4-20040211.tar.bz2) = f5c1d05084cf1fca6e6a20ec0f7b7a6a
-SIZE (gcc-testsuite-3.4-20040211.tar.bz2) = 2585494
+MD5 (gcc-core-3.4-20040218.tar.bz2) = b1212019aaf0d7c82632ee9bcaf4c8b1
+SIZE (gcc-core-3.4-20040218.tar.bz2) = 10492236
+MD5 (gcc-g++-3.4-20040218.tar.bz2) = 606929b915f4045e76e965d06ad68d9a
+SIZE (gcc-g++-3.4-20040218.tar.bz2) = 2341243
+MD5 (gcc-g77-3.4-20040218.tar.bz2) = 02509a0b82092679d8aed693ab5838f1
+SIZE (gcc-g77-3.4-20040218.tar.bz2) = 890723
+MD5 (gcc-java-3.4-20040218.tar.bz2) = 6813f69150fc477c9ae21e15af937b05
+SIZE (gcc-java-3.4-20040218.tar.bz2) = 4542909
+MD5 (gcc-objc-3.4-20040218.tar.bz2) = a7ebf3d27aa22adbe5aeac2f6ebbad9b
+SIZE (gcc-objc-3.4-20040218.tar.bz2) = 148650
+MD5 (gcc-testsuite-3.4-20040218.tar.bz2) = 2bd2c9a597ff26c3b38a6aa59f17b0b0
+SIZE (gcc-testsuite-3.4-20040218.tar.bz2) = 2588093