aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc47
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-03-29 08:58:14 +0800
committerobrien <obrien@FreeBSD.org>2002-03-29 08:58:14 +0800
commit25d2df20388fa2fe255ae8985c5c3937cc860618 (patch)
treeddce4f89c61c51227bcb431296ccf6fe5a51a206 /lang/gcc47
parent5b49272fd7ca4346ab94c516242dd99823346785 (diff)
downloadfreebsd-ports-gnome-25d2df20388fa2fe255ae8985c5c3937cc860618.tar.gz
freebsd-ports-gnome-25d2df20388fa2fe255ae8985c5c3937cc860618.tar.zst
freebsd-ports-gnome-25d2df20388fa2fe255ae8985c5c3937cc860618.zip
Upgrade to a 27-March-2002 GCC 3.2 in-development checkout.
Diffstat (limited to 'lang/gcc47')
-rw-r--r--lang/gcc47/Makefile28
-rw-r--r--lang/gcc47/pkg-plist24
2 files changed, 28 insertions, 24 deletions
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile
index 7279734e5a3b..31a25d972a6a 100644
--- a/lang/gcc47/Makefile
+++ b/lang/gcc47/Makefile
@@ -6,7 +6,7 @@
# $FreeBSD$
#
-SNAPDATE= 2002-03-12
+SNAPDATE= 2002-03-27
SNAPVER= ${SNAPDATE:S/-//g}
PORTNAME= gcc
@@ -25,6 +25,9 @@ DISTFILES= \
gcc-objc-${SNAPVER}${EXTRACT_SUFX}
# gcc-ss-3.2-0_${SNAPVER}.src.rpm
+PATCH_SITES= ftp://relay.nuxi.com/obrien/
+PATCHFILES= port_gcc32_${SNAPDATE}.diff
+
MAINTAINER= obrien@FreeBSD.org
NO_CDROM= 'dated material'
@@ -32,7 +35,7 @@ LATEST_LINK= gcc32
USE_BZIP2= yes
-CVS_DATE= ${SNAPDATE} 21:39 PST
+CVS_DATE= ${SNAPDATE} 10:41 PST
PATCH_WRKSRC= ${SRCDIR}
CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
@@ -78,14 +81,18 @@ pre-fetch:
.if defined(CVS_DATE)
NO_CHECKSUM= yes
+DIST_SUBDIR= ${PKGNAME}
CVS_CMD?= cvs -z3
CVSROOT= :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc
-STAMPFILE= ${DISTDIR}/${PKGNAME}/.timestamp
+STAMPFILE= ${DISTDIR}/${DIST_SUBDIR}/.timestamp
do-fetch:
+ @-[ ! -e ${DISTDIR}/${PKGNAME}/${PATCHFILES} ] \
+ && fetch -o ${DISTDIR}/${PKGNAME}/${PATCHFILES} \
+ ${PATCH_SITES}${PATCHFILES}
@if [ ! -e ${STAMPFILE} ] || \
[ "X${CVS_DATE}" != "X$$(${CAT} ${STAMPFILE})" ]; then \
- ${MKDIR} ${DISTDIR}/${PKGNAME} && \
- cd ${DISTDIR}/${PKGNAME} ; \
+ ${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 ; \
@@ -100,7 +107,7 @@ do-fetch:
do-extract:
${MKDIR} ${SRCDIR}
- cd ${DISTDIR}/${PKGNAME}/gcc ; pax -pe -rwt . ${SRCDIR}
+ cd ${DISTDIR}/${DIST_SUBDIR}/gcc ; pax -pe -rwt . ${SRCDIR}
.endif
pre-configure:
@@ -123,12 +130,8 @@ post-install:
@(for prog in ${PREFIX}/bin/gcc ${PREFIX}/bin/g++ \
${PREFIX}/bin/g++filt ${PREFIX}/bin/g77 ${PREFIX}/bin/gcov \
${PREFIX}/bin/${CONFIGURE_TARGET}-gcc \
- ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}/cc1 \
- ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}/cc1obj \
- ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}/cc1plus \
- ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}/cpp0 \
- ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}/collect2 \
- ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}/f771 ; \
+ ${TARGLIB}/cc1 ${TARGLIB}/cc1obj ${TARGLIB}/cc1plus \
+ ${TARGLIB}/collect2 ${TARGLIB}/f771 ; \
do \
strip $$prog ; \
done )
@@ -150,6 +153,7 @@ post-install:
.endfor
-${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
${RM} -f ${PREFIX}/lib/libiberty.a
+ ${RM} -f ${TARGLIB}/*.la
#.for info in cpp cppinternals g77 gcc gcj
# install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
#.endfor
diff --git a/lang/gcc47/pkg-plist b/lang/gcc47/pkg-plist
index 78cfd4f85d6e..87c1e6afd2b9 100644
--- a/lang/gcc47/pkg-plist
+++ b/lang/gcc47/pkg-plist
@@ -17,17 +17,17 @@ bin/grepjar31
@comment Insert PLIST.gcc-lib here
@comment -=[ begin PLIST.gcc-lib ]=-
@comment -=[ end PLIST.gcc-lib ]=-
-@unexec install-info --delete %D/info/cppinternals.info %D/info/dir
-@unexec install-info --delete %D/info/gcc.info %D/info/dir
-@unexec install-info --delete %D/info/g77.info %D/info/dir
-info/cpp.info
-info/cppinternals.info
-info/g77.info
-info/gcc.info
-info/gcj.info
-@exec install-info %D/info/cppinternals.info %D/info/dir
-@exec install-info %D/info/g77.info %D/info/dir
-@exec install-info %D/info/gcc.info %D/info/dir
-@exec install-info %D/info/gcj.info %D/info/dir
+@comment unexec install-info --delete %D/info/cppinternals.info %D/info/dir
+@comment unexec install-info --delete %D/info/gcc.info %D/info/dir
+@comment unexec install-info --delete %D/info/g77.info %D/info/dir
+@comment info/cpp.info
+@comment info/cppinternals.info
+@comment info/g77.info
+@comment info/gcc.info
+@comment info/gcj.info
+@comment exec install-info %D/info/cppinternals.info %D/info/dir
+@comment exec install-info %D/info/g77.info %D/info/dir
+@comment exec install-info %D/info/gcc.info %D/info/dir
+@comment exec install-info %D/info/gcj.info %D/info/dir
@comment @dirrm %%GNU_HOST%%/include
@comment @dirrm %%GNU_HOST%%