aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc48
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 /lang/gcc48
parent6c7db3abc58ab472b5e983d52cc09345c5aa6909 (diff)
downloadfreebsd-ports-gnome-fc8d6550f7fc0a90cff0b50b5525b2376893366d.tar.gz
freebsd-ports-gnome-fc8d6550f7fc0a90cff0b50b5525b2376893366d.tar.zst
freebsd-ports-gnome-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.
Diffstat (limited to 'lang/gcc48')
-rw-r--r--lang/gcc48/Makefile82
-rw-r--r--lang/gcc48/distinfo5
2 files changed, 46 insertions, 41 deletions
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile
index 25671ded169a..68c2e3e4debe 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 336b2b1e969a..e69de29bb2d1 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