aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2003-10-17 21:34:24 +0800
committergerald <gerald@FreeBSD.org>2003-10-17 21:34:24 +0800
commit0e2260146e83edd550899d04c90a95e80c5be2ab (patch)
treeb9ac462fbb7cd71d84380468ceeb6b344f0e6791 /lang
parent9ddc374e4768c5a0e4567e5d9711f4c633ac51ca (diff)
downloadfreebsd-ports-gnome-0e2260146e83edd550899d04c90a95e80c5be2ab.tar.gz
freebsd-ports-gnome-0e2260146e83edd550899d04c90a95e80c5be2ab.tar.zst
freebsd-ports-gnome-0e2260146e83edd550899d04c90a95e80c5be2ab.zip
Update to the GCC 3.3.2 release, fixing packaging problems caused by the
previous update on the way. Generalize this port such that switching between GCC snapshots and releases will be even simpler next time. Remove code to use CVS to obtain sources as I (wearing my GCC hat) can guarantee that we will provide snapshots as long as needed in the future.
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc33/Makefile53
-rw-r--r--lang/gcc33/distinfo12
2 files changed, 17 insertions, 48 deletions
diff --git a/lang/gcc33/Makefile b/lang/gcc33/Makefile
index 1ab61fabcc75..18eedd25c3e3 100644
--- a/lang/gcc33/Makefile
+++ b/lang/gcc33/Makefile
@@ -6,26 +6,23 @@
# $FreeBSD$
#
-SNAPDATE= 2003-10-13
-#CVS_DATE= ${SNAPDATE} 18:53:04 EDT
+SNAPDATE=
PORTNAME= gcc
-PORTVERSION= 3.3.1
+PORTVERSION= 3.3.2
PORTREVISION= ${SNAPDATE:S/-//g}
CATEGORIES= lang java
-VERSIONSTRING= ${PORTREVISION}
+VERSIONSTRING= 3.3.2
MASTER_SITES= ${MASTER_SITE_GCC} \
http://web.inter.NL.net/hcc/Haj.Ten.Brugge/:bc
-MASTER_SITE_SUBDIR= snapshots/3.3-${PORTREVISION}
-.if !defined(CVS_DATE)
+MASTER_SITE_SUBDIR= releases/gcc-${VERSIONSTRING}
DISTFILES= \
- gcc-core-3.3-${VERSIONSTRING}${EXTRACT_SUFX} \
- gcc-g++-3.3-${VERSIONSTRING}${EXTRACT_SUFX} \
- gcc-g77-3.3-${VERSIONSTRING}${EXTRACT_SUFX} \
- gcc-java-3.3-${VERSIONSTRING}${EXTRACT_SUFX} \
- gcc-objc-3.3-${VERSIONSTRING}${EXTRACT_SUFX} \
- gcc-testsuite-3.3-${VERSIONSTRING}${EXTRACT_SUFX}
-.endif
+ gcc-core-${VERSIONSTRING}${EXTRACT_SUFX} \
+ gcc-g++-${VERSIONSTRING}${EXTRACT_SUFX} \
+ gcc-g77-${VERSIONSTRING}${EXTRACT_SUFX} \
+ gcc-java-${VERSIONSTRING}${EXTRACT_SUFX} \
+ gcc-objc-${VERSIONSTRING}${EXTRACT_SUFX} \
+ gcc-testsuite-${VERSIONSTRING}${EXTRACT_SUFX}
MAINTAINER?= ports@FreeBSD.org
COMMENT?= GNU Compiler Collection 3.3
@@ -53,7 +50,7 @@ NOMANCOMPRESS= yes # too hard to deal with differences on 5-cur and releng4
CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
GCC_VER= ${PORTVERSION:C/\.0$//}
-SRCDIR= ${WRKDIR}/gcc-3.3-${VERSIONSTRING}
+SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING}
WRKSRC= ${WRKDIR}/build
TARGLIB= ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_VER}
GCJINC= ${PREFIX}/include/gcj
@@ -99,34 +96,6 @@ pre-everything::
@${ECHO_MSG} "to use."
.endif
-.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
-
.if defined(WITH_BOUNDSCHECKING)
# Extract bounds-checking patch, removing the ada parts of the patch with sed.
pre-patch:
diff --git a/lang/gcc33/distinfo b/lang/gcc33/distinfo
index 65fdddf1ba34..8c28801f7750 100644
--- a/lang/gcc33/distinfo
+++ b/lang/gcc33/distinfo
@@ -1,7 +1,7 @@
-MD5 (gcc-core-3.3-20031013.tar.bz2) = 2746741a59abf56cd04e1b43d2ebe255
-MD5 (gcc-g++-3.3-20031013.tar.bz2) = 0488d38b4a51eb2e7eb8dcd37ab777c5
-MD5 (gcc-g77-3.3-20031013.tar.bz2) = 71de21211aaa2fa4de3461fb0086dc6c
-MD5 (gcc-java-3.3-20031013.tar.bz2) = 7d0b2e8d515baafb19477424642bd6b5
-MD5 (gcc-objc-3.3-20031013.tar.bz2) = 0a1f454c5da3d8ac9ae0e8ec26e8b260
-MD5 (gcc-testsuite-3.3-20031013.tar.bz2) = 5bea9083cb93c8edf37d928c44a2764e
+MD5 (gcc-core-3.3.2.tar.bz2) = 42d1314aaa11a40e4c7c9fcb0f49259a
+MD5 (gcc-g++-3.3.2.tar.bz2) = b9ae980739e7f9299addc0a3576777e7
+MD5 (gcc-g77-3.3.2.tar.bz2) = 29a10486d5001c62f4566f1424fe9451
+MD5 (gcc-java-3.3.2.tar.bz2) = 0224c79e40ecf22506a4012618a1f6e7
+MD5 (gcc-objc-3.3.2.tar.bz2) = 2334af72a63c8bae6d00b52febfdf3ae
+MD5 (gcc-testsuite-3.3.2.tar.bz2) = d0d0b003be65c6b79c7655c5fd64b18f
MD5 (bounds-checking-gcc-3.3.1-1.00.patch.bz2) = e14f935f9636cca2259799f21d63dc79