aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc31
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-12-21 23:50:36 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-12-21 23:50:36 +0000
commit7450726d85884dd07d46494cb46df3437cb97680 (patch)
tree4a1f72c15a0668d5eb947b7090f651baf765bf4a /lang/gcc31
parent2eab1042421ce63e3a3dcf5b7eb54ef3b5145e60 (diff)
downloadports-7450726d85884dd07d46494cb46df3437cb97680.tar.gz
ports-7450726d85884dd07d46494cb46df3437cb97680.zip
Notes
Diffstat (limited to 'lang/gcc31')
-rw-r--r--lang/gcc31/Makefile52
-rw-r--r--lang/gcc31/distinfo10
2 files changed, 29 insertions, 33 deletions
diff --git a/lang/gcc31/Makefile b/lang/gcc31/Makefile
index f8b250bad0ee..4c8bdcaf7969 100644
--- a/lang/gcc31/Makefile
+++ b/lang/gcc31/Makefile
@@ -6,7 +6,7 @@
# $FreeBSD$
#
-SNAPDATE= 2000-12-11
+SNAPDATE= 2000-12-18
SNAPVER= ${SNAPDATE:S/-//g}
PORTNAME= gcc-devel
@@ -28,14 +28,6 @@ MAINTAINER= obrien@FreeBSD.org
NO_CDROM= 'dated material'
-##WRKSRC= ${WRKDIR}/gcc-${SNAPVER}
-##CONFIGURE_WRKSRC= ${WRKDIR}/build
-##BUILD_WRKSRC= ${WRKDIR}/build
-##INSTALL_WRKSRC= ${WRKDIR}/build
-##CONFIGURE_SCRIPT= ${WRKSRC}/configure
-EGCS_REV= 2.97
-SRCDIR= ${WRKDIR}/gcc-${SNAPVER}
-WRKSRC= ${WRKDIR}/build
PATCH_ARGS= -d ${SRCDIR} -E ${PATCH_STRIP}
.if !defined(PATCH_DEBUG)
PATCH_ARGS+= --forward --quiet
@@ -50,6 +42,15 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL}
.endif
+##WRKSRC= ${WRKDIR}/gcc-${SNAPVER}
+##CONFIGURE_WRKSRC= ${WRKDIR}/build
+##BUILD_WRKSRC= ${WRKDIR}/build
+##INSTALL_WRKSRC= ${WRKDIR}/build
+##CONFIGURE_SCRIPT= ${WRKSRC}/configure
+EGCS_REV= 2.97
+SRCDIR= ${WRKDIR}/gcc-${SNAPVER}
+WRKSRC= ${WRKDIR}/build
+TARGLIB= ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${CONFIGURE_TARGET} \
SNAPVER=${SNAPVER}
GNU_CONFIGURE= yes
@@ -104,35 +105,30 @@ post-install:
do \
strip $$prog ; \
done )
- ${MV} ${PREFIX}/bin/gcc ${PREFIX}/bin/ggcc
- ${MV} ${PREFIX}/bin/g++ ${PREFIX}/bin/gg++
- ${MV} ${PREFIX}/bin/g77 ${PREFIX}/bin/gg77
- ${MV} ${PREFIX}/bin/g++filt ${PREFIX}/bin/gg++filt
- ${MV} ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${SNAPVER}
+ ${MV} -f ${PREFIX}/bin/gcc ${PREFIX}/bin/ggcc
+ ${MV} -f ${PREFIX}/bin/g++ ${PREFIX}/bin/gg++
+ ${MV} -f ${PREFIX}/bin/g77 ${PREFIX}/bin/gg77
+ ${MV} -f ${PREFIX}/bin/g++filt ${PREFIX}/bin/gg++filt
+ ${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${SNAPVER}
${RM} -f ${PREFIX}/bin/${GNU_HOST}-c++
${RM} -f ${PREFIX}/bin/cpp
# These 3 libraries are moved from PREFIX/lib to avoid conflicts
# with the stock compiler.
- ${MV} ${PREFIX}/lib/libiberty.a \
- ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
- ${MV} -f ${PREFIX}/lib/libstdc++.a \
- ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
- ${MV} -f ${PREFIX}/lib/libzgcj.* \
- ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
- ${MV} ${PREFIX}/man/man1/gcc.1 ${PREFIX}/man/man1/ggcc.1
- ${MV} ${PREFIX}/man/man1/g++.1 ${PREFIX}/man/man1/gg++.1
- ${MV} ${PREFIX}/man/man1/g77.1 ${PREFIX}/man/man1/gg77.1
- ${MV} ${PREFIX}/man/man1/cpp.1 ${PREFIX}/man/man1/gcpp.1
+ ${MV} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}
+ ${MV} -f ${PREFIX}/lib/libstdc++.* ${PREFIX}/lib/libsupc++.* ${TARGLIB}
+ -${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
+ ${MV} -f ${PREFIX}/man/man1/gcc.1 ${PREFIX}/man/man1/ggcc.1
+ ${MV} -f ${PREFIX}/man/man1/g++.1 ${PREFIX}/man/man1/gg++.1
+ ${MV} -f ${PREFIX}/man/man1/g77.1 ${PREFIX}/man/man1/gg77.1
+ ${MV} -f ${PREFIX}/man/man1/cpp.1 ${PREFIX}/man/man1/gcpp.1
.if defined(WANT_SHAREDLIBS)
- ${MV} -f ${PREFIX}/lib/libstdc++.so* \
- ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
+ ${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
.endif
.for info in cpp g77 gcc
install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
.endfor
cd ${PREFIX} ;\
- find lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV} \
- -type f -o -type l >${WRKDIR}/PLIST.gcc-lib
+ find ${TARGLIB} -type f -o -type l >${WRKDIR}/PLIST.gcc-lib
${ECHO} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
${ECHO} "/Insert PLIST.gcc-lib" >> ${WRKDIR}/ex.script
${ECHO} "d" >> ${WRKDIR}/ex.script
diff --git a/lang/gcc31/distinfo b/lang/gcc31/distinfo
index b07154a8a767..ed3c23be2d9d 100644
--- a/lang/gcc31/distinfo
+++ b/lang/gcc31/distinfo
@@ -1,5 +1,5 @@
-MD5 (gcc-core-20001211.tar.gz) = 7ef68c16744114f172e5f6978e79c62d
-MD5 (gcc-g++-20001211.tar.gz) = c9738cfe54971bc96db5a8def578b5e4
-MD5 (gcc-g77-20001211.tar.gz) = e5276529ae63b0487e256a2b244dbcc1
-MD5 (gcc-java-20001211.tar.gz) = d1ffa05c3d4991495e7b6457c261d98b
-MD5 (gcc-objc-20001211.tar.gz) = f816bca0ffb483c0b60f907b4d0a2198
+MD5 (gcc-core-20001218.tar.gz) = 7746a20b907f2b1661c95d3cfb018b9d
+MD5 (gcc-g++-20001218.tar.gz) = e9c65edeb55e5466fd659a249f1b559f
+MD5 (gcc-g77-20001218.tar.gz) = 051f589d0f441cf6c5fdb3a9b6098646
+MD5 (gcc-java-20001218.tar.gz) = 44e8658a710d1a4ee2430284d2511f5b
+MD5 (gcc-objc-20001218.tar.gz) = 08fee6f01bd4518c6b271675b9ae9755