summaryrefslogtreecommitdiffstats
path: root/lang/gcc30
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc30')
-rw-r--r--lang/gcc30/Makefile52
-rw-r--r--lang/gcc30/distinfo10
2 files changed, 29 insertions, 33 deletions
diff --git a/lang/gcc30/Makefile b/lang/gcc30/Makefile
index f8b250b..4c8bdca 100644
--- a/lang/gcc30/Makefile
+++ b/lang/gcc30/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/gcc30/distinfo b/lang/gcc30/distinfo
index b07154a..ed3c23b 100644
--- a/lang/gcc30/distinfo
+++ b/lang/gcc30/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
OpenPOWER on IntegriCloud