aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc42/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc42/Makefile')
-rw-r--r--lang/gcc42/Makefile49
1 files changed, 26 insertions, 23 deletions
diff --git a/lang/gcc42/Makefile b/lang/gcc42/Makefile
index 70c09a1ae2d..54c99a9d27a 100644
--- a/lang/gcc42/Makefile
+++ b/lang/gcc42/Makefile
@@ -4,35 +4,36 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.69 1999/07/15 11:08:13 obrien Exp $
+# $Id: Makefile,v 1.70 1999/07/20 15:30:50 obrien Exp $
#
SNAPDATE= 1999-07-18
SNAPVER= ${SNAPDATE:S/-//g}
-DISTNAME= egcs-${SNAPVER}
-PKGNAME= egcs-devel-${SNAPVER}
-CATEGORIES= lang
+DISTNAME= gcc-${SNAPVER}
+PKGNAME= gcc-devel-${SNAPVER}
+CATEGORIES= lang java
MASTER_SITES= ftp://go.cygnus.com/pub/sourceware.cygnus.com/pub/egcs/snapshots/${SNAPDATE}/ \
ftp://egcs.cygnus.com/pub/egcs/snapshots/${SNAPDATE}/ \
ftp://ftp.nluug.nl/pub/languages/egcs/snapshots/${SNAPDATE}/ \
ftp://ftp.iij.ad.jp/pub/egcs/snapshots/${SNAPDATE}/ \
- ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/ \
+ ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/ \
ftp://cambridge.cygnus.com/pub/egcs/snapshots/${SNAPDATE}/
-DISTFILES= egcs-chill-${SNAPVER}${EXTRACT_SUFX} \
- egcs-core-${SNAPVER}${EXTRACT_SUFX} \
- egcs-g++-${SNAPVER}${EXTRACT_SUFX} \
- egcs-g77-${SNAPVER}${EXTRACT_SUFX} \
- egcs-java-${SNAPVER}${EXTRACT_SUFX} \
- egcs-objc-${SNAPVER}${EXTRACT_SUFX}
+DISTFILES= gcc-chill-${SNAPVER}${EXTRACT_SUFX} \
+ gcc-core-${SNAPVER}${EXTRACT_SUFX} \
+ gcc-g++-${SNAPVER}${EXTRACT_SUFX} \
+ gcc-g77-${SNAPVER}${EXTRACT_SUFX} \
+ gcc-java-${SNAPVER}${EXTRACT_SUFX} \
+ gcc-objc-${SNAPVER}${EXTRACT_SUFX}
MAINTAINER= obrien@FreeBSD.org
+BROKEN='Cygnus has yet to release a "HEAD" snapshot, post 2.95 release'
NO_CDROM= 'dated material'
.include <bsd.port.pre.mk>
-EGCS_REV= gcc-2.95
+EGCS_REV= ${DISTNAME:S/gcc-//g}
LIBSTDCPP_REV= 4
.if ${PORTOBJFORMAT} == "elf"
@@ -83,21 +84,23 @@ post-install:
@${RM} -f ${PREFIX}/bin/c++
@${MV} -f ${PREFIX}/bin/c++filt ${PREFIX}/bin/g++filt
@(for prog in ${PREFIX}/bin/gcc ${PREFIX}/bin/g++ \
- ${PREFIX}/bin/g++filt ${PREFIX}/bin/g77 ${PREFIX}/bin/gcov \
- ${PREFIX}/bin/protoize ${PREFIX}/bin/unprotoize \
- ${PREFIX}/bin/${CONFIGURE_TARGET}-gcc \
- ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/cc1 \
- ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/cc1obj \
- ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/cc1plus \
- ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/cpp \
- ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/collect2 \
- ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/f771 ; \
- do strip $$prog ; \
- done)
+ ${PREFIX}/bin/g++filt ${PREFIX}/bin/g77 ${PREFIX}/bin/gcov \
+ ${PREFIX}/bin/protoize ${PREFIX}/bin/unprotoize \
+ ${PREFIX}/bin/${CONFIGURE_TARGET}-gcc \
+ ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/cc1 \
+ ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/cc1obj \
+ ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/cc1plus \
+ ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/cpp \
+ ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/collect2 \
+ ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/f771 ; \
+ do \
+ strip $$prog ; \
+ done)
${MV} ${PREFIX}/bin/gcc ${PREFIX}/bin/egcc
${MV} ${PREFIX}/bin/g++ ${PREFIX}/bin/eg++
${MV} ${PREFIX}/bin/g77 ${PREFIX}/bin/eg77
${MV} ${PREFIX}/bin/g++filt ${PREFIX}/bin/eg++filt
+ ${RM} -f ${PREFIX}/bin/cpp
${MV} ${PREFIX}/lib/libiberty.a \
${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
${MV} -f ${PREFIX}/lib/libstdc++.a.${LIBSTDCPP_REV} \