aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-03-13 13:08:26 +0800
committerobrien <obrien@FreeBSD.org>2002-03-13 13:08:26 +0800
commitfc8d6550f7fc0a90cff0b50b5525b2376893366d (patch)
tree95dca8431ad66bfce7f3fba723fd1748bbbbe897
parent6c7db3abc58ab472b5e983d52cc09345c5aa6909 (diff)
downloadfreebsd-ports-graphics-fc8d6550f7fc0a90cff0b50b5525b2376893366d.tar.gz
freebsd-ports-graphics-fc8d6550f7fc0a90cff0b50b5525b2376893366d.tar.zst
freebsd-ports-graphics-fc8d6550f7fc0a90cff0b50b5525b2376893366d.zip
Upgrade to the 10-March-2002 GCC 3.2 in-development snapshot.
Due to the lack of a real snapshot distfile, this has to use CVS as the fetch method.
-rw-r--r--lang/gcc-ooo/Makefile82
-rw-r--r--lang/gcc-ooo/distinfo5
-rw-r--r--lang/gcc/Makefile82
-rw-r--r--lang/gcc/distinfo5
-rw-r--r--lang/gcc33/Makefile82
-rw-r--r--lang/gcc33/distinfo5
-rw-r--r--lang/gcc34/Makefile82
-rw-r--r--lang/gcc34/distinfo5
-rw-r--r--lang/gcc35/Makefile82
-rw-r--r--lang/gcc35/distinfo5
-rw-r--r--lang/gcc40/Makefile82
-rw-r--r--lang/gcc40/distinfo5
-rw-r--r--lang/gcc41/Makefile82
-rw-r--r--lang/gcc41/distinfo5
-rw-r--r--lang/gcc42/Makefile82
-rw-r--r--lang/gcc42/distinfo5
-rw-r--r--lang/gcc43/Makefile82
-rw-r--r--lang/gcc43/distinfo5
-rw-r--r--lang/gcc44/Makefile82
-rw-r--r--lang/gcc44/distinfo5
-rw-r--r--lang/gcc45/Makefile82
-rw-r--r--lang/gcc45/distinfo5
-rw-r--r--lang/gcc46/Makefile82
-rw-r--r--lang/gcc46/distinfo5
-rw-r--r--lang/gcc47/Makefile82
-rw-r--r--lang/gcc47/distinfo5
-rw-r--r--lang/gcc48/Makefile82
-rw-r--r--lang/gcc48/distinfo5
28 files changed, 644 insertions, 574 deletions
diff --git a/lang/gcc-ooo/Makefile b/lang/gcc-ooo/Makefile
index 25671ded169..68c2e3e4deb 100644
--- a/lang/gcc-ooo/Makefile
+++ b/lang/gcc-ooo/Makefile
@@ -6,11 +6,12 @@
# $FreeBSD$
#
-SNAPDATE= 2002-02-25
+SNAPDATE= 2002-03-10
SNAPVER= ${SNAPDATE:S/-//g}
-PORTNAME= gcc31
-PORTVERSION= ${SNAPVER}
+PORTNAME= gcc
+PORTVERSION= 3.2
+PORTREVISION= ${SNAPVER}
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
ftp://ftp.netwinder.org/pub/build/gcc/i386/${SNAPVER}/ \
@@ -22,24 +23,16 @@ DISTFILES= \
gcc-g77-${SNAPVER}${EXTRACT_SUFX} \
gcc-java-${SNAPVER}${EXTRACT_SUFX} \
gcc-objc-${SNAPVER}${EXTRACT_SUFX}
-# gcc-ss-3.1-0_${SNAPVER}.src.rpm
+# gcc-ss-3.2-0_${SNAPVER}.src.rpm
MAINTAINER= obrien@FreeBSD.org
-BROKEN= 'snapshot not available at this time'
NO_CDROM= 'dated material'
-LATEST_LINK= gcc31
+LATEST_LINK= gcc32
USE_BZIP2= yes
-.if defined(NETWINDER_SS)
-BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
-
-EXTRACT_CMD= rpm2cpio
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= |cpio -idum
-EXTRACT_ONLY=
-.endif
+CVS_DATE= ${SNAPDATE} 11:05 PST
PATCH_WRKSRC= ${SRCDIR}
CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
@@ -52,7 +45,7 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL}
.endif
#GCC_REV= ${PORTVERSION:C/\.0$//}
-GCC_REV= 3.1
+GCC_REV= 3.2
#SRCDIR= ${WRKDIR}/gcc-${GCC_REV}
SRCDIR= ${WRKDIR}/gcc-${SNAPVER}
WRKSRC= ${WRKDIR}/build
@@ -77,19 +70,37 @@ CONFIGURE_ARGS+= --enable-threads
CONFIGURE_ARGS+= --enable-threads=posix
.endif
ALL_TARGET= bootstrap
-#MAN1= cpp31.1 g++31.1 g77-31.1 gcc31.1 gcov31.1
-MAN1= g++31.1
+#MAN1= cpp32.1 g++32.1 g77-32.1 gcc32.1 gcov32.1
+MAN1= g++32.1
pre-fetch:
@${ECHO} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT} target ${ARCH}-portbld-freebsd${OSREL}"
-.if defined(NETWINDER_SS)
-post-extract:
-.for F in ${DISTFILES}
- cd ${WRKDIR} ; rpm2cpio ${DISTDIR}/$F |cpio -idum
-.endfor
- cd ${WRKDIR} ; ${TAR} -xzf gcc-${SNAPVER}.tar.gz
- cd ${WRKDIR} ; ${LN} -sf gcc gcc-${SNAPVER}
+.if defined(CVS_DATE)
+NO_CHECKSUM= yes
+CVS_CMD?= cvs -z3
+CVSROOT= :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc
+STAMPFILE= ${DISTDIR}/${PKGNAME}/.timestamp
+do-fetch:
+ @if [ ! -e ${STAMPFILE} ] || \
+ [ "X${CVS_DATE}" != "X$$(${CAT} ${STAMPFILE})" ]; then \
+ ${MKDIR} ${DISTDIR}/${PKGNAME} && \
+ cd ${DISTDIR}/${PKGNAME} ; \
+ 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} -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}/${PKGNAME}/gcc ; pax -pe -rwt . ${SRCDIR}
.endif
pre-configure:
@@ -122,27 +133,26 @@ post-install:
strip $$prog ; \
done )
.for file in gcc g++ cpp g++filt gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++ gcj gcjh jv-scan jcf-dump jar grepjar
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}31
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}32
-( ${TEST} -e ${PREFIX}/man/man1/${file}.1 \
&& ${MV} -f ${PREFIX}/man/man1/${file}.1 \
- ${PREFIX}/man/man1/${file}31.1 )
+ ${PREFIX}/man/man1/${file}32.1 )
.endfor
.for file in g77
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-31
- #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-31.1
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-32
+ #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-32.1
.endfor
${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${SNAPVER}
# These 3 libraries are moved from PREFIX/lib to avoid conflicts
# with the stock compiler.
- ${MV} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}
- ${MV} -f ${PREFIX}/lib/libstdc++.* ${PREFIX}/lib/libsupc++.* ${TARGLIB}
- -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
-#.if defined(WANT_SHAREDLIBS)
-# ${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
-#.endif
-.for info in cpp cppinternals g77 gcc gcj
- install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+.for file in libstdc++ libsupc++ libg2c libfrtbegin libobjc
+ ${MV} -f ${PREFIX}/lib/${file}.* ${TARGLIB}
.endfor
+ -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
+ ${RM} -f ${PREFIX}/lib/libiberty.a
+#.for info in cpp cppinternals g77 gcc gcj
+# install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+#.endfor
cd ${PREFIX} ;\
${FIND} ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l \
>${WRKDIR}/PLIST.gcc-lib
diff --git a/lang/gcc-ooo/distinfo b/lang/gcc-ooo/distinfo
index 336b2b1e969..e69de29bb2d 100644
--- a/lang/gcc-ooo/distinfo
+++ b/lang/gcc-ooo/distinfo
@@ -1,5 +0,0 @@
-MD5 (gcc-core-20020225.tar.bz2) = a1d6a6d6d5b5116061c69d1114581a0f
-MD5 (gcc-g++-20020225.tar.bz2) = e434b91945db07d55c528696384a77b3
-MD5 (gcc-g77-20020225.tar.bz2) = 3fbe3e1e73be55477f5d6658805b3878
-MD5 (gcc-java-20020225.tar.bz2) = 534bef8761bede48bb16c2cc213bf53a
-MD5 (gcc-objc-20020225.tar.bz2) = 966e62ce336cfd18e2d5ff904f5ec830
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile
index 25671ded169..68c2e3e4deb 100644
--- a/lang/gcc/Makefile
+++ b/lang/gcc/Makefile
@@ -6,11 +6,12 @@
# $FreeBSD$
#
-SNAPDATE= 2002-02-25
+SNAPDATE= 2002-03-10
SNAPVER= ${SNAPDATE:S/-//g}
-PORTNAME= gcc31
-PORTVERSION= ${SNAPVER}
+PORTNAME= gcc
+PORTVERSION= 3.2
+PORTREVISION= ${SNAPVER}
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
ftp://ftp.netwinder.org/pub/build/gcc/i386/${SNAPVER}/ \
@@ -22,24 +23,16 @@ DISTFILES= \
gcc-g77-${SNAPVER}${EXTRACT_SUFX} \
gcc-java-${SNAPVER}${EXTRACT_SUFX} \
gcc-objc-${SNAPVER}${EXTRACT_SUFX}
-# gcc-ss-3.1-0_${SNAPVER}.src.rpm
+# gcc-ss-3.2-0_${SNAPVER}.src.rpm
MAINTAINER= obrien@FreeBSD.org
-BROKEN= 'snapshot not available at this time'
NO_CDROM= 'dated material'
-LATEST_LINK= gcc31
+LATEST_LINK= gcc32
USE_BZIP2= yes
-.if defined(NETWINDER_SS)
-BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
-
-EXTRACT_CMD= rpm2cpio
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= |cpio -idum
-EXTRACT_ONLY=
-.endif
+CVS_DATE= ${SNAPDATE} 11:05 PST
PATCH_WRKSRC= ${SRCDIR}
CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
@@ -52,7 +45,7 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL}
.endif
#GCC_REV= ${PORTVERSION:C/\.0$//}
-GCC_REV= 3.1
+GCC_REV= 3.2
#SRCDIR= ${WRKDIR}/gcc-${GCC_REV}
SRCDIR= ${WRKDIR}/gcc-${SNAPVER}
WRKSRC= ${WRKDIR}/build
@@ -77,19 +70,37 @@ CONFIGURE_ARGS+= --enable-threads
CONFIGURE_ARGS+= --enable-threads=posix
.endif
ALL_TARGET= bootstrap
-#MAN1= cpp31.1 g++31.1 g77-31.1 gcc31.1 gcov31.1
-MAN1= g++31.1
+#MAN1= cpp32.1 g++32.1 g77-32.1 gcc32.1 gcov32.1
+MAN1= g++32.1
pre-fetch:
@${ECHO} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT} target ${ARCH}-portbld-freebsd${OSREL}"
-.if defined(NETWINDER_SS)
-post-extract:
-.for F in ${DISTFILES}
- cd ${WRKDIR} ; rpm2cpio ${DISTDIR}/$F |cpio -idum
-.endfor
- cd ${WRKDIR} ; ${TAR} -xzf gcc-${SNAPVER}.tar.gz
- cd ${WRKDIR} ; ${LN} -sf gcc gcc-${SNAPVER}
+.if defined(CVS_DATE)
+NO_CHECKSUM= yes
+CVS_CMD?= cvs -z3
+CVSROOT= :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc
+STAMPFILE= ${DISTDIR}/${PKGNAME}/.timestamp
+do-fetch:
+ @if [ ! -e ${STAMPFILE} ] || \
+ [ "X${CVS_DATE}" != "X$$(${CAT} ${STAMPFILE})" ]; then \
+ ${MKDIR} ${DISTDIR}/${PKGNAME} && \
+ cd ${DISTDIR}/${PKGNAME} ; \
+ 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} -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}/${PKGNAME}/gcc ; pax -pe -rwt . ${SRCDIR}
.endif
pre-configure:
@@ -122,27 +133,26 @@ post-install:
strip $$prog ; \
done )
.for file in gcc g++ cpp g++filt gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++ gcj gcjh jv-scan jcf-dump jar grepjar
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}31
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}32
-( ${TEST} -e ${PREFIX}/man/man1/${file}.1 \
&& ${MV} -f ${PREFIX}/man/man1/${file}.1 \
- ${PREFIX}/man/man1/${file}31.1 )
+ ${PREFIX}/man/man1/${file}32.1 )
.endfor
.for file in g77
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-31
- #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-31.1
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-32
+ #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-32.1
.endfor
${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${SNAPVER}
# These 3 libraries are moved from PREFIX/lib to avoid conflicts
# with the stock compiler.
- ${MV} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}
- ${MV} -f ${PREFIX}/lib/libstdc++.* ${PREFIX}/lib/libsupc++.* ${TARGLIB}
- -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
-#.if defined(WANT_SHAREDLIBS)
-# ${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
-#.endif
-.for info in cpp cppinternals g77 gcc gcj
- install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+.for file in libstdc++ libsupc++ libg2c libfrtbegin libobjc
+ ${MV} -f ${PREFIX}/lib/${file}.* ${TARGLIB}
.endfor
+ -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
+ ${RM} -f ${PREFIX}/lib/libiberty.a
+#.for info in cpp cppinternals g77 gcc gcj
+# install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+#.endfor
cd ${PREFIX} ;\
${FIND} ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l \
>${WRKDIR}/PLIST.gcc-lib
diff --git a/lang/gcc/distinfo b/lang/gcc/distinfo
index 336b2b1e969..e69de29bb2d 100644
--- a/lang/gcc/distinfo
+++ b/lang/gcc/distinfo
@@ -1,5 +0,0 @@
-MD5 (gcc-core-20020225.tar.bz2) = a1d6a6d6d5b5116061c69d1114581a0f
-MD5 (gcc-g++-20020225.tar.bz2) = e434b91945db07d55c528696384a77b3
-MD5 (gcc-g77-20020225.tar.bz2) = 3fbe3e1e73be55477f5d6658805b3878
-MD5 (gcc-java-20020225.tar.bz2) = 534bef8761bede48bb16c2cc213bf53a
-MD5 (gcc-objc-20020225.tar.bz2) = 966e62ce336cfd18e2d5ff904f5ec830
diff --git a/lang/gcc33/Makefile b/lang/gcc33/Makefile
index 25671ded169..68c2e3e4deb 100644
--- a/lang/gcc33/Makefile
+++ b/lang/gcc33/Makefile
@@ -6,11 +6,12 @@
# $FreeBSD$
#
-SNAPDATE= 2002-02-25
+SNAPDATE= 2002-03-10
SNAPVER= ${SNAPDATE:S/-//g}
-PORTNAME= gcc31
-PORTVERSION= ${SNAPVER}
+PORTNAME= gcc
+PORTVERSION= 3.2
+PORTREVISION= ${SNAPVER}
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
ftp://ftp.netwinder.org/pub/build/gcc/i386/${SNAPVER}/ \
@@ -22,24 +23,16 @@ DISTFILES= \
gcc-g77-${SNAPVER}${EXTRACT_SUFX} \
gcc-java-${SNAPVER}${EXTRACT_SUFX} \
gcc-objc-${SNAPVER}${EXTRACT_SUFX}
-# gcc-ss-3.1-0_${SNAPVER}.src.rpm
+# gcc-ss-3.2-0_${SNAPVER}.src.rpm
MAINTAINER= obrien@FreeBSD.org
-BROKEN= 'snapshot not available at this time'
NO_CDROM= 'dated material'
-LATEST_LINK= gcc31
+LATEST_LINK= gcc32
USE_BZIP2= yes
-.if defined(NETWINDER_SS)
-BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
-
-EXTRACT_CMD= rpm2cpio
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= |cpio -idum
-EXTRACT_ONLY=
-.endif
+CVS_DATE= ${SNAPDATE} 11:05 PST
PATCH_WRKSRC= ${SRCDIR}
CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
@@ -52,7 +45,7 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL}
.endif
#GCC_REV= ${PORTVERSION:C/\.0$//}
-GCC_REV= 3.1
+GCC_REV= 3.2
#SRCDIR= ${WRKDIR}/gcc-${GCC_REV}
SRCDIR= ${WRKDIR}/gcc-${SNAPVER}
WRKSRC= ${WRKDIR}/build
@@ -77,19 +70,37 @@ CONFIGURE_ARGS+= --enable-threads
CONFIGURE_ARGS+= --enable-threads=posix
.endif
ALL_TARGET= bootstrap
-#MAN1= cpp31.1 g++31.1 g77-31.1 gcc31.1 gcov31.1
-MAN1= g++31.1
+#MAN1= cpp32.1 g++32.1 g77-32.1 gcc32.1 gcov32.1
+MAN1= g++32.1
pre-fetch:
@${ECHO} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT} target ${ARCH}-portbld-freebsd${OSREL}"
-.if defined(NETWINDER_SS)
-post-extract:
-.for F in ${DISTFILES}
- cd ${WRKDIR} ; rpm2cpio ${DISTDIR}/$F |cpio -idum
-.endfor
- cd ${WRKDIR} ; ${TAR} -xzf gcc-${SNAPVER}.tar.gz
- cd ${WRKDIR} ; ${LN} -sf gcc gcc-${SNAPVER}
+.if defined(CVS_DATE)
+NO_CHECKSUM= yes
+CVS_CMD?= cvs -z3
+CVSROOT= :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc
+STAMPFILE= ${DISTDIR}/${PKGNAME}/.timestamp
+do-fetch:
+ @if [ ! -e ${STAMPFILE} ] || \
+ [ "X${CVS_DATE}" != "X$$(${CAT} ${STAMPFILE})" ]; then \
+ ${MKDIR} ${DISTDIR}/${PKGNAME} && \
+ cd ${DISTDIR}/${PKGNAME} ; \
+ 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} -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}/${PKGNAME}/gcc ; pax -pe -rwt . ${SRCDIR}
.endif
pre-configure:
@@ -122,27 +133,26 @@ post-install:
strip $$prog ; \
done )
.for file in gcc g++ cpp g++filt gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++ gcj gcjh jv-scan jcf-dump jar grepjar
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}31
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}32
-( ${TEST} -e ${PREFIX}/man/man1/${file}.1 \
&& ${MV} -f ${PREFIX}/man/man1/${file}.1 \
- ${PREFIX}/man/man1/${file}31.1 )
+ ${PREFIX}/man/man1/${file}32.1 )
.endfor
.for file in g77
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-31
- #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-31.1
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-32
+ #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-32.1
.endfor
${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${SNAPVER}
# These 3 libraries are moved from PREFIX/lib to avoid conflicts
# with the stock compiler.
- ${MV} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}
- ${MV} -f ${PREFIX}/lib/libstdc++.* ${PREFIX}/lib/libsupc++.* ${TARGLIB}
- -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
-#.if defined(WANT_SHAREDLIBS)
-# ${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
-#.endif
-.for info in cpp cppinternals g77 gcc gcj
- install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+.for file in libstdc++ libsupc++ libg2c libfrtbegin libobjc
+ ${MV} -f ${PREFIX}/lib/${file}.* ${TARGLIB}
.endfor
+ -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
+ ${RM} -f ${PREFIX}/lib/libiberty.a
+#.for info in cpp cppinternals g77 gcc gcj
+# install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+#.endfor
cd ${PREFIX} ;\
${FIND} ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l \
>${WRKDIR}/PLIST.gcc-lib
diff --git a/lang/gcc33/distinfo b/lang/gcc33/distinfo
index 336b2b1e969..e69de29bb2d 100644
--- a/lang/gcc33/distinfo
+++ b/lang/gcc33/distinfo
@@ -1,5 +0,0 @@
-MD5 (gcc-core-20020225.tar.bz2) = a1d6a6d6d5b5116061c69d1114581a0f
-MD5 (gcc-g++-20020225.tar.bz2) = e434b91945db07d55c528696384a77b3
-MD5 (gcc-g77-20020225.tar.bz2) = 3fbe3e1e73be55477f5d6658805b3878
-MD5 (gcc-java-20020225.tar.bz2) = 534bef8761bede48bb16c2cc213bf53a
-MD5 (gcc-objc-20020225.tar.bz2) = 966e62ce336cfd18e2d5ff904f5ec830
diff --git a/lang/gcc34/Makefile b/lang/gcc34/Makefile
index 25671ded169..68c2e3e4deb 100644
--- a/lang/gcc34/Makefile
+++ b/lang/gcc34/Makefile
@@ -6,11 +6,12 @@
# $FreeBSD$
#
-SNAPDATE= 2002-02-25
+SNAPDATE= 2002-03-10
SNAPVER= ${SNAPDATE:S/-//g}
-PORTNAME= gcc31
-PORTVERSION= ${SNAPVER}
+PORTNAME= gcc
+PORTVERSION= 3.2
+PORTREVISION= ${SNAPVER}
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
ftp://ftp.netwinder.org/pub/build/gcc/i386/${SNAPVER}/ \
@@ -22,24 +23,16 @@ DISTFILES= \
gcc-g77-${SNAPVER}${EXTRACT_SUFX} \
gcc-java-${SNAPVER}${EXTRACT_SUFX} \
gcc-objc-${SNAPVER}${EXTRACT_SUFX}
-# gcc-ss-3.1-0_${SNAPVER}.src.rpm
+# gcc-ss-3.2-0_${SNAPVER}.src.rpm
MAINTAINER= obrien@FreeBSD.org
-BROKEN= 'snapshot not available at this time'
NO_CDROM= 'dated material'
-LATEST_LINK= gcc31
+LATEST_LINK= gcc32
USE_BZIP2= yes
-.if defined(NETWINDER_SS)
-BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
-
-EXTRACT_CMD= rpm2cpio
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= |cpio -idum
-EXTRACT_ONLY=
-.endif
+CVS_DATE= ${SNAPDATE} 11:05 PST
PATCH_WRKSRC= ${SRCDIR}
CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
@@ -52,7 +45,7 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL}
.endif
#GCC_REV= ${PORTVERSION:C/\.0$//}
-GCC_REV= 3.1
+GCC_REV= 3.2
#SRCDIR= ${WRKDIR}/gcc-${GCC_REV}
SRCDIR= ${WRKDIR}/gcc-${SNAPVER}
WRKSRC= ${WRKDIR}/build
@@ -77,19 +70,37 @@ CONFIGURE_ARGS+= --enable-threads
CONFIGURE_ARGS+= --enable-threads=posix
.endif
ALL_TARGET= bootstrap
-#MAN1= cpp31.1 g++31.1 g77-31.1 gcc31.1 gcov31.1
-MAN1= g++31.1
+#MAN1= cpp32.1 g++32.1 g77-32.1 gcc32.1 gcov32.1
+MAN1= g++32.1
pre-fetch:
@${ECHO} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT} target ${ARCH}-portbld-freebsd${OSREL}"
-.if defined(NETWINDER_SS)
-post-extract:
-.for F in ${DISTFILES}
- cd ${WRKDIR} ; rpm2cpio ${DISTDIR}/$F |cpio -idum
-.endfor
- cd ${WRKDIR} ; ${TAR} -xzf gcc-${SNAPVER}.tar.gz
- cd ${WRKDIR} ; ${LN} -sf gcc gcc-${SNAPVER}
+.if defined(CVS_DATE)
+NO_CHECKSUM= yes
+CVS_CMD?= cvs -z3
+CVSROOT= :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc
+STAMPFILE= ${DISTDIR}/${PKGNAME}/.timestamp
+do-fetch:
+ @if [ ! -e ${STAMPFILE} ] || \
+ [ "X${CVS_DATE}" != "X$$(${CAT} ${STAMPFILE})" ]; then \
+ ${MKDIR} ${DISTDIR}/${PKGNAME} && \
+ cd ${DISTDIR}/${PKGNAME} ; \
+ 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} -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}/${PKGNAME}/gcc ; pax -pe -rwt . ${SRCDIR}
.endif
pre-configure:
@@ -122,27 +133,26 @@ post-install:
strip $$prog ; \
done )
.for file in gcc g++ cpp g++filt gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++ gcj gcjh jv-scan jcf-dump jar grepjar
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}31
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}32
-( ${TEST} -e ${PREFIX}/man/man1/${file}.1 \
&& ${MV} -f ${PREFIX}/man/man1/${file}.1 \
- ${PREFIX}/man/man1/${file}31.1 )
+ ${PREFIX}/man/man1/${file}32.1 )
.endfor
.for file in g77
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-31
- #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-31.1
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-32
+ #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-32.1
.endfor
${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${SNAPVER}
# These 3 libraries are moved from PREFIX/lib to avoid conflicts
# with the stock compiler.
- ${MV} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}
- ${MV} -f ${PREFIX}/lib/libstdc++.* ${PREFIX}/lib/libsupc++.* ${TARGLIB}
- -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
-#.if defined(WANT_SHAREDLIBS)
-# ${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
-#.endif
-.for info in cpp cppinternals g77 gcc gcj
- install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+.for file in libstdc++ libsupc++ libg2c libfrtbegin libobjc
+ ${MV} -f ${PREFIX}/lib/${file}.* ${TARGLIB}
.endfor
+ -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
+ ${RM} -f ${PREFIX}/lib/libiberty.a
+#.for info in cpp cppinternals g77 gcc gcj
+# install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+#.endfor
cd ${PREFIX} ;\
${FIND} ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l \
>${WRKDIR}/PLIST.gcc-lib
diff --git a/lang/gcc34/distinfo b/lang/gcc34/distinfo
index 336b2b1e969..e69de29bb2d 100644
--- a/lang/gcc34/distinfo
+++ b/lang/gcc34/distinfo
@@ -1,5 +0,0 @@
-MD5 (gcc-core-20020225.tar.bz2) = a1d6a6d6d5b5116061c69d1114581a0f
-MD5 (gcc-g++-20020225.tar.bz2) = e434b91945db07d55c528696384a77b3
-MD5 (gcc-g77-20020225.tar.bz2) = 3fbe3e1e73be55477f5d6658805b3878
-MD5 (gcc-java-20020225.tar.bz2) = 534bef8761bede48bb16c2cc213bf53a
-MD5 (gcc-objc-20020225.tar.bz2) = 966e62ce336cfd18e2d5ff904f5ec830
diff --git a/lang/gcc35/Makefile b/lang/gcc35/Makefile
index 25671ded169..68c2e3e4deb 100644
--- a/lang/gcc35/Makefile
+++ b/lang/gcc35/Makefile
@@ -6,11 +6,12 @@
# $FreeBSD$
#
-SNAPDATE= 2002-02-25
+SNAPDATE= 2002-03-10
SNAPVER= ${SNAPDATE:S/-//g}
-PORTNAME= gcc31
-PORTVERSION= ${SNAPVER}
+PORTNAME= gcc
+PORTVERSION= 3.2
+PORTREVISION= ${SNAPVER}
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
ftp://ftp.netwinder.org/pub/build/gcc/i386/${SNAPVER}/ \
@@ -22,24 +23,16 @@ DISTFILES= \
gcc-g77-${SNAPVER}${EXTRACT_SUFX} \
gcc-java-${SNAPVER}${EXTRACT_SUFX} \
gcc-objc-${SNAPVER}${EXTRACT_SUFX}
-# gcc-ss-3.1-0_${SNAPVER}.src.rpm
+# gcc-ss-3.2-0_${SNAPVER}.src.rpm
MAINTAINER= obrien@FreeBSD.org
-BROKEN= 'snapshot not available at this time'
NO_CDROM= 'dated material'
-LATEST_LINK= gcc31
+LATEST_LINK= gcc32
USE_BZIP2= yes
-.if defined(NETWINDER_SS)
-BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
-
-EXTRACT_CMD= rpm2cpio
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= |cpio -idum
-EXTRACT_ONLY=
-.endif
+CVS_DATE= ${SNAPDATE} 11:05 PST
PATCH_WRKSRC= ${SRCDIR}
CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
@@ -52,7 +45,7 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL}
.endif
#GCC_REV= ${PORTVERSION:C/\.0$//}
-GCC_REV= 3.1
+GCC_REV= 3.2
#SRCDIR= ${WRKDIR}/gcc-${GCC_REV}
SRCDIR= ${WRKDIR}/gcc-${SNAPVER}
WRKSRC= ${WRKDIR}/build
@@ -77,19 +70,37 @@ CONFIGURE_ARGS+= --enable-threads
CONFIGURE_ARGS+= --enable-threads=posix
.endif
ALL_TARGET= bootstrap
-#MAN1= cpp31.1 g++31.1 g77-31.1 gcc31.1 gcov31.1
-MAN1= g++31.1
+#MAN1= cpp32.1 g++32.1 g77-32.1 gcc32.1 gcov32.1
+MAN1= g++32.1
pre-fetch:
@${ECHO} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT} target ${ARCH}-portbld-freebsd${OSREL}"
-.if defined(NETWINDER_SS)
-post-extract:
-.for F in ${DISTFILES}
- cd ${WRKDIR} ; rpm2cpio ${DISTDIR}/$F |cpio -idum
-.endfor
- cd ${WRKDIR} ; ${TAR} -xzf gcc-${SNAPVER}.tar.gz
- cd ${WRKDIR} ; ${LN} -sf gcc gcc-${SNAPVER}
+.if defined(CVS_DATE)
+NO_CHECKSUM= yes
+CVS_CMD?= cvs -z3
+CVSROOT= :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc
+STAMPFILE= ${DISTDIR}/${PKGNAME}/.timestamp
+do-fetch:
+ @if [ ! -e ${STAMPFILE} ] || \
+ [ "X${CVS_DATE}" != "X$$(${CAT} ${STAMPFILE})" ]; then \
+ ${MKDIR} ${DISTDIR}/${PKGNAME} && \
+ cd ${DISTDIR}/${PKGNAME} ; \
+ 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} -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}/${PKGNAME}/gcc ; pax -pe -rwt . ${SRCDIR}
.endif
pre-configure:
@@ -122,27 +133,26 @@ post-install:
strip $$prog ; \
done )
.for file in gcc g++ cpp g++filt gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++ gcj gcjh jv-scan jcf-dump jar grepjar
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}31
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}32
-( ${TEST} -e ${PREFIX}/man/man1/${file}.1 \
&& ${MV} -f ${PREFIX}/man/man1/${file}.1 \
- ${PREFIX}/man/man1/${file}31.1 )
+ ${PREFIX}/man/man1/${file}32.1 )
.endfor
.for file in g77
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-31
- #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-31.1
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-32
+ #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-32.1
.endfor
${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${SNAPVER}
# These 3 libraries are moved from PREFIX/lib to avoid conflicts
# with the stock compiler.
- ${MV} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}
- ${MV} -f ${PREFIX}/lib/libstdc++.* ${PREFIX}/lib/libsupc++.* ${TARGLIB}
- -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
-#.if defined(WANT_SHAREDLIBS)
-# ${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
-#.endif
-.for info in cpp cppinternals g77 gcc gcj
- install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+.for file in libstdc++ libsupc++ libg2c libfrtbegin libobjc
+ ${MV} -f ${PREFIX}/lib/${file}.* ${TARGLIB}
.endfor
+ -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
+ ${RM} -f ${PREFIX}/lib/libiberty.a
+#.for info in cpp cppinternals g77 gcc gcj
+# install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+#.endfor
cd ${PREFIX} ;\
${FIND} ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l \
>${WRKDIR}/PLIST.gcc-lib
diff --git a/lang/gcc35/distinfo b/lang/gcc35/distinfo
index 336b2b1e969..e69de29bb2d 100644
--- a/lang/gcc35/distinfo
+++ b/lang/gcc35/distinfo
@@ -1,5 +0,0 @@
-MD5 (gcc-core-20020225.tar.bz2) = a1d6a6d6d5b5116061c69d1114581a0f
-MD5 (gcc-g++-20020225.tar.bz2) = e434b91945db07d55c528696384a77b3
-MD5 (gcc-g77-20020225.tar.bz2) = 3fbe3e1e73be55477f5d6658805b3878
-MD5 (gcc-java-20020225.tar.bz2) = 534bef8761bede48bb16c2cc213bf53a
-MD5 (gcc-objc-20020225.tar.bz2) = 966e62ce336cfd18e2d5ff904f5ec830
diff --git a/lang/gcc40/Makefile b/lang/gcc40/Makefile
index 25671ded169..68c2e3e4deb 100644
--- a/lang/gcc40/Makefile
+++ b/lang/gcc40/Makefile
@@ -6,11 +6,12 @@
# $FreeBSD$
#
-SNAPDATE= 2002-02-25
+SNAPDATE= 2002-03-10
SNAPVER= ${SNAPDATE:S/-//g}
-PORTNAME= gcc31
-PORTVERSION= ${SNAPVER}
+PORTNAME= gcc
+PORTVERSION= 3.2
+PORTREVISION= ${SNAPVER}
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
ftp://ftp.netwinder.org/pub/build/gcc/i386/${SNAPVER}/ \
@@ -22,24 +23,16 @@ DISTFILES= \
gcc-g77-${SNAPVER}${EXTRACT_SUFX} \
gcc-java-${SNAPVER}${EXTRACT_SUFX} \
gcc-objc-${SNAPVER}${EXTRACT_SUFX}
-# gcc-ss-3.1-0_${SNAPVER}.src.rpm
+# gcc-ss-3.2-0_${SNAPVER}.src.rpm
MAINTAINER= obrien@FreeBSD.org
-BROKEN= 'snapshot not available at this time'
NO_CDROM= 'dated material'
-LATEST_LINK= gcc31
+LATEST_LINK= gcc32
USE_BZIP2= yes
-.if defined(NETWINDER_SS)
-BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
-
-EXTRACT_CMD= rpm2cpio
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= |cpio -idum
-EXTRACT_ONLY=
-.endif
+CVS_DATE= ${SNAPDATE} 11:05 PST
PATCH_WRKSRC= ${SRCDIR}
CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
@@ -52,7 +45,7 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL}
.endif
#GCC_REV= ${PORTVERSION:C/\.0$//}
-GCC_REV= 3.1
+GCC_REV= 3.2
#SRCDIR= ${WRKDIR}/gcc-${GCC_REV}
SRCDIR= ${WRKDIR}/gcc-${SNAPVER}
WRKSRC= ${WRKDIR}/build
@@ -77,19 +70,37 @@ CONFIGURE_ARGS+= --enable-threads
CONFIGURE_ARGS+= --enable-threads=posix
.endif
ALL_TARGET= bootstrap
-#MAN1= cpp31.1 g++31.1 g77-31.1 gcc31.1 gcov31.1
-MAN1= g++31.1
+#MAN1= cpp32.1 g++32.1 g77-32.1 gcc32.1 gcov32.1
+MAN1= g++32.1
pre-fetch:
@${ECHO} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT} target ${ARCH}-portbld-freebsd${OSREL}"
-.if defined(NETWINDER_SS)
-post-extract:
-.for F in ${DISTFILES}
- cd ${WRKDIR} ; rpm2cpio ${DISTDIR}/$F |cpio -idum
-.endfor
- cd ${WRKDIR} ; ${TAR} -xzf gcc-${SNAPVER}.tar.gz
- cd ${WRKDIR} ; ${LN} -sf gcc gcc-${SNAPVER}
+.if defined(CVS_DATE)
+NO_CHECKSUM= yes
+CVS_CMD?= cvs -z3
+CVSROOT= :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc
+STAMPFILE= ${DISTDIR}/${PKGNAME}/.timestamp
+do-fetch:
+ @if [ ! -e ${STAMPFILE} ] || \
+ [ "X${CVS_DATE}" != "X$$(${CAT} ${STAMPFILE})" ]; then \
+ ${MKDIR} ${DISTDIR}/${PKGNAME} && \
+ cd ${DISTDIR}/${PKGNAME} ; \
+ 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} -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}/${PKGNAME}/gcc ; pax -pe -rwt . ${SRCDIR}
.endif
pre-configure:
@@ -122,27 +133,26 @@ post-install:
strip $$prog ; \
done )
.for file in gcc g++ cpp g++filt gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++ gcj gcjh jv-scan jcf-dump jar grepjar
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}31
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}32
-( ${TEST} -e ${PREFIX}/man/man1/${file}.1 \
&& ${MV} -f ${PREFIX}/man/man1/${file}.1 \
- ${PREFIX}/man/man1/${file}31.1 )
+ ${PREFIX}/man/man1/${file}32.1 )
.endfor
.for file in g77
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-31
- #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-31.1
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-32
+ #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-32.1
.endfor
${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${SNAPVER}
# These 3 libraries are moved from PREFIX/lib to avoid conflicts
# with the stock compiler.
- ${MV} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}
- ${MV} -f ${PREFIX}/lib/libstdc++.* ${PREFIX}/lib/libsupc++.* ${TARGLIB}
- -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
-#.if defined(WANT_SHAREDLIBS)
-# ${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
-#.endif
-.for info in cpp cppinternals g77 gcc gcj
- install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+.for file in libstdc++ libsupc++ libg2c libfrtbegin libobjc
+ ${MV} -f ${PREFIX}/lib/${file}.* ${TARGLIB}
.endfor
+ -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
+ ${RM} -f ${PREFIX}/lib/libiberty.a
+#.for info in cpp cppinternals g77 gcc gcj
+# install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+#.endfor
cd ${PREFIX} ;\
${FIND} ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l \
>${WRKDIR}/PLIST.gcc-lib
diff --git a/lang/gcc40/distinfo b/lang/gcc40/distinfo
index 336b2b1e969..e69de29bb2d 100644
--- a/lang/gcc40/distinfo
+++ b/lang/gcc40/distinfo
@@ -1,5 +0,0 @@
-MD5 (gcc-core-20020225.tar.bz2) = a1d6a6d6d5b5116061c69d1114581a0f
-MD5 (gcc-g++-20020225.tar.bz2) = e434b91945db07d55c528696384a77b3
-MD5 (gcc-g77-20020225.tar.bz2) = 3fbe3e1e73be55477f5d6658805b3878
-MD5 (gcc-java-20020225.tar.bz2) = 534bef8761bede48bb16c2cc213bf53a
-MD5 (gcc-objc-20020225.tar.bz2) = 966e62ce336cfd18e2d5ff904f5ec830
diff --git a/lang/gcc41/Makefile b/lang/gcc41/Makefile
index 25671ded169..68c2e3e4deb 100644
--- a/lang/gcc41/Makefile
+++ b/lang/gcc41/Makefile
@@ -6,11 +6,12 @@
# $FreeBSD$
#
-SNAPDATE= 2002-02-25
+SNAPDATE= 2002-03-10
SNAPVER= ${SNAPDATE:S/-//g}
-PORTNAME= gcc31
-PORTVERSION= ${SNAPVER}
+PORTNAME= gcc
+PORTVERSION= 3.2
+PORTREVISION= ${SNAPVER}
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
ftp://ftp.netwinder.org/pub/build/gcc/i386/${SNAPVER}/ \
@@ -22,24 +23,16 @@ DISTFILES= \
gcc-g77-${SNAPVER}${EXTRACT_SUFX} \
gcc-java-${SNAPVER}${EXTRACT_SUFX} \
gcc-objc-${SNAPVER}${EXTRACT_SUFX}
-# gcc-ss-3.1-0_${SNAPVER}.src.rpm
+# gcc-ss-3.2-0_${SNAPVER}.src.rpm
MAINTAINER= obrien@FreeBSD.org
-BROKEN= 'snapshot not available at this time'
NO_CDROM= 'dated material'
-LATEST_LINK= gcc31
+LATEST_LINK= gcc32
USE_BZIP2= yes
-.if defined(NETWINDER_SS)
-BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
-
-EXTRACT_CMD= rpm2cpio
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= |cpio -idum
-EXTRACT_ONLY=
-.endif
+CVS_DATE= ${SNAPDATE} 11:05 PST
PATCH_WRKSRC= ${SRCDIR}
CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
@@ -52,7 +45,7 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL}
.endif
#GCC_REV= ${PORTVERSION:C/\.0$//}
-GCC_REV= 3.1
+GCC_REV= 3.2
#SRCDIR= ${WRKDIR}/gcc-${GCC_REV}
SRCDIR= ${WRKDIR}/gcc-${SNAPVER}
WRKSRC= ${WRKDIR}/build
@@ -77,19 +70,37 @@ CONFIGURE_ARGS+= --enable-threads
CONFIGURE_ARGS+= --enable-threads=posix
.endif
ALL_TARGET= bootstrap
-#MAN1= cpp31.1 g++31.1 g77-31.1 gcc31.1 gcov31.1
-MAN1= g++31.1
+#MAN1= cpp32.1 g++32.1 g77-32.1 gcc32.1 gcov32.1
+MAN1= g++32.1
pre-fetch:
@${ECHO} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT} target ${ARCH}-portbld-freebsd${OSREL}"
-.if defined(NETWINDER_SS)
-post-extract:
-.for F in ${DISTFILES}
- cd ${WRKDIR} ; rpm2cpio ${DISTDIR}/$F |cpio -idum
-.endfor
- cd ${WRKDIR} ; ${TAR} -xzf gcc-${SNAPVER}.tar.gz
- cd ${WRKDIR} ; ${LN} -sf gcc gcc-${SNAPVER}
+.if defined(CVS_DATE)
+NO_CHECKSUM= yes
+CVS_CMD?= cvs -z3
+CVSROOT= :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc
+STAMPFILE= ${DISTDIR}/${PKGNAME}/.timestamp
+do-fetch:
+ @if [ ! -e ${STAMPFILE} ] || \
+ [ "X${CVS_DATE}" != "X$$(${CAT} ${STAMPFILE})" ]; then \
+ ${MKDIR} ${DISTDIR}/${PKGNAME} && \
+ cd ${DISTDIR}/${PKGNAME} ; \
+ 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} -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}/${PKGNAME}/gcc ; pax -pe -rwt . ${SRCDIR}
.endif
pre-configure:
@@ -122,27 +133,26 @@ post-install:
strip $$prog ; \
done )
.for file in gcc g++ cpp g++filt gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++ gcj gcjh jv-scan jcf-dump jar grepjar
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}31
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}32
-( ${TEST} -e ${PREFIX}/man/man1/${file}.1 \
&& ${MV} -f ${PREFIX}/man/man1/${file}.1 \
- ${PREFIX}/man/man1/${file}31.1 )
+ ${PREFIX}/man/man1/${file}32.1 )
.endfor
.for file in g77
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-31
- #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-31.1
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-32
+ #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-32.1
.endfor
${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${SNAPVER}
# These 3 libraries are moved from PREFIX/lib to avoid conflicts
# with the stock compiler.
- ${MV} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}
- ${MV} -f ${PREFIX}/lib/libstdc++.* ${PREFIX}/lib/libsupc++.* ${TARGLIB}
- -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
-#.if defined(WANT_SHAREDLIBS)
-# ${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
-#.endif
-.for info in cpp cppinternals g77 gcc gcj
- install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+.for file in libstdc++ libsupc++ libg2c libfrtbegin libobjc
+ ${MV} -f ${PREFIX}/lib/${file}.* ${TARGLIB}
.endfor
+ -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
+ ${RM} -f ${PREFIX}/lib/libiberty.a
+#.for info in cpp cppinternals g77 gcc gcj
+# install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+#.endfor
cd ${PREFIX} ;\
${FIND} ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l \
>${WRKDIR}/PLIST.gcc-lib
diff --git a/lang/gcc41/distinfo b/lang/gcc41/distinfo
index 336b2b1e969..e69de29bb2d 100644
--- a/lang/gcc41/distinfo
+++ b/lang/gcc41/distinfo
@@ -1,5 +0,0 @@
-MD5 (gcc-core-20020225.tar.bz2) = a1d6a6d6d5b5116061c69d1114581a0f
-MD5 (gcc-g++-20020225.tar.bz2) = e434b91945db07d55c528696384a77b3
-MD5 (gcc-g77-20020225.tar.bz2) = 3fbe3e1e73be55477f5d6658805b3878
-MD5 (gcc-java-20020225.tar.bz2) = 534bef8761bede48bb16c2cc213bf53a
-MD5 (gcc-objc-20020225.tar.bz2) = 966e62ce336cfd18e2d5ff904f5ec830
diff --git a/lang/gcc42/Makefile b/lang/gcc42/Makefile
index 25671ded169..68c2e3e4deb 100644
--- a/lang/gcc42/Makefile
+++ b/lang/gcc42/Makefile
@@ -6,11 +6,12 @@
# $FreeBSD$
#
-SNAPDATE= 2002-02-25
+SNAPDATE= 2002-03-10
SNAPVER= ${SNAPDATE:S/-//g}
-PORTNAME= gcc31
-PORTVERSION= ${SNAPVER}
+PORTNAME= gcc
+PORTVERSION= 3.2
+PORTREVISION= ${SNAPVER}
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
ftp://ftp.netwinder.org/pub/build/gcc/i386/${SNAPVER}/ \
@@ -22,24 +23,16 @@ DISTFILES= \
gcc-g77-${SNAPVER}${EXTRACT_SUFX} \
gcc-java-${SNAPVER}${EXTRACT_SUFX} \
gcc-objc-${SNAPVER}${EXTRACT_SUFX}
-# gcc-ss-3.1-0_${SNAPVER}.src.rpm
+# gcc-ss-3.2-0_${SNAPVER}.src.rpm
MAINTAINER= obrien@FreeBSD.org
-BROKEN= 'snapshot not available at this time'
NO_CDROM= 'dated material'
-LATEST_LINK= gcc31
+LATEST_LINK= gcc32
USE_BZIP2= yes
-.if defined(NETWINDER_SS)
-BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
-
-EXTRACT_CMD= rpm2cpio
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= |cpio -idum
-EXTRACT_ONLY=
-.endif
+CVS_DATE= ${SNAPDATE} 11:05 PST
PATCH_WRKSRC= ${SRCDIR}
CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
@@ -52,7 +45,7 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL}
.endif
#GCC_REV= ${PORTVERSION:C/\.0$//}
-GCC_REV= 3.1
+GCC_REV= 3.2
#SRCDIR= ${WRKDIR}/gcc-${GCC_REV}
SRCDIR= ${WRKDIR}/gcc-${SNAPVER}
WRKSRC= ${WRKDIR}/build
@@ -77,19 +70,37 @@ CONFIGURE_ARGS+= --enable-threads
CONFIGURE_ARGS+= --enable-threads=posix
.endif
ALL_TARGET= bootstrap
-#MAN1= cpp31.1 g++31.1 g77-31.1 gcc31.1 gcov31.1
-MAN1= g++31.1
+#MAN1= cpp32.1 g++32.1 g77-32.1 gcc32.1 gcov32.1
+MAN1= g++32.1
pre-fetch:
@${ECHO} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT} target ${ARCH}-portbld-freebsd${OSREL}"
-.if defined(NETWINDER_SS)
-post-extract:
-.for F in ${DISTFILES}
- cd ${WRKDIR} ; rpm2cpio ${DISTDIR}/$F |cpio -idum
-.endfor
- cd ${WRKDIR} ; ${TAR} -xzf gcc-${SNAPVER}.tar.gz
- cd ${WRKDIR} ; ${LN} -sf gcc gcc-${SNAPVER}
+.if defined(CVS_DATE)
+NO_CHECKSUM= yes
+CVS_CMD?= cvs -z3
+CVSROOT= :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc
+STAMPFILE= ${DISTDIR}/${PKGNAME}/.timestamp
+do-fetch:
+ @if [ ! -e ${STAMPFILE} ] || \
+ [ "X${CVS_DATE}" != "X$$(${CAT} ${STAMPFILE})" ]; then \
+ ${MKDIR} ${DISTDIR}/${PKGNAME} && \
+ cd ${DISTDIR}/${PKGNAME} ; \
+ 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} -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}/${PKGNAME}/gcc ; pax -pe -rwt . ${SRCDIR}
.endif
pre-configure:
@@ -122,27 +133,26 @@ post-install:
strip $$prog ; \
done )
.for file in gcc g++ cpp g++filt gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++ gcj gcjh jv-scan jcf-dump jar grepjar
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}31
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}32
-( ${TEST} -e ${PREFIX}/man/man1/${file}.1 \
&& ${MV} -f ${PREFIX}/man/man1/${file}.1 \
- ${PREFIX}/man/man1/${file}31.1 )
+ ${PREFIX}/man/man1/${file}32.1 )
.endfor
.for file in g77
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-31
- #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-31.1
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-32
+ #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-32.1
.endfor
${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${SNAPVER}
# These 3 libraries are moved from PREFIX/lib to avoid conflicts
# with the stock compiler.
- ${MV} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}
- ${MV} -f ${PREFIX}/lib/libstdc++.* ${PREFIX}/lib/libsupc++.* ${TARGLIB}
- -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
-#.if defined(WANT_SHAREDLIBS)
-# ${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
-#.endif
-.for info in cpp cppinternals g77 gcc gcj
- install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+.for file in libstdc++ libsupc++ libg2c libfrtbegin libobjc
+ ${MV} -f ${PREFIX}/lib/${file}.* ${TARGLIB}
.endfor
+ -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
+ ${RM} -f ${PREFIX}/lib/libiberty.a
+#.for info in cpp cppinternals g77 gcc gcj
+# install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+#.endfor
cd ${PREFIX} ;\
${FIND} ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l \
>${WRKDIR}/PLIST.gcc-lib
diff --git a/lang/gcc42/distinfo b/lang/gcc42/distinfo
index 336b2b1e969..e69de29bb2d 100644
--- a/lang/gcc42/distinfo
+++ b/lang/gcc42/distinfo
@@ -1,5 +0,0 @@
-MD5 (gcc-core-20020225.tar.bz2) = a1d6a6d6d5b5116061c69d1114581a0f
-MD5 (gcc-g++-20020225.tar.bz2) = e434b91945db07d55c528696384a77b3
-MD5 (gcc-g77-20020225.tar.bz2) = 3fbe3e1e73be55477f5d6658805b3878
-MD5 (gcc-java-20020225.tar.bz2) = 534bef8761bede48bb16c2cc213bf53a
-MD5 (gcc-objc-20020225.tar.bz2) = 966e62ce336cfd18e2d5ff904f5ec830
diff --git a/lang/gcc43/Makefile b/lang/gcc43/Makefile
index 25671ded169..68c2e3e4deb 100644
--- a/lang/gcc43/Makefile
+++ b/lang/gcc43/Makefile
@@ -6,11 +6,12 @@
# $FreeBSD$
#
-SNAPDATE= 2002-02-25
+SNAPDATE= 2002-03-10
SNAPVER= ${SNAPDATE:S/-//g}
-PORTNAME= gcc31
-PORTVERSION= ${SNAPVER}
+PORTNAME= gcc
+PORTVERSION= 3.2
+PORTREVISION= ${SNAPVER}
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
ftp://ftp.netwinder.org/pub/build/gcc/i386/${SNAPVER}/ \
@@ -22,24 +23,16 @@ DISTFILES= \
gcc-g77-${SNAPVER}${EXTRACT_SUFX} \
gcc-java-${SNAPVER}${EXTRACT_SUFX} \
gcc-objc-${SNAPVER}${EXTRACT_SUFX}
-# gcc-ss-3.1-0_${SNAPVER}.src.rpm
+# gcc-ss-3.2-0_${SNAPVER}.src.rpm
MAINTAINER= obrien@FreeBSD.org
-BROKEN= 'snapshot not available at this time'
NO_CDROM= 'dated material'
-LATEST_LINK= gcc31
+LATEST_LINK= gcc32
USE_BZIP2= yes
-.if defined(NETWINDER_SS)
-BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
-
-EXTRACT_CMD= rpm2cpio
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= |cpio -idum
-EXTRACT_ONLY=
-.endif
+CVS_DATE= ${SNAPDATE} 11:05 PST
PATCH_WRKSRC= ${SRCDIR}
CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
@@ -52,7 +45,7 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL}
.endif
#GCC_REV= ${PORTVERSION:C/\.0$//}
-GCC_REV= 3.1
+GCC_REV= 3.2
#SRCDIR= ${WRKDIR}/gcc-${GCC_REV}
SRCDIR= ${WRKDIR}/gcc-${SNAPVER}
WRKSRC= ${WRKDIR}/build
@@ -77,19 +70,37 @@ CONFIGURE_ARGS+= --enable-threads
CONFIGURE_ARGS+= --enable-threads=posix
.endif
ALL_TARGET= bootstrap
-#MAN1= cpp31.1 g++31.1 g77-31.1 gcc31.1 gcov31.1
-MAN1= g++31.1
+#MAN1= cpp32.1 g++32.1 g77-32.1 gcc32.1 gcov32.1
+MAN1= g++32.1
pre-fetch:
@${ECHO} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT} target ${ARCH}-portbld-freebsd${OSREL}"
-.if defined(NETWINDER_SS)
-post-extract:
-.for F in ${DISTFILES}
- cd ${WRKDIR} ; rpm2cpio ${DISTDIR}/$F |cpio -idum
-.endfor
- cd ${WRKDIR} ; ${TAR} -xzf gcc-${SNAPVER}.tar.gz
- cd ${WRKDIR} ; ${LN} -sf gcc gcc-${SNAPVER}
+.if defined(CVS_DATE)
+NO_CHECKSUM= yes
+CVS_CMD?= cvs -z3
+CVSROOT= :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc
+STAMPFILE= ${DISTDIR}/${PKGNAME}/.timestamp
+do-fetch:
+ @if [ ! -e ${STAMPFILE} ] || \
+ [ "X${CVS_DATE}" != "X$$(${CAT} ${STAMPFILE})" ]; then \
+ ${MKDIR} ${DISTDIR}/${PKGNAME} && \
+ cd ${DISTDIR}/${PKGNAME} ; \
+ 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} -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}/${PKGNAME}/gcc ; pax -pe -rwt . ${SRCDIR}
.endif
pre-configure:
@@ -122,27 +133,26 @@ post-install:
strip $$prog ; \
done )
.for file in gcc g++ cpp g++filt gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++ gcj gcjh jv-scan jcf-dump jar grepjar
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}31
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}32
-( ${TEST} -e ${PREFIX}/man/man1/${file}.1 \
&& ${MV} -f ${PREFIX}/man/man1/${file}.1 \
- ${PREFIX}/man/man1/${file}31.1 )
+ ${PREFIX}/man/man1/${file}32.1 )
.endfor
.for file in g77
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-31
- #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-31.1
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-32
+ #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-32.1
.endfor
${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${SNAPVER}
# These 3 libraries are moved from PREFIX/lib to avoid conflicts
# with the stock compiler.
- ${MV} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}
- ${MV} -f ${PREFIX}/lib/libstdc++.* ${PREFIX}/lib/libsupc++.* ${TARGLIB}
- -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
-#.if defined(WANT_SHAREDLIBS)
-# ${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
-#.endif
-.for info in cpp cppinternals g77 gcc gcj
- install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+.for file in libstdc++ libsupc++ libg2c libfrtbegin libobjc
+ ${MV} -f ${PREFIX}/lib/${file}.* ${TARGLIB}
.endfor
+ -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
+ ${RM} -f ${PREFIX}/lib/libiberty.a
+#.for info in cpp cppinternals g77 gcc gcj
+# install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+#.endfor
cd ${PREFIX} ;\
${FIND} ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l \
>${WRKDIR}/PLIST.gcc-lib
diff --git a/lang/gcc43/distinfo b/lang/gcc43/distinfo
index 336b2b1e969..e69de29bb2d 100644
--- a/lang/gcc43/distinfo
+++ b/lang/gcc43/distinfo
@@ -1,5 +0,0 @@
-MD5 (gcc-core-20020225.tar.bz2) = a1d6a6d6d5b5116061c69d1114581a0f
-MD5 (gcc-g++-20020225.tar.bz2) = e434b91945db07d55c528696384a77b3
-MD5 (gcc-g77-20020225.tar.bz2) = 3fbe3e1e73be55477f5d6658805b3878
-MD5 (gcc-java-20020225.tar.bz2) = 534bef8761bede48bb16c2cc213bf53a
-MD5 (gcc-objc-20020225.tar.bz2) = 966e62ce336cfd18e2d5ff904f5ec830
diff --git a/lang/gcc44/Makefile b/lang/gcc44/Makefile
index 25671ded169..68c2e3e4deb 100644
--- a/lang/gcc44/Makefile
+++ b/lang/gcc44/Makefile
@@ -6,11 +6,12 @@
# $FreeBSD$
#
-SNAPDATE= 2002-02-25
+SNAPDATE= 2002-03-10
SNAPVER= ${SNAPDATE:S/-//g}
-PORTNAME= gcc31
-PORTVERSION= ${SNAPVER}
+PORTNAME= gcc
+PORTVERSION= 3.2
+PORTREVISION= ${SNAPVER}
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
ftp://ftp.netwinder.org/pub/build/gcc/i386/${SNAPVER}/ \
@@ -22,24 +23,16 @@ DISTFILES= \
gcc-g77-${SNAPVER}${EXTRACT_SUFX} \
gcc-java-${SNAPVER}${EXTRACT_SUFX} \
gcc-objc-${SNAPVER}${EXTRACT_SUFX}
-# gcc-ss-3.1-0_${SNAPVER}.src.rpm
+# gcc-ss-3.2-0_${SNAPVER}.src.rpm
MAINTAINER= obrien@FreeBSD.org
-BROKEN= 'snapshot not available at this time'
NO_CDROM= 'dated material'
-LATEST_LINK= gcc31
+LATEST_LINK= gcc32
USE_BZIP2= yes
-.if defined(NETWINDER_SS)
-BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
-
-EXTRACT_CMD= rpm2cpio
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= |cpio -idum
-EXTRACT_ONLY=
-.endif
+CVS_DATE= ${SNAPDATE} 11:05 PST
PATCH_WRKSRC= ${SRCDIR}
CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
@@ -52,7 +45,7 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL}
.endif
#GCC_REV= ${PORTVERSION:C/\.0$//}
-GCC_REV= 3.1
+GCC_REV= 3.2
#SRCDIR= ${WRKDIR}/gcc-${GCC_REV}
SRCDIR= ${WRKDIR}/gcc-${SNAPVER}
WRKSRC= ${WRKDIR}/build
@@ -77,19 +70,37 @@ CONFIGURE_ARGS+= --enable-threads
CONFIGURE_ARGS+= --enable-threads=posix
.endif
ALL_TARGET= bootstrap
-#MAN1= cpp31.1 g++31.1 g77-31.1 gcc31.1 gcov31.1
-MAN1= g++31.1
+#MAN1= cpp32.1 g++32.1 g77-32.1 gcc32.1 gcov32.1
+MAN1= g++32.1
pre-fetch:
@${ECHO} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT} target ${ARCH}-portbld-freebsd${OSREL}"
-.if defined(NETWINDER_SS)
-post-extract:
-.for F in ${DISTFILES}
- cd ${WRKDIR} ; rpm2cpio ${DISTDIR}/$F |cpio -idum
-.endfor
- cd ${WRKDIR} ; ${TAR} -xzf gcc-${SNAPVER}.tar.gz
- cd ${WRKDIR} ; ${LN} -sf gcc gcc-${SNAPVER}
+.if defined(CVS_DATE)
+NO_CHECKSUM= yes
+CVS_CMD?= cvs -z3
+CVSROOT= :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc
+STAMPFILE= ${DISTDIR}/${PKGNAME}/.timestamp
+do-fetch:
+ @if [ ! -e ${STAMPFILE} ] || \
+ [ "X${CVS_DATE}" != "X$$(${CAT} ${STAMPFILE})" ]; then \
+ ${MKDIR} ${DISTDIR}/${PKGNAME} && \
+ cd ${DISTDIR}/${PKGNAME} ; \
+ 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} -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}/${PKGNAME}/gcc ; pax -pe -rwt . ${SRCDIR}
.endif
pre-configure:
@@ -122,27 +133,26 @@ post-install:
strip $$prog ; \
done )
.for file in gcc g++ cpp g++filt gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++ gcj gcjh jv-scan jcf-dump jar grepjar
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}31
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}32
-( ${TEST} -e ${PREFIX}/man/man1/${file}.1 \
&& ${MV} -f ${PREFIX}/man/man1/${file}.1 \
- ${PREFIX}/man/man1/${file}31.1 )
+ ${PREFIX}/man/man1/${file}32.1 )
.endfor
.for file in g77
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-31
- #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-31.1
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-32
+ #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-32.1
.endfor
${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${SNAPVER}
# These 3 libraries are moved from PREFIX/lib to avoid conflicts
# with the stock compiler.
- ${MV} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}
- ${MV} -f ${PREFIX}/lib/libstdc++.* ${PREFIX}/lib/libsupc++.* ${TARGLIB}
- -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
-#.if defined(WANT_SHAREDLIBS)
-# ${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
-#.endif
-.for info in cpp cppinternals g77 gcc gcj
- install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+.for file in libstdc++ libsupc++ libg2c libfrtbegin libobjc
+ ${MV} -f ${PREFIX}/lib/${file}.* ${TARGLIB}
.endfor
+ -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
+ ${RM} -f ${PREFIX}/lib/libiberty.a
+#.for info in cpp cppinternals g77 gcc gcj
+# install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+#.endfor
cd ${PREFIX} ;\
${FIND} ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l \
>${WRKDIR}/PLIST.gcc-lib
diff --git a/lang/gcc44/distinfo b/lang/gcc44/distinfo
index 336b2b1e969..e69de29bb2d 100644
--- a/lang/gcc44/distinfo
+++ b/lang/gcc44/distinfo
@@ -1,5 +0,0 @@
-MD5 (gcc-core-20020225.tar.bz2) = a1d6a6d6d5b5116061c69d1114581a0f
-MD5 (gcc-g++-20020225.tar.bz2) = e434b91945db07d55c528696384a77b3
-MD5 (gcc-g77-20020225.tar.bz2) = 3fbe3e1e73be55477f5d6658805b3878
-MD5 (gcc-java-20020225.tar.bz2) = 534bef8761bede48bb16c2cc213bf53a
-MD5 (gcc-objc-20020225.tar.bz2) = 966e62ce336cfd18e2d5ff904f5ec830
diff --git a/lang/gcc45/Makefile b/lang/gcc45/Makefile
index 25671ded169..68c2e3e4deb 100644
--- a/lang/gcc45/Makefile
+++ b/lang/gcc45/Makefile
@@ -6,11 +6,12 @@
# $FreeBSD$
#
-SNAPDATE= 2002-02-25
+SNAPDATE= 2002-03-10
SNAPVER= ${SNAPDATE:S/-//g}
-PORTNAME= gcc31
-PORTVERSION= ${SNAPVER}
+PORTNAME= gcc
+PORTVERSION= 3.2
+PORTREVISION= ${SNAPVER}
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
ftp://ftp.netwinder.org/pub/build/gcc/i386/${SNAPVER}/ \
@@ -22,24 +23,16 @@ DISTFILES= \
gcc-g77-${SNAPVER}${EXTRACT_SUFX} \
gcc-java-${SNAPVER}${EXTRACT_SUFX} \
gcc-objc-${SNAPVER}${EXTRACT_SUFX}
-# gcc-ss-3.1-0_${SNAPVER}.src.rpm
+# gcc-ss-3.2-0_${SNAPVER}.src.rpm
MAINTAINER= obrien@FreeBSD.org
-BROKEN= 'snapshot not available at this time'
NO_CDROM= 'dated material'
-LATEST_LINK= gcc31
+LATEST_LINK= gcc32
USE_BZIP2= yes
-.if defined(NETWINDER_SS)
-BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
-
-EXTRACT_CMD= rpm2cpio
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= |cpio -idum
-EXTRACT_ONLY=
-.endif
+CVS_DATE= ${SNAPDATE} 11:05 PST
PATCH_WRKSRC= ${SRCDIR}
CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
@@ -52,7 +45,7 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL}
.endif
#GCC_REV= ${PORTVERSION:C/\.0$//}
-GCC_REV= 3.1
+GCC_REV= 3.2
#SRCDIR= ${WRKDIR}/gcc-${GCC_REV}
SRCDIR= ${WRKDIR}/gcc-${SNAPVER}
WRKSRC= ${WRKDIR}/build
@@ -77,19 +70,37 @@ CONFIGURE_ARGS+= --enable-threads
CONFIGURE_ARGS+= --enable-threads=posix
.endif
ALL_TARGET= bootstrap
-#MAN1= cpp31.1 g++31.1 g77-31.1 gcc31.1 gcov31.1
-MAN1= g++31.1
+#MAN1= cpp32.1 g++32.1 g77-32.1 gcc32.1 gcov32.1
+MAN1= g++32.1
pre-fetch:
@${ECHO} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT} target ${ARCH}-portbld-freebsd${OSREL}"
-.if defined(NETWINDER_SS)
-post-extract:
-.for F in ${DISTFILES}
- cd ${WRKDIR} ; rpm2cpio ${DISTDIR}/$F |cpio -idum
-.endfor
- cd ${WRKDIR} ; ${TAR} -xzf gcc-${SNAPVER}.tar.gz
- cd ${WRKDIR} ; ${LN} -sf gcc gcc-${SNAPVER}
+.if defined(CVS_DATE)
+NO_CHECKSUM= yes
+CVS_CMD?= cvs -z3
+CVSROOT= :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc
+STAMPFILE= ${DISTDIR}/${PKGNAME}/.timestamp
+do-fetch:
+ @if [ ! -e ${STAMPFILE} ] || \
+ [ "X${CVS_DATE}" != "X$$(${CAT} ${STAMPFILE})" ]; then \
+ ${MKDIR} ${DISTDIR}/${PKGNAME} && \
+ cd ${DISTDIR}/${PKGNAME} ; \
+ 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} -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}/${PKGNAME}/gcc ; pax -pe -rwt . ${SRCDIR}
.endif
pre-configure:
@@ -122,27 +133,26 @@ post-install:
strip $$prog ; \
done )
.for file in gcc g++ cpp g++filt gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++ gcj gcjh jv-scan jcf-dump jar grepjar
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}31
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}32
-( ${TEST} -e ${PREFIX}/man/man1/${file}.1 \
&& ${MV} -f ${PREFIX}/man/man1/${file}.1 \
- ${PREFIX}/man/man1/${file}31.1 )
+ ${PREFIX}/man/man1/${file}32.1 )
.endfor
.for file in g77
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-31
- #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-31.1
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-32
+ #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-32.1
.endfor
${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${SNAPVER}
# These 3 libraries are moved from PREFIX/lib to avoid conflicts
# with the stock compiler.
- ${MV} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}
- ${MV} -f ${PREFIX}/lib/libstdc++.* ${PREFIX}/lib/libsupc++.* ${TARGLIB}
- -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
-#.if defined(WANT_SHAREDLIBS)
-# ${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
-#.endif
-.for info in cpp cppinternals g77 gcc gcj
- install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+.for file in libstdc++ libsupc++ libg2c libfrtbegin libobjc
+ ${MV} -f ${PREFIX}/lib/${file}.* ${TARGLIB}
.endfor
+ -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
+ ${RM} -f ${PREFIX}/lib/libiberty.a
+#.for info in cpp cppinternals g77 gcc gcj
+# install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+#.endfor
cd ${PREFIX} ;\
${FIND} ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l \
>${WRKDIR}/PLIST.gcc-lib
diff --git a/lang/gcc45/distinfo b/lang/gcc45/distinfo
index 336b2b1e969..e69de29bb2d 100644
--- a/lang/gcc45/distinfo
+++ b/lang/gcc45/distinfo
@@ -1,5 +0,0 @@
-MD5 (gcc-core-20020225.tar.bz2) = a1d6a6d6d5b5116061c69d1114581a0f
-MD5 (gcc-g++-20020225.tar.bz2) = e434b91945db07d55c528696384a77b3
-MD5 (gcc-g77-20020225.tar.bz2) = 3fbe3e1e73be55477f5d6658805b3878
-MD5 (gcc-java-20020225.tar.bz2) = 534bef8761bede48bb16c2cc213bf53a
-MD5 (gcc-objc-20020225.tar.bz2) = 966e62ce336cfd18e2d5ff904f5ec830
diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile
index 25671ded169..68c2e3e4deb 100644
--- a/lang/gcc46/Makefile
+++ b/lang/gcc46/Makefile
@@ -6,11 +6,12 @@
# $FreeBSD$
#
-SNAPDATE= 2002-02-25
+SNAPDATE= 2002-03-10
SNAPVER= ${SNAPDATE:S/-//g}
-PORTNAME= gcc31
-PORTVERSION= ${SNAPVER}
+PORTNAME= gcc
+PORTVERSION= 3.2
+PORTREVISION= ${SNAPVER}
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
ftp://ftp.netwinder.org/pub/build/gcc/i386/${SNAPVER}/ \
@@ -22,24 +23,16 @@ DISTFILES= \
gcc-g77-${SNAPVER}${EXTRACT_SUFX} \
gcc-java-${SNAPVER}${EXTRACT_SUFX} \
gcc-objc-${SNAPVER}${EXTRACT_SUFX}
-# gcc-ss-3.1-0_${SNAPVER}.src.rpm
+# gcc-ss-3.2-0_${SNAPVER}.src.rpm
MAINTAINER= obrien@FreeBSD.org
-BROKEN= 'snapshot not available at this time'
NO_CDROM= 'dated material'
-LATEST_LINK= gcc31
+LATEST_LINK= gcc32
USE_BZIP2= yes
-.if defined(NETWINDER_SS)
-BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
-
-EXTRACT_CMD= rpm2cpio
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= |cpio -idum
-EXTRACT_ONLY=
-.endif
+CVS_DATE= ${SNAPDATE} 11:05 PST
PATCH_WRKSRC= ${SRCDIR}
CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
@@ -52,7 +45,7 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL}
.endif
#GCC_REV= ${PORTVERSION:C/\.0$//}
-GCC_REV= 3.1
+GCC_REV= 3.2
#SRCDIR= ${WRKDIR}/gcc-${GCC_REV}
SRCDIR= ${WRKDIR}/gcc-${SNAPVER}
WRKSRC= ${WRKDIR}/build
@@ -77,19 +70,37 @@ CONFIGURE_ARGS+= --enable-threads
CONFIGURE_ARGS+= --enable-threads=posix
.endif
ALL_TARGET= bootstrap
-#MAN1= cpp31.1 g++31.1 g77-31.1 gcc31.1 gcov31.1
-MAN1= g++31.1
+#MAN1= cpp32.1 g++32.1 g77-32.1 gcc32.1 gcov32.1
+MAN1= g++32.1
pre-fetch:
@${ECHO} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT} target ${ARCH}-portbld-freebsd${OSREL}"
-.if defined(NETWINDER_SS)
-post-extract:
-.for F in ${DISTFILES}
- cd ${WRKDIR} ; rpm2cpio ${DISTDIR}/$F |cpio -idum
-.endfor
- cd ${WRKDIR} ; ${TAR} -xzf gcc-${SNAPVER}.tar.gz
- cd ${WRKDIR} ; ${LN} -sf gcc gcc-${SNAPVER}
+.if defined(CVS_DATE)
+NO_CHECKSUM= yes
+CVS_CMD?= cvs -z3
+CVSROOT= :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc
+STAMPFILE= ${DISTDIR}/${PKGNAME}/.timestamp
+do-fetch:
+ @if [ ! -e ${STAMPFILE} ] || \
+ [ "X${CVS_DATE}" != "X$$(${CAT} ${STAMPFILE})" ]; then \
+ ${MKDIR} ${DISTDIR}/${PKGNAME} && \
+ cd ${DISTDIR}/${PKGNAME} ; \
+ 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} -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}/${PKGNAME}/gcc ; pax -pe -rwt . ${SRCDIR}
.endif
pre-configure:
@@ -122,27 +133,26 @@ post-install:
strip $$prog ; \
done )
.for file in gcc g++ cpp g++filt gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++ gcj gcjh jv-scan jcf-dump jar grepjar
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}31
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}32
-( ${TEST} -e ${PREFIX}/man/man1/${file}.1 \
&& ${MV} -f ${PREFIX}/man/man1/${file}.1 \
- ${PREFIX}/man/man1/${file}31.1 )
+ ${PREFIX}/man/man1/${file}32.1 )
.endfor
.for file in g77
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-31
- #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-31.1
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-32
+ #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-32.1
.endfor
${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${SNAPVER}
# These 3 libraries are moved from PREFIX/lib to avoid conflicts
# with the stock compiler.
- ${MV} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}
- ${MV} -f ${PREFIX}/lib/libstdc++.* ${PREFIX}/lib/libsupc++.* ${TARGLIB}
- -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
-#.if defined(WANT_SHAREDLIBS)
-# ${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
-#.endif
-.for info in cpp cppinternals g77 gcc gcj
- install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+.for file in libstdc++ libsupc++ libg2c libfrtbegin libobjc
+ ${MV} -f ${PREFIX}/lib/${file}.* ${TARGLIB}
.endfor
+ -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
+ ${RM} -f ${PREFIX}/lib/libiberty.a
+#.for info in cpp cppinternals g77 gcc gcj
+# install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+#.endfor
cd ${PREFIX} ;\
${FIND} ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l \
>${WRKDIR}/PLIST.gcc-lib
diff --git a/lang/gcc46/distinfo b/lang/gcc46/distinfo
index 336b2b1e969..e69de29bb2d 100644
--- a/lang/gcc46/distinfo
+++ b/lang/gcc46/distinfo
@@ -1,5 +0,0 @@
-MD5 (gcc-core-20020225.tar.bz2) = a1d6a6d6d5b5116061c69d1114581a0f
-MD5 (gcc-g++-20020225.tar.bz2) = e434b91945db07d55c528696384a77b3
-MD5 (gcc-g77-20020225.tar.bz2) = 3fbe3e1e73be55477f5d6658805b3878
-MD5 (gcc-java-20020225.tar.bz2) = 534bef8761bede48bb16c2cc213bf53a
-MD5 (gcc-objc-20020225.tar.bz2) = 966e62ce336cfd18e2d5ff904f5ec830
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile
index 25671ded169..68c2e3e4deb 100644
--- a/lang/gcc47/Makefile
+++ b/lang/gcc47/Makefile
@@ -6,11 +6,12 @@
# $FreeBSD$
#
-SNAPDATE= 2002-02-25
+SNAPDATE= 2002-03-10
SNAPVER= ${SNAPDATE:S/-//g}
-PORTNAME= gcc31
-PORTVERSION= ${SNAPVER}
+PORTNAME= gcc
+PORTVERSION= 3.2
+PORTREVISION= ${SNAPVER}
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
ftp://ftp.netwinder.org/pub/build/gcc/i386/${SNAPVER}/ \
@@ -22,24 +23,16 @@ DISTFILES= \
gcc-g77-${SNAPVER}${EXTRACT_SUFX} \
gcc-java-${SNAPVER}${EXTRACT_SUFX} \
gcc-objc-${SNAPVER}${EXTRACT_SUFX}
-# gcc-ss-3.1-0_${SNAPVER}.src.rpm
+# gcc-ss-3.2-0_${SNAPVER}.src.rpm
MAINTAINER= obrien@FreeBSD.org
-BROKEN= 'snapshot not available at this time'
NO_CDROM= 'dated material'
-LATEST_LINK= gcc31
+LATEST_LINK= gcc32
USE_BZIP2= yes
-.if defined(NETWINDER_SS)
-BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
-
-EXTRACT_CMD= rpm2cpio
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= |cpio -idum
-EXTRACT_ONLY=
-.endif
+CVS_DATE= ${SNAPDATE} 11:05 PST
PATCH_WRKSRC= ${SRCDIR}
CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
@@ -52,7 +45,7 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL}
.endif
#GCC_REV= ${PORTVERSION:C/\.0$//}
-GCC_REV= 3.1
+GCC_REV= 3.2
#SRCDIR= ${WRKDIR}/gcc-${GCC_REV}
SRCDIR= ${WRKDIR}/gcc-${SNAPVER}
WRKSRC= ${WRKDIR}/build
@@ -77,19 +70,37 @@ CONFIGURE_ARGS+= --enable-threads
CONFIGURE_ARGS+= --enable-threads=posix
.endif
ALL_TARGET= bootstrap
-#MAN1= cpp31.1 g++31.1 g77-31.1 gcc31.1 gcov31.1
-MAN1= g++31.1
+#MAN1= cpp32.1 g++32.1 g77-32.1 gcc32.1 gcov32.1
+MAN1= g++32.1
pre-fetch:
@${ECHO} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT} target ${ARCH}-portbld-freebsd${OSREL}"
-.if defined(NETWINDER_SS)
-post-extract:
-.for F in ${DISTFILES}
- cd ${WRKDIR} ; rpm2cpio ${DISTDIR}/$F |cpio -idum
-.endfor
- cd ${WRKDIR} ; ${TAR} -xzf gcc-${SNAPVER}.tar.gz
- cd ${WRKDIR} ; ${LN} -sf gcc gcc-${SNAPVER}
+.if defined(CVS_DATE)
+NO_CHECKSUM= yes
+CVS_CMD?= cvs -z3
+CVSROOT= :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc
+STAMPFILE= ${DISTDIR}/${PKGNAME}/.timestamp
+do-fetch:
+ @if [ ! -e ${STAMPFILE} ] || \
+ [ "X${CVS_DATE}" != "X$$(${CAT} ${STAMPFILE})" ]; then \
+ ${MKDIR} ${DISTDIR}/${PKGNAME} && \
+ cd ${DISTDIR}/${PKGNAME} ; \
+ 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} -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}/${PKGNAME}/gcc ; pax -pe -rwt . ${SRCDIR}
.endif
pre-configure:
@@ -122,27 +133,26 @@ post-install:
strip $$prog ; \
done )
.for file in gcc g++ cpp g++filt gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++ gcj gcjh jv-scan jcf-dump jar grepjar
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}31
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}32
-( ${TEST} -e ${PREFIX}/man/man1/${file}.1 \
&& ${MV} -f ${PREFIX}/man/man1/${file}.1 \
- ${PREFIX}/man/man1/${file}31.1 )
+ ${PREFIX}/man/man1/${file}32.1 )
.endfor
.for file in g77
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-31
- #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-31.1
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-32
+ #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-32.1
.endfor
${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${SNAPVER}
# These 3 libraries are moved from PREFIX/lib to avoid conflicts
# with the stock compiler.
- ${MV} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}
- ${MV} -f ${PREFIX}/lib/libstdc++.* ${PREFIX}/lib/libsupc++.* ${TARGLIB}
- -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
-#.if defined(WANT_SHAREDLIBS)
-# ${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
-#.endif
-.for info in cpp cppinternals g77 gcc gcj
- install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+.for file in libstdc++ libsupc++ libg2c libfrtbegin libobjc
+ ${MV} -f ${PREFIX}/lib/${file}.* ${TARGLIB}
.endfor
+ -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
+ ${RM} -f ${PREFIX}/lib/libiberty.a
+#.for info in cpp cppinternals g77 gcc gcj
+# install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+#.endfor
cd ${PREFIX} ;\
${FIND} ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l \
>${WRKDIR}/PLIST.gcc-lib
diff --git a/lang/gcc47/distinfo b/lang/gcc47/distinfo
index 336b2b1e969..e69de29bb2d 100644
--- a/lang/gcc47/distinfo
+++ b/lang/gcc47/distinfo
@@ -1,5 +0,0 @@
-MD5 (gcc-core-20020225.tar.bz2) = a1d6a6d6d5b5116061c69d1114581a0f
-MD5 (gcc-g++-20020225.tar.bz2) = e434b91945db07d55c528696384a77b3
-MD5 (gcc-g77-20020225.tar.bz2) = 3fbe3e1e73be55477f5d6658805b3878
-MD5 (gcc-java-20020225.tar.bz2) = 534bef8761bede48bb16c2cc213bf53a
-MD5 (gcc-objc-20020225.tar.bz2) = 966e62ce336cfd18e2d5ff904f5ec830
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile
index 25671ded169..68c2e3e4deb 100644
--- a/lang/gcc48/Makefile
+++ b/lang/gcc48/Makefile
@@ -6,11 +6,12 @@
# $FreeBSD$
#
-SNAPDATE= 2002-02-25
+SNAPDATE= 2002-03-10
SNAPVER= ${SNAPDATE:S/-//g}
-PORTNAME= gcc31
-PORTVERSION= ${SNAPVER}
+PORTNAME= gcc
+PORTVERSION= 3.2
+PORTREVISION= ${SNAPVER}
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
ftp://ftp.netwinder.org/pub/build/gcc/i386/${SNAPVER}/ \
@@ -22,24 +23,16 @@ DISTFILES= \
gcc-g77-${SNAPVER}${EXTRACT_SUFX} \
gcc-java-${SNAPVER}${EXTRACT_SUFX} \
gcc-objc-${SNAPVER}${EXTRACT_SUFX}
-# gcc-ss-3.1-0_${SNAPVER}.src.rpm
+# gcc-ss-3.2-0_${SNAPVER}.src.rpm
MAINTAINER= obrien@FreeBSD.org
-BROKEN= 'snapshot not available at this time'
NO_CDROM= 'dated material'
-LATEST_LINK= gcc31
+LATEST_LINK= gcc32
USE_BZIP2= yes
-.if defined(NETWINDER_SS)
-BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
-
-EXTRACT_CMD= rpm2cpio
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= |cpio -idum
-EXTRACT_ONLY=
-.endif
+CVS_DATE= ${SNAPDATE} 11:05 PST
PATCH_WRKSRC= ${SRCDIR}
CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
@@ -52,7 +45,7 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL}
.endif
#GCC_REV= ${PORTVERSION:C/\.0$//}
-GCC_REV= 3.1
+GCC_REV= 3.2
#SRCDIR= ${WRKDIR}/gcc-${GCC_REV}
SRCDIR= ${WRKDIR}/gcc-${SNAPVER}
WRKSRC= ${WRKDIR}/build
@@ -77,19 +70,37 @@ CONFIGURE_ARGS+= --enable-threads
CONFIGURE_ARGS+= --enable-threads=posix
.endif
ALL_TARGET= bootstrap
-#MAN1= cpp31.1 g++31.1 g77-31.1 gcc31.1 gcov31.1
-MAN1= g++31.1
+#MAN1= cpp32.1 g++32.1 g77-32.1 gcc32.1 gcov32.1
+MAN1= g++32.1
pre-fetch:
@${ECHO} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT} target ${ARCH}-portbld-freebsd${OSREL}"
-.if defined(NETWINDER_SS)
-post-extract:
-.for F in ${DISTFILES}
- cd ${WRKDIR} ; rpm2cpio ${DISTDIR}/$F |cpio -idum
-.endfor
- cd ${WRKDIR} ; ${TAR} -xzf gcc-${SNAPVER}.tar.gz
- cd ${WRKDIR} ; ${LN} -sf gcc gcc-${SNAPVER}
+.if defined(CVS_DATE)
+NO_CHECKSUM= yes
+CVS_CMD?= cvs -z3
+CVSROOT= :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc
+STAMPFILE= ${DISTDIR}/${PKGNAME}/.timestamp
+do-fetch:
+ @if [ ! -e ${STAMPFILE} ] || \
+ [ "X${CVS_DATE}" != "X$$(${CAT} ${STAMPFILE})" ]; then \
+ ${MKDIR} ${DISTDIR}/${PKGNAME} && \
+ cd ${DISTDIR}/${PKGNAME} ; \
+ 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} -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}/${PKGNAME}/gcc ; pax -pe -rwt . ${SRCDIR}
.endif
pre-configure:
@@ -122,27 +133,26 @@ post-install:
strip $$prog ; \
done )
.for file in gcc g++ cpp g++filt gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++ gcj gcjh jv-scan jcf-dump jar grepjar
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}31
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}32
-( ${TEST} -e ${PREFIX}/man/man1/${file}.1 \
&& ${MV} -f ${PREFIX}/man/man1/${file}.1 \
- ${PREFIX}/man/man1/${file}31.1 )
+ ${PREFIX}/man/man1/${file}32.1 )
.endfor
.for file in g77
- ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-31
- #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-31.1
+ ${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-32
+ #${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-32.1
.endfor
${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${SNAPVER}
# These 3 libraries are moved from PREFIX/lib to avoid conflicts
# with the stock compiler.
- ${MV} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}
- ${MV} -f ${PREFIX}/lib/libstdc++.* ${PREFIX}/lib/libsupc++.* ${TARGLIB}
- -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
-#.if defined(WANT_SHAREDLIBS)
-# ${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
-#.endif
-.for info in cpp cppinternals g77 gcc gcj
- install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+.for file in libstdc++ libsupc++ libg2c libfrtbegin libobjc
+ ${MV} -f ${PREFIX}/lib/${file}.* ${TARGLIB}
.endfor
+ -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
+ ${RM} -f ${PREFIX}/lib/libiberty.a
+#.for info in cpp cppinternals g77 gcc gcj
+# install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
+#.endfor
cd ${PREFIX} ;\
${FIND} ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l \
>${WRKDIR}/PLIST.gcc-lib
diff --git a/lang/gcc48/distinfo b/lang/gcc48/distinfo
index 336b2b1e969..e69de29bb2d 100644
--- a/lang/gcc48/distinfo
+++ b/lang/gcc48/distinfo
@@ -1,5 +0,0 @@
-MD5 (gcc-core-20020225.tar.bz2) = a1d6a6d6d5b5116061c69d1114581a0f
-MD5 (gcc-g++-20020225.tar.bz2) = e434b91945db07d55c528696384a77b3
-MD5 (gcc-g77-20020225.tar.bz2) = 3fbe3e1e73be55477f5d6658805b3878
-MD5 (gcc-java-20020225.tar.bz2) = 534bef8761bede48bb16c2cc213bf53a
-MD5 (gcc-objc-20020225.tar.bz2) = 966e62ce336cfd18e2d5ff904f5ec830