head	1.142;
access;
symbols
	RELEASE_6_2_0:1.141
	RELEASE_6_1_0:1.139
	RELEASE_5_5_0:1.139
	RELEASE_6_0_0:1.135
	RELEASE_5_4_0:1.135
	RELEASE_4_11_0:1.135
	RELEASE_5_3_0:1.132
	RELEASE_4_10_0:1.132
	RELEASE_5_2_1:1.128
	RELEASE_5_2_0:1.128
	RELEASE_4_9_0:1.126
	RELEASE_5_1_0:1.126
	RELEASE_4_8_0:1.124
	RELEASE_5_0_0:1.122
	RELEASE_4_7_0:1.118
	RELEASE_4_6_2:1.117
	RELEASE_4_6_1:1.117
	RELEASE_4_6_0:1.117
	RELEASE_5_0_DP1:1.116
	gcc_3_0_3:1.115
	gcc_3_0_2:1.113
	RELEASE_4_5_0:1.113
	RELEASE_4_4_0:1.109
	gcc_3_0_1:1.110
	gcc_3_0_0:1.107
	gcc30_20010430_1:1.105
	egcs_20010430:1.103
	old_RELEASE_4_3_0:1.102
	old_egcs_20010205:1.99
	old_egcs_20001225:1.96
	old_egcs_20001218:1.95
	old_egcs_20001211:1.94
	old_egcs_20001120:1.91
	old_RELEASE_4_2_0:1.90
	old_egcs_20001002:1.90
	old_RELEASE_4_1_1:1.89
	old_egcs_20000828:1.89
	old_egcs_20000717:1.88
	old_egcs_20000501:1.87
	old_RELEASE_4_1_0:1.87
	old_RELEASE_3_5_0:1.87
	old_egcs_20000313:1.82
	old_RELEASE_4_0_0:1.81
	old_egcs_20000306:1.81
	old_egcs_20000221:1.80
	old_egcs_20000207:1.79
	old_RELEASE_3_4_0:1.77
	old_egcs_991102:1.76
	old_egcs_991110:1.77
	old_egcs_991025:1.75
	old_egcs_990920:1.73
	old_RELEASE_3_3_0:1.72
	old_egcs_990629:1.68
	old_egcs_990718:1.70
	old_egcs_990712:1.69
	old_egcs_990616:1.64
	old_egcs_990623:1.67
	old_egcs_990524:1.60
	old_RELEASE_3_2_0:1.57
	old_egcs_990418:1.57
	old_egcs_1_1_2:1.50
	old_RELEASE_3_1_0:1.45
	old_egcs_1_1_1:1.40
	old_RELEASE_2_2_8:1.37
	old_RELEASE_3_0_0:1.35
	old_egcs_1_1b:1.30
	old_egcs_980914:1.33
	old_egcs_1_1a:1.29
	old_egcs_980803:1.25
	old_egcs_980721:1.23
	old_RELEASE_2_2_7:1.22
	old_egcs_980715:1.22
	old_egcs_980628:1.21
	old_egcs_980608:1.20
	old_egcs_980508_civil:1.19
	old_egcs_980508:1.18
	old_egcs_980502:1.17
	old_egcs_980406:1.16
	old_egcs_980315:1.14
	old_egcs_102:1.13
	old_egcs_980221:1.12
	old_RELEASE_2_2_6:1.12
	old_jdp_1_0:1.1.1.1
	old_JDP:1.1.1;
locks; strict;
comment	@# @;


1.142
date	2006.12.12.16.06.38;	author vd;	state dead;
branches;
next	1.141;

1.141
date	2006.09.03.01.44.37;	author kris;	state Exp;
branches;
next	1.140;

1.140
date	2006.05.09.20.52.13;	author edwin;	state Exp;
branches;
next	1.139;

1.139
date	2006.01.23.07.04.10;	author linimon;	state Exp;
branches;
next	1.138;

1.138
date	2006.01.22.05.52.22;	author edwin;	state Exp;
branches;
next	1.137;

1.137
date	2005.12.05.02.34.06;	author edwin;	state Exp;
branches;
next	1.136;

1.136
date	2005.12.04.21.01.41;	author edwin;	state Exp;
branches;
next	1.135;

1.135
date	2004.11.15.02.37.29;	author obrien;	state Exp;
branches;
next	1.134;

1.134
date	2004.11.14.19.32.21;	author obrien;	state Exp;
branches;
next	1.133;

1.133
date	2004.11.14.18.53.31;	author obrien;	state Exp;
branches;
next	1.132;

1.132
date	2004.04.10.17.26.41;	author trevor;	state Exp;
branches;
next	1.131;

1.131
date	2004.03.14.03.13.30;	author kris;	state Exp;
branches;
next	1.130;

1.130
date	2004.02.04.05.21.35;	author marcus;	state Exp;
branches;
next	1.129;

1.129
date	2004.01.22.11.05.58;	author trevor;	state Exp;
branches;
next	1.128;

1.128
date	2003.09.27.00.50.07;	author edwin;	state Exp;
branches;
next	1.127;

1.127
date	2003.09.24.09.36.55;	author osa;	state Exp;
branches;
next	1.126;

1.126
date	2003.05.18.11.42.14;	author kris;	state Exp;
branches;
next	1.125;

1.125
date	2003.05.09.05.34.06;	author obrien;	state Exp;
branches;
next	1.124;

1.124
date	2003.02.20.18.37.57;	author knu;	state Exp;
branches;
next	1.123;

1.123
date	2003.01.14.04.11.24;	author kris;	state Exp;
branches;
next	1.122;

1.122
date	2002.11.10.16.46.51;	author lioux;	state Exp;
branches;
next	1.121;

1.121
date	2002.11.06.22.45.48;	author adamw;	state Exp;
branches;
next	1.120;

1.120
date	2002.11.05.03.10.07;	author obrien;	state Exp;
branches;
next	1.119;

1.119
date	2002.10.19.18.55.51;	author knu;	state Exp;
branches;
next	1.118;

1.118
date	2002.07.31.12.02.37;	author gerald;	state Exp;
branches;
next	1.117;

1.117
date	2002.04.26.17.22.13;	author obrien;	state Exp;
branches;
next	1.116;

1.116
date	2002.03.09.21.11.01;	author obrien;	state Exp;
branches;
next	1.115;

1.115
date	2002.01.29.11.24.08;	author knu;	state Exp;
branches;
next	1.114;

1.114
date	2002.01.27.13.19.16;	author obrien;	state Exp;
branches;
next	1.113;

1.113
date	2002.01.19.19.15.11;	author knu;	state Exp;
branches;
next	1.112;

1.112
date	2001.10.27.18.33.06;	author obrien;	state Exp;
branches;
next	1.111;

1.111
date	2001.10.27.16.46.57;	author obrien;	state Exp;
branches;
next	1.110;

1.110
date	2001.09.23.08.12.10;	author sf;	state Exp;
branches;
next	1.109;

1.109
date	2001.09.11.15.59.34;	author sf;	state Exp;
branches;
next	1.108;

1.108
date	2001.08.30.19.12.04;	author obrien;	state Exp;
branches;
next	1.107;

1.107
date	2001.08.30.19.06.54;	author obrien;	state Exp;
branches;
next	1.106;

1.106
date	2001.06.20.19.26.25;	author obrien;	state Exp;
branches;
next	1.105;

1.105
date	2001.06.20.17.42.22;	author obrien;	state Exp;
branches;
next	1.104;

1.104
date	2001.06.02.19.12.03;	author obrien;	state Exp;
branches;
next	1.103;

1.103
date	2001.05.04.08.50.08;	author obrien;	state Exp;
branches;
next	1.102;

1.102
date	2001.03.24.01.40.08;	author obrien;	state Exp;
branches;
next	1.101;

1.101
date	2001.03.11.04.46.54;	author obrien;	state Exp;
branches;
next	1.100;

1.100
date	2001.03.06.23.55.37;	author obrien;	state Exp;
branches;
next	1.99;

1.99
date	2001.03.02.10.09.40;	author obrien;	state Exp;
branches;
next	1.98;

1.98
date	2001.02.14.20.52.38;	author obrien;	state Exp;
branches;
next	1.97;

1.97
date	2001.02.14.20.19.39;	author lioux;	state Exp;
branches;
next	1.96;

1.96
date	2000.12.27.02.22.16;	author obrien;	state Exp;
branches;
next	1.95;

1.95
date	2000.12.21.23.50.36;	author obrien;	state Exp;
branches;
next	1.94;

1.94
date	2000.12.13.18.54.40;	author obrien;	state Exp;
branches;
next	1.93;

1.93
date	2000.12.13.02.26.23;	author obrien;	state Exp;
branches;
next	1.92;

1.92
date	2000.12.05.21.36.59;	author obrien;	state Exp;
branches;
next	1.91;

1.91
date	2000.11.28.18.55.05;	author obrien;	state Exp;
branches;
next	1.90;

1.90
date	2000.10.10.23.32.32;	author obrien;	state Exp;
branches;
next	1.89;

1.89
date	2000.09.15.23.43.47;	author obrien;	state Exp;
branches;
next	1.88;

1.88
date	2000.09.05.16.59.09;	author obrien;	state Exp;
branches;
next	1.87;

1.87
date	2000.05.06.22.47.08;	author obrien;	state Exp;
branches;
next	1.86;

1.86
date	2000.04.14.17.15.19;	author obrien;	state Exp;
branches;
next	1.85;

1.85
date	2000.04.12.06.18.32;	author obrien;	state Exp;
branches;
next	1.84;

1.84
date	2000.03.22.00.26.53;	author obrien;	state Exp;
branches;
next	1.83;

1.83
date	2000.03.20.02.36.26;	author obrien;	state Exp;
branches;
next	1.82;

1.82
date	2000.03.19.08.43.50;	author obrien;	state Exp;
branches;
next	1.81;

1.81
date	2000.03.08.19.01.14;	author obrien;	state Exp;
branches;
next	1.80;

1.80
date	2000.03.08.02.20.59;	author obrien;	state Exp;
branches;
next	1.79;

1.79
date	2000.02.14.11.39.30;	author obrien;	state Exp;
branches;
next	1.78;

1.78
date	2000.01.17.12.27.54;	author obrien;	state Exp;
branches;
next	1.77;

1.77
date	99.11.15.02.02.34;	author obrien;	state Exp;
branches;
next	1.76;

1.76
date	99.11.03.11.41.47;	author obrien;	state Exp;
branches;
next	1.75;

1.75
date	99.11.01.07.39.11;	author obrien;	state Exp;
branches;
next	1.74;

1.74
date	99.10.10.23.14.28;	author obrien;	state Exp;
branches;
next	1.73;

1.73
date	99.10.10.20.28.31;	author obrien;	state Exp;
branches;
next	1.72;

1.72
date	99.08.25.06.34.35;	author obrien;	state Exp;
branches;
next	1.71;

1.71
date	99.08.05.16.21.08;	author obrien;	state Exp;
branches;
next	1.70;

1.70
date	99.07.20.15.30.50;	author obrien;	state Exp;
branches;
next	1.69;

1.69
date	99.07.15.11.08.13;	author obrien;	state Exp;
branches;
next	1.68;

1.68
date	99.07.06.07.29.37;	author obrien;	state Exp;
branches;
next	1.67;

1.67
date	99.07.04.21.49.26;	author steve;	state Exp;
branches;
next	1.66;

1.66
date	99.07.04.20.55.43;	author obrien;	state Exp;
branches;
next	1.65;

1.65
date	99.06.24.19.11.49;	author obrien;	state Exp;
branches;
next	1.64;

1.64
date	99.06.21.18.17.51;	author obrien;	state Exp;
branches;
next	1.63;

1.63
date	99.06.15.07.31.08;	author obrien;	state Exp;
branches;
next	1.62;

1.62
date	99.06.10.14.31.08;	author simokawa;	state Exp;
branches;
next	1.61;

1.61
date	99.06.05.22.30.28;	author mharo;	state Exp;
branches;
next	1.60;

1.60
date	99.05.26.10.26.19;	author obrien;	state Exp;
branches;
next	1.59;

1.59
date	99.05.24.17.13.47;	author obrien;	state Exp;
branches;
next	1.58;

1.58
date	99.05.18.18.15.33;	author obrien;	state Exp;
branches;
next	1.57;

1.57
date	99.04.22.00.17.01;	author scrappy;	state Exp;
branches;
next	1.56;

1.56
date	99.04.21.07.48.57;	author obrien;	state Exp;
branches;
next	1.55;

1.55
date	99.04.13.05.41.10;	author asami;	state Exp;
branches;
next	1.54;

1.54
date	99.04.08.19.05.43;	author billf;	state Exp;
branches;
next	1.53;

1.53
date	99.03.30.02.58.02;	author obrien;	state Exp;
branches;
next	1.52;

1.52
date	99.03.23.18.37.47;	author obrien;	state Exp;
branches;
next	1.51;

1.51
date	99.03.22.01.35.36;	author obrien;	state Exp;
branches;
next	1.50;

1.50
date	99.03.17.00.40.25;	author obrien;	state Exp;
branches;
next	1.49;

1.49
date	99.03.11.21.47.12;	author scrappy;	state Exp;
branches;
next	1.48;

1.48
date	99.03.08.07.28.27;	author asami;	state Exp;
branches;
next	1.47;

1.47
date	99.02.28.12.18.36;	author obrien;	state Exp;
branches;
next	1.46;

1.46
date	99.02.28.10.50.50;	author obrien;	state Exp;
branches;
next	1.45;

1.45
date	99.02.09.22.17.21;	author obrien;	state Exp;
branches;
next	1.44;

1.44
date	99.02.09.18.24.50;	author obrien;	state Exp;
branches;
next	1.43;

1.43
date	99.02.03.11.11.52;	author asami;	state Exp;
branches;
next	1.42;

1.42
date	98.12.26.20.10.02;	author obrien;	state Exp;
branches;
next	1.41;

1.41
date	98.12.05.04.00.40;	author obrien;	state Exp;
branches;
next	1.40;

1.40
date	98.12.05.03.40.17;	author obrien;	state Exp;
branches;
next	1.39;

1.39
date	98.12.04.11.05.05;	author obrien;	state Exp;
branches;
next	1.38;

1.38
date	98.12.02.09.41.27;	author obrien;	state Exp;
branches;
next	1.37;

1.37
date	98.11.13.07.34.57;	author obrien;	state Exp;
branches;
next	1.36;

1.36
date	98.11.13.07.32.21;	author obrien;	state Exp;
branches;
next	1.35;

1.35
date	98.10.01.21.40.03;	author obrien;	state Exp;
branches;
next	1.34;

1.34
date	98.09.28.09.47.01;	author asami;	state Exp;
branches;
next	1.33;

1.33
date	98.09.27.01.56.14;	author obrien;	state Exp;
branches;
next	1.32;

1.32
date	98.09.27.00.44.18;	author obrien;	state Exp;
branches;
next	1.31;

1.31
date	98.09.26.18.17.13;	author obrien;	state Exp;
branches;
next	1.30;

1.30
date	98.09.10.04.05.26;	author obrien;	state Exp;
branches;
next	1.29;

1.29
date	98.09.04.18.56.55;	author obrien;	state Exp;
branches;
next	1.28;

1.28
date	98.09.03.08.49.10;	author obrien;	state Exp;
branches;
next	1.27;

1.27
date	98.08.26.09.51.15;	author obrien;	state Exp;
branches;
next	1.26;

1.26
date	98.08.12.04.39.10;	author jdp;	state Exp;
branches;
next	1.25;

1.25
date	98.08.11.08.22.45;	author obrien;	state Exp;
branches;
next	1.24;

1.24
date	98.08.07.22.49.30;	author asami;	state Exp;
branches;
next	1.23;

1.23
date	98.07.26.23.43.34;	author obrien;	state Exp;
branches;
next	1.22;

1.22
date	98.07.16.06.23.40;	author obrien;	state Exp;
branches;
next	1.21;

1.21
date	98.07.06.10.17.09;	author obrien;	state Exp;
branches;
next	1.20;

1.20
date	98.06.10.05.29.12;	author obrien;	state Exp;
branches;
next	1.19;

1.19
date	98.05.20.08.59.30;	author obrien;	state Exp;
branches;
next	1.18;

1.18
date	98.05.19.22.33.41;	author obrien;	state Exp;
branches;
next	1.17;

1.17
date	98.05.05.06.34.46;	author obrien;	state Exp;
branches;
next	1.16;

1.16
date	98.04.14.10.17.27;	author obrien;	state Exp;
branches;
next	1.15;

1.15
date	98.04.11.01.32.19;	author obrien;	state Exp;
branches;
next	1.14;

1.14
date	98.04.07.01.18.07;	author obrien;	state Exp;
branches;
next	1.13;

1.13
date	98.04.07.01.14.25;	author obrien;	state Exp;
branches;
next	1.12;

1.12
date	98.03.17.21.10.40;	author jdp;	state Exp;
branches;
next	1.11;

1.11
date	98.03.10.06.23.50;	author obrien;	state Exp;
branches;
next	1.10;

1.10
date	98.03.08.12.54.00;	author obrien;	state Exp;
branches;
next	1.9;

1.9
date	98.02.23.01.52.52;	author jdp;	state Exp;
branches;
next	1.8;

1.8
date	98.02.17.00.04.51;	author obrien;	state Exp;
branches;
next	1.7;

1.7
date	98.02.16.09.18.13;	author asami;	state Exp;
branches;
next	1.6;

1.6
date	98.02.14.04.18.22;	author obrien;	state Exp;
branches;
next	1.5;

1.5
date	98.02.03.07.48.35;	author asami;	state Exp;
branches;
next	1.4;

1.4
date	98.01.23.17.49.35;	author jdp;	state Exp;
branches;
next	1.3;

1.3
date	98.01.14.07.24.54;	author obrien;	state Exp;
branches;
next	1.2;

1.2
date	98.01.13.05.18.16;	author asami;	state Exp;
branches;
next	1.1;

1.1
date	98.01.10.21.40.09;	author jdp;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.01.10.21.40.09;	author jdp;	state Exp;
branches;
next	;


desc
@@


1.142
log
@Remove expired ports:
2006-12-01 print/latex-beamer: is already included in the teTeX distribution
2006-12-01 print/latex-bibtopic: is already included in the teTeX distribution
2006-12-01 print/latex-bibunits: is already included in the teTeX distribution
2006-12-01 print/latex-booktabs: is already included in the teTeX distribution
2006-12-01 print/latex-index: is already included in the teTeX distribution
2006-12-01 print/latex-layouts: is already included in the teTeX distribution
2006-12-01 print/latex-pgf: is already included in the teTeX distribution
2006-12-01 print/latex-subfig: is already included in the teTeX distribution
2006-12-01 print/latex-xcolor: is already included in the teTeX distribution
2006-12-01 print/latex-lineno: is already included in the teTeX distribution
2006-12-01 print/latex-pict2e: is already included in the teTeX distribution
2007-05-31 multimedia/gstreamer-plugins-mpeg2enc80: Obsolete version, use gstreamer 0.10 instead
2006-12-01 lang/gcc30: "This port is no longer in use by anything in the ports collection and will be removed in the future.  Use a later release instead."
2006-12-01 lang/egcs: "This port is no longer in use by anything in the ports collection and will be removed in the future.  Use a later release of gcc instead"
2006-12-01 graphics/php4-ming: doesn't work with new version of ming library
2006-12-01 graphics/dvipng: is already included in the teTeX distribution
@
text
@# ex:ts=8
# Ports collection makefile for:	egcs
# Date created:				9 Jan 1998
# Whom:					John Polstra <jdp@@polstra.com>
#
# $FreeBSD: ports/lang/gcc30/Makefile,v 1.141 2006/09/03 01:44:37 kris Exp $
#

PORTNAME=	gcc30
PORTVERSION=	3.0.4
PORTREVISION=	1
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR=	releases/gcc-${GCC_REV}
DISTFILES=	gcc-core-${GCC_REV}${EXTRACT_SUFX} \
		gcc-g++-${GCC_REV}${EXTRACT_SUFX} \
		gcc-g77-${GCC_REV}${EXTRACT_SUFX} \
		gcc-objc-${GCC_REV}${EXTRACT_SUFX}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	GNU Compiler Collection 3.0.

DEPRECATED=	"This port is no longer in use by anything in the ports collection and will be removed in the future.  Use a later release instead."
EXPIRATION_DATE=2006-12-01

NOT_FOR_ARCHS=	amd64 sparc64 ia64
LATEST_LINK=	gcc30

USE_BZIP2=	yes
INFO=		cpp cppinternals g77 gcc

PATCH_WRKSRC=	${SRCDIR}
CONFIGURE_SCRIPT=	../${SRCDIR:C/${WRKDIR}//}/configure

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500039
WITHOUT_CPU_CFLAGS= yes
.endif
.if ${OSVERSION} >= 500113
BROKEN=		"Does not compile"
.endif

.if ${PORTOBJFORMAT} == "elf"
CONFIGURE_TARGET=	${ARCH}-portbld-freebsd${OSREL}
.else
CONFIGURE_TARGET=	${ARCH}-portbld-freebsdaout${OSREL}
.endif

GCC_REV=	${PORTVERSION:C/\.0$//}
SRCDIR=		${WRKDIR}/gcc-${GCC_REV}
WRKSRC=		${WRKDIR}/build
TARGLIB=	${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}
PLIST_SUB=	GCC_REV=${GCC_REV} GNU_HOST=${CONFIGURE_TARGET}
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_BISON=	yes
CONFIGURE_ARGS=	--disable-nls --with-gnu-as --with-gnu-ld \
		--with-gxx-include-dir=${TARGLIB}/include/g++
CONFIGURE_ENV=	MAKEINFO="makeinfo --no-split"
.if defined(WANT_SHAREDLIBS)
CONFIGURE_ARGS+=--enable-shared
.else
CONFIGURE_ARGS+=--disable-shared
.endif
.if defined(WANT_THREADS_SUPPORT)
CONFIGURE_ARGS+=--enable-threads
#	?is this an ObjC only thing?
CONFIGURE_ARGS+=--enable-threads=posix
.endif
ALL_TARGET=	bootstrap
MAN1=		cpp30.1 g++30.1 g77-30.1 gcc30.1 gcov30.1
MAN7=		fsf-funding.7 gfdl.7 gpl.7

pre-everything::
	@@${ECHO_MSG} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT}	target ${ARCH}-portbld-freebsd${OSREL}"

pre-configure:
	@@# Keep from running `autoconf' and `autoheader' since we modified
	@@# configure.in by patching it.
	@@${TOUCH} ${SRCDIR}/gcc/configure
	@@${TOUCH} ${SRCDIR}/gcc/cstamp-h.in
	@@${MKDIR} ${CONFIGURE_WRKSRC}
	@@${RM} -f ${SRCDIR}/gcc/*/*.info*
.if ${OSVERSION} >= 500113
	@@${REINPLACE_CMD} -e 's/elf_i386/elf_i386_fbsd/g' \
	    ${SRCDIR}/gcc/config/i386/freebsd.h
.endif

pre-build:
	cd ${SRCDIR} ; contrib/gcc_update --touch

pre-install:
	${MKDIR} ${PREFIX}/info

post-install:
	@@${RM} -f ${PREFIX}/bin/c++ ${PREFIX}/bin/${CONFIGURE_TARGET}-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/${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 ; \
	do \
		${STRIP_CMD} $$prog ; \
	done )
.for file in gcc g++ cpp g++filt gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++
	${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}30
	-( ${TEST} -e ${PREFIX}/man/man1/${file}.1 \
		&& ${MV} -f ${PREFIX}/man/man1/${file}.1 \
		${PREFIX}/man/man1/${file}30.1 )
.endfor
.for file in g77
	${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-30
	${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-30.1
.endfor
	${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${PORTVERSION:C/\.0$//}
	# 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
	cd ${PREFIX} ;\
	    ${FIND} ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l	\
	    	>${WRKDIR}/PLIST.gcc-lib
	cd ${PREFIX} ;\
	    ${FIND} ${TARGLIB:S/^${PREFIX}\///} -type d \
	    	| ${SORT} -r | ${SED} -e 's/^/@@dirrm /g' \
		>>${WRKDIR}/PLIST.gcc-lib
	(${ECHO_CMD} "@@unexec rmdir %D/lib/gcc-lib/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@@unexec rmdir %D/lib/gcc-lib 2>&1 || true") >> ${WRKDIR}/PLIST.gcc-lib
	${ECHO_CMD} "r ${TMPPLIST}"		> ${WRKDIR}/ex.script
	${ECHO_CMD} "/Insert PLIST.gcc-lib"	>> ${WRKDIR}/ex.script
	${ECHO_CMD} "d"				>> ${WRKDIR}/ex.script
	${ECHO_CMD} "r ${WRKDIR}/PLIST.gcc-lib"	>> ${WRKDIR}/ex.script
	${ECHO_CMD} "x!"			>> ${WRKDIR}/ex.script
	${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-gcc-lib
	cd ${WRKDIR} ; ex < ex.script

.include <bsd.port.post.mk>
@


1.141
log
@Schedule for termination on 2006-12-01
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.140
log
@Remove USE_REINPLACE from the categories starting with L
@
text
@d24 1
@


1.139
log
@Revert last commit.  It is not possible (yet) to have the dirrmtry usage
in the post-install target.  Its usage must preceed generate-plist.

This problem needs to be revisited either in a rework of bsd.port.mk or
each of these Makefiles.

Hat:		portmgr
Pointy hat:	edwin`
@
text
@a40 1
USE_REINPLACE=	yes
@


1.138
log
@eplace ugly "@@unexec rmdir %D... 2>/dev/null || true" with @@dirrmtry

Approved by:    krion@@
PR:             ports/88711 (related)
@
text
@d137 1
a137 1
	(${ECHO_CMD} "@@dirrmtry lib/gcc-lib/${CONFIGURE_TARGET}" ; ${ECHO_CMD} "@@dirrmtry lib/gcc-lib") >> ${WRKDIR}/PLIST.gcc-lib
@


1.137
log
@Remove install-info from Makefile, it's automatically done when INFO is defined
@
text
@d137 1
a137 1
	(${ECHO_CMD} "@@unexec rmdir %D/lib/gcc-lib/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@@unexec rmdir %D/lib/gcc-lib 2>&1 || true") >> ${WRKDIR}/PLIST.gcc-lib
@


1.136
log
@use INFO macro
@
text
@a129 3
.for info in cpp cppinternals g77 gcc
	install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
.endfor
@


1.135
log
@If built on a machine with GCC 3.2 or later; assume the machine has CPUTYPE
set to something GCC 2.95 won't understand.
@
text
@d29 1
@


1.134
log
@Fix the 1st problem hit trying to build this on FBSD 5.x.
@
text
@d35 3
@


1.133
log
@This port doesn't have any Java bits.
@
text
@d37 1
d81 4
@


1.132
log
@Tidy up whitespace.
@
text
@d12 1
a12 1
CATEGORIES=	lang java
@


1.131
log
@This port is no longer in use by anything in the ports collection.  Mark
it DEPRECATED for future removal.
@
text
@d1 2
a2 2
# ex:ts=8 
# Ports collection makefile for:	egcs 
d36 1
a36 1
BROKEN=         "Does not compile"
d57 1
a57 1
CONFIGURE_ARGS+= --enable-shared
d59 1
a59 1
CONFIGURE_ARGS+= --disable-shared
d62 1
a62 1
CONFIGURE_ARGS+= --enable-threads
d64 1
a64 1
CONFIGURE_ARGS+= --enable-threads=posix
@


1.130
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 2)
@
text
@d23 2
@


1.129
log
@Use the SORT macro from bsd.port.mk.
@
text
@d11 1
a11 1
PORTREVISION=	0
@


1.128
log
@- ECHO -> ECHO_MSG

for some ports:
- ECHO -> ECHO_CMD
- pre-fetch -> pre-everything

PR:		ports/56800-56819
Submitted by:	KATO Tsuguru <tkato@@prontomail.com>
@
text
@d127 2
a128 1
	    	| sort -r | ${SED} -e 's/^/@@dirrm /g' >>${WRKDIR}/PLIST.gcc-lib
@


1.127
log
@Make portlint(1) happy by changing strip to ${STRIP_CMD}

Submitted by:	Oleg Karachevtsev <ok@@etrust.ru>
PR:		56998
@
text
@d68 2
a69 2
pre-fetch:
	@@${ECHO} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT}	target ${ARCH}-portbld-freebsd${OSREL}"
@


1.126
log
@BROKEN on 5.1: does not compile
@
text
@d98 1
a98 1
		strip $$prog ; \
@


1.125
log
@These older compilers don't support amd64, sparc64, and ia64.
@
text
@d33 4
@


1.124
log
@De-pkg-comment.
@
text
@d23 1
@


1.123
log
@Add the fsf-funding.7 gfdl.7 gpl.7 manpages.  IMO it is questionable
whether these should even be installed.
@
text
@d21 1
@


1.122
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@d60 1
@


1.121
log
@Use PORTCOMMENT in the Makefile, and whack the pkg-comment.

Approved by:	pat
@
text
@a21 2
PORTCOMMENT=	GNU Compiler Collection 3.0.

@


1.120
log
@The effort to maintain these for FreeBSD just isn't worth it with the lack
of reward.
@
text
@d22 2
@


1.119
log
@Use MASTER_SITES_GCC.

Approved by:	obrien (maintainer)
@
text
@d20 1
a20 1
MAINTAINER=	obrien@@FreeBSD.org
@


1.118
log
@Fix MASTER_SITES: gcc.gnu.org instead of egcs.cgynus.com, and also the
path was wrong).

Approved by:	obrien (maintainer+mentor)
@
text
@d13 2
a14 3
MASTER_SITES=	ftp://gcc.gnu.org/pub/%SUBDIR%/ \
		${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR=	gcc/releases/gcc-${GCC_REV}
@


1.117
log
@Remove Java from this port.  If you want to use GCC's Java you really want
to use GCC 3.1.  Also for some reason `gettext' 0.11.1 will not work after
gcc30 [w/Java] has been installed (PR 37361).
@
text
@d13 1
a13 1
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/releases/gcc-${GCC_REV}/  \
@


1.116
log
@Upgrade to version 3.0.4.
@
text
@a18 1
		gcc-java-${GCC_REV}${EXTRACT_SUFX} \
d113 1
a113 1
.for info in cpp cppinternals g77 gcc gcj
@


1.115
log
@Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.

Use command macros where appropriate.
@
text
@d10 1
a10 1
PORTVERSION=	3.0.3
d24 2
a26 2

LATEST_LINK=	gcc30
@


1.114
log
@Upgrade to version 3.0.3.
@
text
@d69 2
a70 2
	@@touch ${SRCDIR}/gcc/configure
	@@touch ${SRCDIR}/gcc/cstamp-h.in
d97 1
a97 1
	-( test -e ${PREFIX}/man/man1/${file}.1 \
d118 1
a118 1
	    find ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l	\
d121 1
a121 1
	    find ${TARGLIB:S/^${PREFIX}\///} -type d \
d123 6
a128 6
	(${ECHO} "@@unexec rmdir %D/lib/gcc-lib/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO} "@@unexec rmdir %D/lib/gcc-lib 2>&1 || true") >> ${WRKDIR}/PLIST.gcc-lib
	${ECHO} "r ${TMPPLIST}"			> ${WRKDIR}/ex.script
	${ECHO} "/Insert PLIST.gcc-lib"		>> ${WRKDIR}/ex.script
	${ECHO} "d"				>> ${WRKDIR}/ex.script
	${ECHO} "r ${WRKDIR}/PLIST.gcc-lib"	>> ${WRKDIR}/ex.script
	${ECHO} "x!"				>> ${WRKDIR}/ex.script
@


1.113
log
@Set these ports' LATEST_LINK to gcc{27,28,295,30} to avoid conflict
with each other's package link name.

(Maintainer timeout; I think it's too trivial to bother him with.)
@
text
@d10 1
a10 1
PORTVERSION=	3.0.2
@


1.112
log
@Utilize the PATCH_WRKDIR knob now that it exists.
@
text
@d26 2
@


1.111
log
@Update to 3.0.2.
@
text
@d26 1
a26 4
PATCH_ARGS=	-d ${SRCDIR} -E ${PATCH_STRIP}
.if !defined(PATCH_DEBUG)
PATCH_ARGS+=	--forward --quiet
.endif
@


1.110
log
@install/deinstall info entryies correctly (revision bump is not needed).
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc30/Makefile,v 1.109 2001/09/11 15:59:34 sf Exp $
d10 2
a11 2
PORTVERSION=	3.0.1
PORTREVISION=	1
@


1.109
log
@fix package:
unify info files rather than fixing pkg-plist at every future update.
remove %D/lib/gcc-lib/blah if empty.

Non-response from:	maintainer
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc30/Makefile,v 1.108 2001/08/30 19:12:04 obrien Exp $
d115 1
a115 1
.for info in cpp g77 gcc
@


1.108
log
@Update to 3.0.1.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc30/Makefile,v 1.107 2001/08/30 19:06:54 obrien Exp $
d11 1
d50 1
d73 1
d124 1
@


1.107
log
@Update to GCC 3.0.0.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc30/Makefile,v 1.106 2001/06/20 19:26:25 obrien Exp $
d10 1
a10 1
PORTVERSION=	3.0.0
d29 1
a29 2
GCC_REV=	${PORTVERSION:C/\.0$//}
CONFIGURE_SCRIPT=	../gcc-${GCC_REV}/configure
d39 1
@


1.106
log
@Majorly clean this port up.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc30/Makefile,v 1.105 2001/06/20 17:42:22 obrien Exp $
d9 2
a10 5
SNAPDATE=	2001-04-30
SNAPVER=	${SNAPDATE:S/-//g}

PORTNAME=	gcc-30snap
PORTVERSION=	${SNAPVER}
d12 1
a12 1
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/snapshots/${SNAPDATE}/  \
d14 6
a19 6
MASTER_SITE_SUBDIR=	gcc/snapshots/${SNAPDATE}
DISTFILES=	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}
d23 1
a23 1
NO_CDROM=	'dated material'
d29 2
a30 1
CONFIGURE_SCRIPT=	../gcc-${SNAPVER}/configure
d40 1
a40 2
EGCS_REV=	3.0
SRCDIR=		${WRKDIR}/gcc-${SNAPVER}
d42 2
a43 3
TARGLIB=	${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
PLIST_SUB=	EGCS_REV=${EGCS_REV} GNU_HOST=${CONFIGURE_TARGET}  \
		SNAPVER=${SNAPVER}
d84 6
a89 6
		${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}/cpp0 \
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/collect2 \
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/f771 ; \
d103 1
a103 1
	${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${SNAPVER}
@


1.105
log
@I missed a gcc30'ism when converting this from `gcc-devel'.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc30/Makefile,v 1.104 2001/06/02 19:12:03 obrien Exp $
d15 3
a17 6
MASTER_SITES=	ftp://ftp.freesoftware.com/pub/sourceware/gcc/snapshots/${SNAPDATE}/  \
		ftp://egcs.cygnus.com/pub/egcs/snapshots/${SNAPDATE}/  \
		ftp://ftp.ninemoons.com/pub/mirrors/egcs/snapshots/${SNAPDATE}/ \
		ftp://ftp.iij.ad.jp/pub/egcs/snapshots/${SNAPDATE}/ \
		ftp://ftp.yggdrasil.com/mirrors/site/egcs.cygnus.com/pub/egcs/snapshots/${SNAPDATE}/  \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/
a41 5
##WRKSRC=		${WRKDIR}/gcc-${SNAPVER}
##CONFIGURE_WRKSRC=	${WRKDIR}/build
##BUILD_WRKSRC=		${WRKDIR}/build
##INSTALL_WRKSRC=		${WRKDIR}/build
##CONFIGURE_SCRIPT=	${WRKSRC}/configure
a52 1
#CONFIGURE_ARGS+=	--program-prefix=e
d66 3
a69 3
	@@(MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
	    ${PERL} -pi.orig -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" \
	    ${SRCDIR}/gcc/config/freebsd.h )
a71 2
	##@@touch ${WRKSRC}/gcc/configure
	##@@touch ${WRKSRC}/gcc/cstamp-h.in
a74 1
	#${RM} -rf ${SRCDIR}/libjava
d83 1
a83 1
	@@${RM} -f ${PREFIX}/bin/c++
d97 10
a106 5
	${MV} -f ${PREFIX}/bin/gcc ${PREFIX}/bin/gcc30
	${MV} -f ${PREFIX}/bin/g++ ${PREFIX}/bin/g++30
	${MV} -f ${PREFIX}/bin/g77 ${PREFIX}/bin/g77-30
	${MV} -f ${PREFIX}/bin/g++filt ${PREFIX}/bin/g++filt30
	${MV} -f ${PREFIX}/bin/gcov ${PREFIX}/bin/gcov30
a107 2
	${RM} -f ${PREFIX}/bin/${GNU_HOST}-c++
	${RM} -f ${PREFIX}/bin/cpp
a112 5
	${MV} -f ${PREFIX}/man/man1/gcc.1 ${PREFIX}/man/man1/gcc30.1
	${MV} -f ${PREFIX}/man/man1/g++.1 ${PREFIX}/man/man1/g++30.1
	${MV} -f ${PREFIX}/man/man1/g77.1 ${PREFIX}/man/man1/g77-30.1
	${MV} -f ${PREFIX}/man/man1/cpp.1 ${PREFIX}/man/man1/cpp30.1
	${MV} -f ${PREFIX}/man/man1/gcov.1 ${PREFIX}/man/man1/gcov30.1
@


1.104
log
@Fix this port up so gcc30 can be used bsd.port.mk for when we return
to mixed compilers between -current and -stable.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc30/Makefile,v 1.103 2001/05/04 08:50:08 obrien Exp $
d12 1
a12 1
PORTNAME=	gcc-devel
@


1.103
log
@Upgrade to the 30-April-2001 edition GCC 2.97 development snapshot.
[and a sad day in history]
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.102 2001/03/24 01:40:08 obrien Exp $
d73 1
a73 1
MAN1=		gcpp.1 gg++.1 gg77.1 ggcc.1 ggcov.1
d109 5
a113 5
	${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/gcov ${PREFIX}/bin/ggcov
d122 5
a126 5
	${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
	${MV} -f ${PREFIX}/man/man1/gcov.1 ${PREFIX}/man/man1/ggcov.1
@


1.102
log
@Upgrade to the 20-March-2001 edition GCC 2.97 development snapshot.
[a nice friend's b-day at that :-)]
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.101 2001/03/11 04:46:54 obrien Exp $
d9 1
a9 1
SNAPDATE=	2001-03-20
d73 1
a73 1
MAN1=		gcpp.1 gg++.1 gg77.1 ggcc.1
d113 1
d126 1
@


1.101
log
@Fix version number.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.100 2001/03/06 23:55:37 obrien Exp $
d9 1
a9 1
SNAPDATE=	2001-03-05
@


1.100
log
@Upgrade to the 5-March-2001 edition GCC 2.97 development snapshot.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.99 2001/03/02 10:09:40 obrien Exp $
d50 1
a50 1
EGCS_REV=	2.97
@


1.99
log
@Fix nits in the auto lib-gcc PLIST generation.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.98 2001/02/14 20:52:38 obrien Exp $
d9 1
a9 1
SNAPDATE=	2001-02-05
@


1.98
log
@Upgrade to the 5-Feb-2001 edition GCC 2.97 development snapshot.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.97 2001/02/14 20:19:39 lioux Exp $
d125 3
a127 3
.if defined(WANT_SHAREDLIBS)
	${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
.endif
d132 5
a136 1
	    find ${TARGLIB} -type f -o -type l	>${WRKDIR}/PLIST.gcc-lib
@


1.97
log
@typo clean up police: \s -> \t
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.96 2000/12/27 02:22:16 obrien Exp $
d9 1
a9 1
SNAPDATE=	2000-12-25
d60 2
a61 1
		--with-gxx-include-dir=${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/include/g++
d86 1
a86 1
	${RM} -rf ${SRCDIR}/libjava
@


1.96
log
@Upgrade to the Christmas edition GCC 2.97 development snapshot.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.95 2000/12/21 23:50:36 obrien Exp $
d20 1
a20 1
 		ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/
@


1.95
log
@Upgrade to the 2000-12-18 GCC 2.97 development snapshot.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.94 2000/12/13 18:54:40 obrien Exp $
d9 1
a9 1
SNAPDATE=	2000-12-18
@


1.94
log
@Forgot to commit the bits that rm's the new libjava as it breaks the
GCC bootstrap.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.93 2000/12/13 02:26:23 obrien Exp $
d9 1
a9 1
SNAPDATE=	2000-12-11
a30 8
##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
d45 9
d108 5
a112 5
	${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}
d117 7
a123 10
	${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
d125 1
a125 2
	${MV} -f ${PREFIX}/lib/libstdc++.so*  \
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
d131 1
a131 2
	    find lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV} \
		-type f -o -type l >${WRKDIR}/PLIST.gcc-lib
@


1.93
log
@Upgrade to the 2000-12-11 GCC 2.97 development snapshot.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.92 2000/12/05 21:36:59 obrien Exp $
d84 1
@


1.92
log
@Change name of programs from e<program_name> to g<program_name>, since
e<program_name> conflicts with the egcs port.  I'm open to a better nameing
scheme.

Also change the shared libs configuring logic a little bit due to changed
way of doing it on libstdc++-v3, which this snapshot uses by default.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.91 2000/11/28 18:55:05 obrien Exp $
d9 1
a9 1
SNAPDATE=	2000-11-20
@


1.91
log
@Upgrade to the 2000-11-20 GCC 2.97 development snapshot.
This one should be using libstdc++ v3 and the new 3.0 C++ ABI now.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.90 2000/10/10 23:32:32 obrien Exp $
a36 1
LIBSTDCPP_REV=	4
d54 1
a54 1
		LIBSTDCPP_REV=${LIBSTDCPP_REV} SNAPVER=${SNAPVER}
d62 2
d71 1
a71 1
MAN1=		ecpp.1 eg++.1 eg77.1 egcc.1
d106 4
a109 4
	${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
d117 1
a117 1
	${MV} -f ${PREFIX}/lib/libstdc++.a.${LIBSTDCPP_REV}  \
a118 2
	cd ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV} ; \
		${LN} -sf libstdc++.a.${LIBSTDCPP_REV} libstdc++.a
d121 4
a124 4
	${MV} ${PREFIX}/man/man1/gcc.1 ${PREFIX}/man/man1/egcc.1
	${MV} ${PREFIX}/man/man1/g++.1 ${PREFIX}/man/man1/eg++.1
	${MV} ${PREFIX}/man/man1/g77.1 ${PREFIX}/man/man1/eg77.1
	${MV} ${PREFIX}/man/man1/cpp.1 ${PREFIX}/man/man1/ecpp.1
@


1.90
log
@Upgrade to the 2000-10-02 GCC 2.97 development snapshot.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.89 2000/09/15 23:43:47 obrien Exp $
d9 1
a9 1
SNAPDATE=	2000-10-02
d21 5
a25 5
DISTFILES=	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}
d31 5
d38 1
a38 1
SRCDIR=		${WRKDIR}/egcs-${SNAPVER}
d44 1
a44 1
CONFIGURE_SCRIPT=	../egcs-${SNAPVER}/configure
a75 1
	@@${CP} ${FILESDIR}/alpha-freebsd.h ${SRCDIR}/gcc/config/alpha/freebsd.h
d78 2
@


1.89
log
@Upgrade to the 2000-08-28 GCC 2.96 development snapshot.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.88 2000/09/05 16:59:09 obrien Exp $
d9 1
a9 1
SNAPDATE=	2000-08-28
d31 9
a39 3
EGCS_REV=	2.96
LIBSTDCPP_REV=	2.10.0
WRKSRC=		${WRKDIR}/egcs-${SNAPVER}
a66 4
pre-patch:
	@@${MV} ${WRKSRC}/gcc/config/i386/freebsd.h ${WRKSRC}/gcc/config/i386/freebsd-aout.h
	@@${MV} ${WRKSRC}/gcc/config/i386/freebsd-elf.h ${WRKSRC}/gcc/config/i386/freebsd.h

d70 2
a71 2
	    ${WRKSRC}/gcc/config/freebsd.h )
	@@${CP} ${FILESDIR}/alpha-freebsd.h ${WRKSRC}/gcc/config/alpha/freebsd.h
d74 3
a76 2
	@@touch ${WRKSRC}/gcc/configure
	@@touch ${WRKSRC}/gcc/cstamp-h.in
d79 1
a79 1
	cd ${WRKSRC} ; contrib/gcc_update --touch
d114 2
@


1.88
log
@Upgrade to the 2000-07-17 GCC 2.96 development snapshot.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.87 2000/05/06 22:47:08 obrien Exp $
d9 1
a9 1
SNAPDATE=	2000-07-17
d32 1
a32 1
LIBSTDCPP_REV=	4
d90 1
a90 1
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/cpp \
@


1.87
log
@Upgrade to the 2000-05-01 GCC 2.96 development snapshot.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.86 2000/04/14 17:15:19 obrien Exp $
d9 1
a9 1
SNAPDATE=	2000-05-01
d15 1
a15 1
MASTER_SITES=	ftp://ftp.freesoftware.com/pub/egcs/snapshots/${SNAPDATE}/  \
a30 2
.include <bsd.port.pre.mk>

d35 2
a37 3
.if ${MACHINE_ARCH} == "i386"
PLIST=		${WRKDIR}/PLIST
.endif
d43 2
a44 1
PLIST_SUB=	EGCS_REV=${EGCS_REV} GNU_HOST=${CONFIGURE_TARGET}
d47 2
a48 1
CONFIGURE_ARGS=	--with-gnu-as --with-gnu-ld \
d53 2
a54 1
.if defined(WANT_THREADS)
d59 1
a59 1
MAN1=		eg++.1 eg77.1 egcc.1
d67 2
a68 2
	${PERL} -pi.orig -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" \
		${WRKSRC}/gcc/config/freebsd.h )
a69 3
.if ${PORTOBJFORMAT} == "elf" && ${MACHINE_ARCH} == "i386"
	@@${SED} -e 's/^@@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
.endif
d75 3
d95 1
a95 1
	done)
d100 2
d103 2
d108 3
a110 1
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/libstdc++.a
d114 1
d122 10
@


1.86
log
@Upgrade to the 2000-04-10 GCC 2.96 development snapshot.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.85 2000/04/12 06:18:32 obrien Exp $
d9 1
a9 1
SNAPDATE=	2000-04-10
d33 1
a33 1
EGCS_REV=	${DISTNAME:S/gcc-//g}
d59 1
a59 1
MAN1=		cccp.1 eg++.1 eg77.1 egcc.1
@


1.85
log
@Convert to the PORTNAME - PORTVERSION syntax.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.84 2000/03/22 00:26:53 obrien Exp $
d9 1
a9 1
SNAPDATE=	2000-03-13
@


1.84
log
@Restore useless version required comments.
@
text
@a2 1
# Version required: 0.0
d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.83 2000/03/20 02:36:26 obrien Exp $
d12 2
a13 2
DISTNAME=	gcc-2.96
PKGNAME=	gcc-devel-${SNAPVER}
@


1.83
log
@Remove the "version required" line.
@
text
@d3 1
d7 1
a7 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.82 2000/03/19 08:43:50 obrien Exp $
@


1.82
log
@Upgrade to the 2000-03-13 GCC 2.96 development snapshot.
@
text
@a2 1
# Version required: 			1998-09-14
d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.81 2000/03/08 19:01:14 obrien Exp $
@


1.81
log
@Upgrade to the 2000-03-06 GCC 2.96 development snapshot.
@
text
@d7 1
a7 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.80 2000/03/08 02:20:59 obrien Exp $
d10 1
a10 1
SNAPDATE=	2000-03-06
@


1.80
log
@Upgrade to the 2000-02-21 GCC 2.96 development snapshot.
@
text
@d7 1
a7 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.79 2000/02/14 11:39:30 obrien Exp $
d10 1
a10 1
SNAPDATE=	2000-02-21
d16 2
a17 1
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/snapshots/${SNAPDATE}/  \
@


1.79
log
@Upgrade to the 2000-02-07 GCC 2.96 development snapshot.
@
text
@d7 1
a7 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.78 2000/01/17 12:27:54 obrien Exp $
d10 1
a10 1
SNAPDATE=	2000-02-07
a17 1
		ftp://ftp.nluug.nl/pub/languages/egcs/snapshots/${SNAPDATE}/ \
@


1.78
log
@Upgrade to the 2000-01-10 GCC 2.96 development snapshot.
@
text
@d7 1
a7 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.77 1999/11/15 02:02:34 obrien Exp $
d10 1
a10 1
SNAPDATE=	2000-01-10
@


1.77
log
@Update to the 1999-11-10 development snapshot.
@
text
@d7 1
a7 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.76 1999/11/03 11:41:47 obrien Exp $
d10 1
a10 1
SNAPDATE=	1999-11-10
a64 1
	@@${CP} ${WRKSRC}/gcc/config/t-openbsd-thread ${WRKSRC}/gcc/config/t-freebsd-thread
d68 2
a69 2
	${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" ${FILESDIR}/freebsd.h \
		>${WRKSRC}/gcc/config/freebsd.h )
@


1.76
log
@Update to the 1999-11-02 development snapshot.
@
text
@d7 1
a7 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.75 1999/11/01 07:39:11 obrien Exp $
d10 1
a10 1
SNAPDATE=	1999-11-02
@


1.75
log
@Update to the 1999-10-25 snapshot.
@
text
@d7 1
a7 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.74 1999/10/10 23:14:28 obrien Exp $
d10 1
a10 1
SNAPDATE=	1999-10-25
@


1.74
log
@Upgrade to the 1999-10-04 development snapshot.
@
text
@d7 1
a7 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.73 1999/10/10 20:28:31 obrien Exp $
d10 1
a10 1
SNAPDATE=	1999-10-04
d16 2
a17 2
MASTER_SITES=	ftp://go.cygnus.com/pub/sourceware.cygnus.com/pub/egcs/snapshots/${SNAPDATE}/ \
		ftp://egcs.cygnus.com/pub/egcs/snapshots/${SNAPDATE}/ \
d20 2
a21 2
 		ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/ \
		ftp://cambridge.cygnus.com/pub/egcs/snapshots/${SNAPDATE}/
a87 1
		${PREFIX}/bin/protoize ${PREFIX}/bin/unprotoize \
@


1.73
log
@Upgrade to the 1999-09-20 development snapshot.
@
text
@d7 1
a7 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.72 1999/08/25 06:34:35 obrien Exp $
d10 1
a10 1
SNAPDATE=	1999-09-20
@


1.72
log
@Change Id->FreeBSD.
@
text
@d7 1
a7 1
# $FreeBSD$
d10 1
a10 1
SNAPDATE=	1999-07-18
d13 1
a13 1
DISTNAME=	gcc-${SNAPVER}
d22 5
a26 6
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}
a29 1
BROKEN='Cygnus has yet to release a "HEAD" snapshot, post 2.95 release'
d36 1
d65 1
@


1.71
log
@Merge parts of the GCC-2.95 update, in preperation for the 1st post 2.95
snapshot.
Mark BROKEN until the next Cygnus snapshot.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.70 1999/07/20 15:30:50 obrien Exp $
@


1.70
log
@Update to the 1999-07-18 beta snapshot of GCC-2.95.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.69 1999/07/15 11:08:13 obrien Exp $
d13 3
a15 3
DISTNAME=	egcs-${SNAPVER}
PKGNAME=	egcs-devel-${SNAPVER}
CATEGORIES=	lang
d20 1
a20 1
		ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/ \
d22 6
a27 6
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}
d31 1
d36 1
a36 1
EGCS_REV=	gcc-2.95
d87 12
a98 11
	${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)
d103 1
@


1.69
log
@Upgrade to the July 12th GCC-2.95 prerelease.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.68 1999/07/06 07:29:37 obrien Exp $
d10 1
a10 1
SNAPDATE=	1999-07-12
d16 1
a16 1
MASTER_SITES=	ftp://go.cygnus.com/pub/ftp.cygnus.com/egcs/snapshots/${SNAPDATE}/ \
@


1.68
log
@Upgrade to the 1999-06-29 pre-GCC-2.95 snapshot.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.67 1999/07/04 21:49:26 steve Exp $
d10 1
a10 1
SNAPDATE=	1999-06-29
@


1.67
log
@Correct spelling in a comment.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.66 1999/07/04 20:55:43 obrien Exp $
d10 1
a10 1
SNAPDATE=	1999-06-23
d63 2
a64 3
	${MV} ${WRKSRC}/gcc/config/i386/freebsd.h ${WRKSRC}/gcc/config/i386/freebsd-aout.h
	${MV} ${WRKSRC}/gcc/config/i386/freebsd-elf.h ${WRKSRC}/gcc/config/i386/freebsd.h
	${CP} ${FILESDIR}/alpha-freebsd.h ${WRKSRC}/gcc/config/alpha/freebsd.h
d70 1
@


1.66
log
@Minor reorg of the dealing with `autoconf' and `autoheader' stuff.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.65 1999/06/24 19:11:49 obrien Exp $
d56 1
a56 1
#	?is his an ObjC only thing?
@


1.65
log
@Upgrade to the 19990623 GCC 2.95 pre-release snapshot.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.64 1999/06/21 18:17:51 obrien Exp $
a67 4
	@@# Keep from running `autoconf' and `autoheader' since we modified
	@@# configure.in by patching it.
	@@touch ${WRKSRC}/gcc/configure
	@@touch ${WRKSRC}/gcc/cstamp-h.in
d74 4
@


1.64
log
@Update to the 19990616 GCC 2.95-prerelease.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.63 1999/06/15 07:31:08 obrien Exp $
d10 1
a10 1
SNAPDATE=	1999-06-16
@


1.63
log
@Update to the 1999-06-08 (gcc 2.95 prerelease).
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.62 1999/06/10 14:31:08 simokawa Exp $
d10 1
a10 1
SNAPDATE=	1999-06-08
@


1.62
log
@Fix for alpha.
 - sync alpha-freebsd.h with /usr/src/contrib/egcs/gcc/config/alpha/freebsd.h
 - add patch for mkfixinc.sh
 - PLIST kludge
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.61 1999/06/05 22:30:28 mharo Exp $
d10 1
a10 1
SNAPDATE=	1999-05-24
a62 1
	${MV} ${WRKSRC}/gcc/config/i386/t-freebsd ${WRKSRC}/gcc/config/
@


1.61
log
@Remove the test to create ${PREFIX}/share/info/dir as it is now
in bsd.port.mk and this helps to unify the check and install.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.60 1999/05/26 10:26:19 obrien Exp $
d39 1
d41 1
@


1.60
log
@Upgrade to 19990524 gcc-2.95 prerelease.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.59 1999/05/24 17:13:47 obrien Exp $
a110 3
	if [ ! -f ${PREFIX}/info/dir ]; then \
	    ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
	fi
@


1.59
log
@Fix "EGCS_REV".
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.58 1999/05/18 18:15:33 obrien Exp $
d10 1
a10 1
SNAPDATE=	1999-05-17
d35 1
a35 1
EGCS_REV=	egcs-2.93.22
@


1.58
log
@Upgrade to the 19990517 snapshot.  EGCS is not in a feature freeze for the
upcoming 1.2 release.  Which, BTW, will be called GCC-2.95.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.57 1999/04/22 00:17:01 scrappy Exp $
d35 1
a35 1
EGCS_REV=	2.93.22
d52 4
@


1.57
log
@this should finish cleaning up the WWW_SITE -> DESCR/WWW: mess ...
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.56 1999/04/21 07:48:57 obrien Exp $
d10 1
a10 1
SNAPDATE=	1999-04-18
d35 1
a35 1
EGCS_REV=	egcs-2.93.19
@


1.56
log
@I give you the latest and greatest of the EGCS snapshot series.
This is their bleeding edge offering.  This will enable us to better track
the direction EGCS is going for future upgrades of /usr/contrib/egcs/.

Above ver 1.1.2, this offering gives you many C++ fixes/enhancements, *and*
a native Java compiler.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.35 1998/10/01 21:40:03 obrien Exp $
a29 2

WWW_SITE=	http://egcs.cygnus.com
@


1.55
log
@Mark this FORBIDDEN while DavidO works on an upgrade after a repo copy.
@
text
@d1 2
a2 2
# ex:ts=8
# Ports collection makefile for:	egcs
d7 1
a7 1
# $Id: Makefile,v 1.54 1999/04/08 19:05:43 billf Exp $
d10 5
a14 1
DISTNAME=	egcs-1.1.2
d16 12
a27 10
MASTER_SITES=	ftp://go.cygnus.com/pub/ftp.cygnus.com/egcs/releases/egcs-1.1.2/ \
		ftp://ftp.crc.ca/pub/packages/egcs/egcs-1.1.2/ \
		ftp://ftp.funet.fi/mirrors/ftp.cygnus.com/pub/egcs/releases/egcs-1.1.2/ \
		ftp://egcs.cygnus.com/pub/egcs/releases/egcs-1.1.2/ \
		ftp://ftp.nluug.nl/pub/languages/egcs/releases/egcs-1.1.2/ \
		ftp://ftp.iij.ad.jp/pub/egcs/releases/egcs-1.1.2/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/releases/egcs-1.1.2/ \
		ftp://cambridge.cygnus.com/pub/egcs/releases/egcs-1.1.2/
DISTFILES=	egcs-core-1.1.2${EXTRACT_SUFX} egcs-g++-1.1.2${EXTRACT_SUFX} \
		egcs-g77-1.1.2${EXTRACT_SUFX} egcs-objc-1.1.2${EXTRACT_SUFX}
d31 1
a31 3
WWW_SITE=	http://egcs.cygnus.com/

FORBIDDEN=	repository copy of lang/egcs, awaiting upgrade
d33 1
a33 1
USE_BZIP2=	yes
d37 2
a38 2
EGCS_REV=	egcs-2.91.66
LIBSTDCPP_REV=	2.9.0
a40 1
.if ${MACHINE_ARCH} == "i386"
a41 1
.endif
d56 1
a56 1
MAN1=		cccp.1 g++.1 g77.1 gcc.1
d59 4
a62 5
	@@${MV} ${WRKSRC}/gcc/config/i386/t-freebsd ${WRKSRC}/gcc/config/
	@@${MV} ${WRKSRC}/gcc/config/i386/freebsd.h ${WRKSRC}/gcc/config/i386/freebsd-aout.h
	@@${MV} ${WRKSRC}/gcc/config/i386/freebsd-elf.h ${WRKSRC}/gcc/config/i386/freebsd.h
	@@${CP} ${FILESDIR}/alpha-freebsd-elf.h ${WRKSRC}/gcc/config/alpha/freebsd-elf.h
	@@${CP} ${FILESDIR}/alpha-freebsd.h ${WRKSRC}/gcc/config/alpha/freebsd.h
d94 4
a97 2
	ln -f ${PREFIX}/bin/gcc ${PREFIX}/bin/egcc
	ln -f ${PREFIX}/bin/g++ ${PREFIX}/bin/eg++
d100 1
a100 1
	${MV} -f ${PREFIX}/lib/libstdc++.a  \
d102 3
@


1.54
log
@Proper URLs that reference directories end in '/'
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.53 1999/03/30 02:58:02 obrien Exp $
d26 2
@


1.53
log
@Don't fetch alpha suppliment -- the bits are now part of the port.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.52 1999/03/23 18:37:47 obrien Exp $
d25 1
a25 1
WWW_SITE=	http://egcs.cygnus.com
@


1.52
log
@Don't create empty ``PREFIX/info/dir''.  It is already taken care of for us.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.51 1999/03/22 01:35:36 obrien Exp $
a21 3
.if ${MACHINE_ARCH} == "alpha"
DISTFILES+=	egcs-freebsd-alpha-supplement${EXTRACT_SUFX}
.endif
@


1.51
log
@* Add support for ``-pthead''
* Add Alpha support

Obtained from:	Alpha bits taken from Hidetoshi Shimokawa's
                <simokawa@@FreeBSD.ORG> work
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.50 1999/03/17 00:40:25 obrien Exp $
a77 1
	${TOUCH} ${PREFIX}/info/dir
@


1.50
log
@Upgrade to 1.1.2 release.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.48 1999/03/08 07:28:27 asami Exp $
d58 1
d61 2
d69 3
a71 7
	@@(cd ${WRKSRC}/gcc/config/${ARCH}/ ; \
	MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
	${MV} freebsd-aout.h freebsd-aout.h.in ; \
	${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-aout.h.in \
		>freebsd-aout.h ; \
	${MV} freebsd.h freebsd.h.in ; \
	${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
@


1.49
log
@Commit all Y2K/WWW_SITE changes from today...
@
text
@d10 1
a10 2
DISTNAME=	egcs-1.1.2-pre2
PKGNAME=	egcs-1.1.2b2
d12 2
a13 5
MASTER_SITES=	ftp://go.cygnus.com/pub/ftp.cygnus.com/egcs/snapshots/egcs-1.1.2-prerelease/ \
		ftp://egcs.cygnus.com/pub/egcs/snapshots/egcs-1.1.2-prerelease/ \
		ftp://cambridge.cygnus.com/pub/egcs/snapshots/egcs-1.1.2-prerelease/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/egcs-1.1.2-prerelease/ \
		ftp://go.cygnus.com/pub/ftp.cygnus.com/egcs/releases/egcs-1.1.2/ \
d16 2
d20 5
d30 1
a30 1
#USE_BZIP2=	yes
d34 1
a34 1
EGCS_REV=	egcs-2.91.62
d38 1
d40 2
a41 1
GNUHOST=	${ARCH}-unknown-freebsd${OSREL}
d43 1
a43 1
GNUHOST=	${ARCH}-unknown-freebsdaout${OSREL}
d46 1
a46 1
PLIST_SUB=	EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
d49 2
a50 2
CONFIGURE_ARGS=	--with-gnu-as --with-gnu-ld ${GNUHOST} \
		--with-gxx-include-dir=${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}/include/g++
a53 1
CONFIGURE_TARGET=	# empty
d73 1
a73 1
.if ${PORTOBJFORMAT} == "elf"
d87 7
a93 7
	${PREFIX}/bin/${GNUHOST}-gcc \
	${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}/cc1 \
	${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}/cc1obj \
	${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}/cc1plus \
	${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}/cpp \
	${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}/collect2 \
	${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}/f771 ; \
d99 1
a99 1
		${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}
d101 1
a101 1
		${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}/libstdc++.a
d104 1
a104 1
		${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}
@


1.48
log
@Fix to make ports work with bsd.port.mk rev. 1.306.
${MACHINE_ARCH}--freebsd${OSREL} is now passed to CONFIGURE_ARGS if
GNU_CONFIGURE is defined.  Take the target out of CONFIGURE_ARGS of
some ports that added it explicitly; define it as
${MACHINE_ARCH}--freebsd if the port doesn't like the ${OSREL} part;
define it as something else (such as ${MACHINE_ARCH}--freebsdelf if
the port requires that; define it as an empty string if the port
doesn't like it at all.

The last might be a sign that a GNU_CONFIGURE port actually doesn't
use GNU's version of configure at all; but I don't have time to go
look at them all, we'll fix them as time goes on.

At least we've got much fewer "-unknown-"s in the tree as the result. :)
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.47 1999/02/28 12:18:36 obrien Exp $
d24 2
@


1.47
log
@Support building libstdc++ shared if "WANT_SHAREDLIBS" is defined.

Submitted by:	dfr
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.46 1999/02/28 10:50:50 obrien Exp $
d47 1
@


1.46
log
@Upgrade to egcs-1.1.2 pre-release-2
(if you are an EGCS user, please test this port.  I would like to get any
feedback before the 1.1.2 release)
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.45 1999/02/09 22:17:21 obrien Exp $
d44 3
d95 4
@


1.45
log
@* clean up verbosity of Makefile
* now GNUHOST is i386-unknown-freebsd{OS_VER} vs. i386-unknown-freebsd
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.44 1999/02/09 18:24:50 obrien Exp $
d10 2
a11 1
DISTNAME=	egcs-1.1.1
d13 9
a21 5
MASTER_SITES=	ftp://go.cygnus.com/pub/ftp.cygnus.com/egcs/releases/egcs-1.1.1/ \
		ftp://ftp.funet.fi/mirrors/ftp.cygnus.com/pub/egcs/releases/egcs-1.1.1/ \
		ftp://egcs.cygnus.com/pub/egcs/releases/egcs-1.1.1/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/releases/egcs-1.1.1/ \
		ftp://cambridge.cygnus.com/pub/egcs/releases/egcs-1.1.1/
d25 1
a25 1
USE_BZIP2=	yes
d29 1
a29 1
EGCS_REV=	egcs-2.91.60
d36 1
a36 2
#GNUHOST=	${ARCH}-unknown-freebsdaout${OSREL}
GNUHOST=	${ARCH}-unknown-freebsdaout
@


1.44
log
@GNUHOST is now "i386-unknown-freebsd" for an ELF machine, and
"i386-unknown-freebsdaout" for an a.out machine.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
d29 1
a29 2
#GNUHOST=	${ARCH}-unknown-freebsd${OSREL}
GNUHOST=	${ARCH}-unknown-freebsd
a45 4
	# If I touch configure.in in any way, the build scafolding wants to
	# run `autoconf' to regenerate `configure'.  I thought a simple `touch'
	# of `configure' would do the trick, but it didn't.
	##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
d50 2
a51 2
	touch ${WRKSRC}/gcc/configure
	touch ${WRKSRC}/gcc/cstamp-h.in
@


1.43
log
@Adjust port Makefiles to new EXTRACT_* variable defaults.  See log of
bsd.port.mk rev. 1.304 for details on the change.

The fix here is one of the following.

(1) Define USE_BZIP2 instead of BUILD_DEPENDS on bzip2 and redefining
    EXTRACT_* commands.

(2) Change ${EXTRACT_CMD} to ${TAR} when the command is obviously
    calling the "tar" command (i.e., arguments like "-xzf" are spelled
    out).

(3) If ${EXTRACT_CMD} is called directly with ${EXTRACT_BEFORE_ARGS},
    add ${EXTRACT_AFTER_ARGS} to the command line as well.

(4) If any of EXTRACT_CMD, EXTRACT_BEFORE_ARGS or EXTRACT_AFTER_ARGS
    is set, define the other two too.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
a28 3
#GNUHOST=	${ARCH}-unknown-freebsdelf${OSREL}
GNUHOST=	${ARCH}-unknown-freebsdelf
.else
d31 3
d44 8
d53 4
d59 3
d63 1
a63 3
	${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h ; \
	${MV} freebsd-elf.h freebsd-elf.h.in ; \
	${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
@


1.42
log
@Wasn't in the main dir when I commited this the first time.

Noticed by:	jdp
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.41 1998/12/05 04:00:40 obrien Exp $
a16 1
EXTRACT_SUFX=	.tar.bz2
d20 1
a20 1
BUILD_DEPENDS=  bzip2:${PORTSDIR}/archivers/bzip2
a23 3
EXTRACT_CMD=	bzip2
EXTRACT_BEFORE_ARGS=	-dc
EXTRACT_AFTER_ARGS=	| /usr/bin/tar -xf -
@


1.41
log
@Use the bzip2 version of the distfile.  It saves almost 3meg.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.40 1998/12/05 03:40:17 obrien Exp $
d32 1
d55 3
@


1.40
log
@EGCS 1.1.1 *Release* is out.
@
text
@d1 2
a2 2
# ex:ts=8 
# Ports collection makefile for:	egcs 
d7 1
a7 1
# $Id: Makefile,v 1.39 1998/12/04 11:05:05 obrien Exp $
d17 1
d21 2
d25 3
d57 1
a57 1
	touch ${PREFIX}/info/dir
@


1.39
log
@Add OSREL to tail end of ${ARCH}-unknown-freebsd to get a properly formed
GNU description string.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.38 1998/12/02 09:41:27 obrien Exp $
d10 1
a10 2
DISTNAME=	egcs-1.1.1-prerelease-3
PKGNAME=	egcs-1.1.1b3
d12 5
a16 4
MASTER_SITES=	ftp://go.cygnus.com/pub/ftp.cygnus.com/egcs/snapshots/1.1.1-prerelease/ \
		ftp://egcs.cygnus.com/pub/egcs/snapshots/1.1.1-prerelease/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/1.1.1-prerelease/ \
		ftp://cambridge.cygnus.com/pub/egcs/snapshots/1.1.1-prerelease/
d22 1
a22 1
EGCS_REV=	egcs-2.91.59
d26 2
a27 1
GNUHOST=	${ARCH}-unknown-freebsdelf${OSREL}
d29 2
a30 1
GNUHOST=	${ARCH}-unknown-freebsd${OSREL}
@


1.38
log
@"upgrade" to EGCS egcs-1.1.1-prerelease-3.
Note that the 1.1 versions are an older code base (egcs rev 2.91.x) vs.
the snapshot this is replacing (egcs rev 2.92.x).  However people have
reported less problems with 1.1.1-prerel than the current snapshots.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.35 1998/10/01 21:40:03 obrien Exp $
d26 1
a26 1
GNUHOST=	${ARCH}-unknown-freebsdelf
d28 1
a28 1
GNUHOST=	${ARCH}-unknown-freebsd
@


1.37
log
@switch to new pre/post bsd.port.mk
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.36 1998/11/13 07:32:21 obrien Exp $
d10 2
a11 2
DISTNAME=	egcs-19980914
PKGNAME=	egcs-19980914
d13 4
a16 3
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \
		ftp://cambridge.cygnus.com/pub/egcs/snapshots/1998-09-14/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/1998-09-14/
d22 1
a22 1
EGCS_REV=	egcs-2.92.07
d70 1
a70 1
	${MV} -f ${PREFIX}/lib/libstdc++.a.${LIBSTDCPP_REV}  \
@


1.36
log
@i386 => ${ARCH}

Requested by:   imp
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.35 1998/10/01 21:40:03 obrien Exp $
d19 2
d23 2
a24 2
ARE_WE_ELF!=	test -x /usr/bin/objformat && /usr/bin/objformat || echo aout
.if ${ARE_WE_ELF} == "elf"
d29 1
d78 1
a78 1
.include <bsd.port.mk>
@


1.35
log
@Allow building and packaging for ELF.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.33 1998/09/27 01:56:14 obrien Exp $
d23 1
a23 1
GNUHOST=	i386-unknown-freebsdelf
d25 1
a25 1
GNUHOST=	i386-unknown-freebsd
d36 1
a36 1
	@@(cd ${WRKSRC}/gcc/config/i386/ ; \
@


1.34
log
@Doesn't package due to PLUST_SUB/GNUHOST definition and bsd.port.mk
inclusion order.
@
text
@a18 2
BROKEN=		package

d21 6
a75 6

.if (${PORTOBJFORMAT} == "elf")
GNUHOST=	i386-unknown-freebsdelf
.else
GNUHOST=	i386-unknown-freebsd
.endif
@


1.33
log
@Build properly on ELF systems.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.31 1998/09/26 18:17:13 obrien Exp $
d18 2
@


1.32
log
@make fetchable
@
text
@a21 1
GNUHOST=	i386-unknown-freebsd
d70 6
@


1.31
log
@back to the snaps w/egcs-19980914
Submitted by:	jdp
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.30 1998/09/10 04:05:26 obrien Exp $
d13 3
a15 3
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/releases/${DISTNAME}/ \
		ftp://cambridge.cygnus.com/pub/egcs/releases/${DISTNAME}/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/releases/${DISTNAME}/
@


1.30
log
@Upgrade to 1.1b.
Since there has been announced a to-be ver 1.1.1, change my versioning to
a 4th "." to avoid "a"/"b" to avoid being mistaken for an alpha/beta vers.
@
text
@d3 1
a3 1
# Version required: 			1998-08-03
d7 1
a7 1
# $Id: Makefile,v 1.29 1998/09/04 18:56:55 obrien Exp $
d10 2
a11 2
DISTNAME=	egcs-1.1b
PKGNAME=	egcs-1.1.0.2
d19 2
a20 1
EGCS_REV=	egcs-2.91.57
d61 2
a62 2
	${MV} ${PREFIX}/lib/libstdc++.a  \
		${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}
@


1.29
log
@my goof.  fetch only egcs-1.1a.tar.gz, not the entire release/egcs-1.1a
directory.
Submitted by:	Werner Griessl <werner@@btp1da.phy.uni-bayreuth.de>
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.28 1998/09/03 08:49:10 obrien Exp $
d10 2
a11 2
DISTNAME=	egcs-1.1a
PKGNAME=	egcs-1.1.1
d13 3
a15 3
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/releases/egcs-1.1a/ \
		ftp://cambridge.cygnus.com/pub/egcs/releases/egcs-1.1a/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/releases/egcs-1.1a/
@


1.28
log
@egcs 1.1 HAS BEEN RELEASED!!
(I will probably not be tracking the snapshots as closely now.  I'd like to
see if 1.1 isn't stable enough to stay with for a while)

Cygnus calls this 1.1a (not Alpha, but a second rolling because a few G77
files were left out).   I'm naming this version 1.1.1 so people won't think
it is an alpha version.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.27 1998/08/26 09:51:15 obrien Exp $
d13 3
a15 3
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/releases/ \
		ftp://cambridge.cygnus.com/pub/egcs/releases/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/releases/
@


1.27
log
@* upgrade to 19980816 snapshot
* reduce maintance costs, advantage PLIST_SUB
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.26 1998/08/12 04:39:10 jdp Exp $
d10 2
a11 1
DISTNAME=	egcs-19980816
d13 3
a15 3
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-08-16/ \
		ftp://cambridge.cygnus.com/pub/egcs/snapshots/1998-08-16/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/1998-08-16/
d19 1
a19 1
EGCS_REV=	egcs-2.91.54
@


1.26
log
@Fix Version-required comment.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.25 1998/08/11 08:22:45 obrien Exp $
d10 1
a10 1
DISTNAME=	egcs-19980803
d12 3
a14 3
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-08-03/ \
		ftp://cambridge.cygnus.com/pub/egcs/snapshots/1998-08-03/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/1998-08-03/
d18 2
a19 1
EGCS_REV=	egcs-2.91.53
@


1.25
log
@Upgrade to the 19980803 snapshot.
@
text
@d3 1
a3 1
# Version required: 			1998-02-28 
d7 1
a7 1
# $Id: Makefile,v 1.24 1998/08/07 22:49:30 asami Exp $
@


1.24
log
@Make these ports (TenDRA, egcs, gcc28, glibstdc++28 and guavac, all
under lang) use ${OSREL} as defined in bsd.port.mk rev 1.281 and
1.227.2.43.

Note gcc28 is hopelessly broken, it uses an undefined variable
${GNUOSREL} and thus has an empty string wherever ${OSREL} should
be.  However, it's consistent with its own PLIST at the current state
so I haven't "fixed" it yet.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.23 1998/07/26 23:43:34 obrien Exp $
d10 1
a10 1
DISTNAME=	egcs-19980721
d12 3
a14 3
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-07-21/ \
		ftp://cambridge.cygnus.com/pub/egcs/snapshots/1998-07-21/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/1998-07-21/
d18 2
a19 4
EGCS_REV=	egcs-2.91.51
# XXX
#GNUHOST=	i386-unknown-freebsd${OSREL}
GNUHOST=	i386-unknown-freebsd${GNUOSREL}
d27 1
a27 1
post-patch:
@


1.23
log
@Upgrade to the 19980721 snap.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.22 1998/07/16 06:23:40 obrien Exp $
d19 2
@


1.22
log
@upgrade to the July 15th (19980715) snapshot
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.21 1998/07/06 10:17:09 obrien Exp $
d10 1
a10 1
DISTNAME=	egcs-19980715
d12 3
a14 3
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-07-15/ \
		ftp://cambridge.cygnus.com/pub/egcs/snapshots/1998-07-15/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/1998-07-15/
d18 1
a18 1
EGCS_REV=	egcs-2.91.50
@


1.21
log
@Upgrade to the 19980628 snapshot.

(note the 19980608 snapshot had major problems -- I'd suggest upgrading
if you are using this version)
@
text
@d1 5
a5 3
# ex:ts=8 New ports collection makefile for:	egcs Version required:
# 1998-02-28 Date created:		9 Jan 1998
# Whom:			John Polstra <jdp@@polstra.com>
d7 1
a7 1
# $Id: Makefile,v 1.20 1998/06/10 05:29:12 obrien Exp $
d10 1
a10 1
DISTNAME=	egcs-19980628
d12 3
a14 3
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-06-28/ \
		ftp://cambridge.cygnus.com/pub/egcs/snapshots/1998-06-28/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/1998-06-28/
d18 1
a18 1
EGCS_REV=	egcs-2.91.43
@


1.20
log
@upgrade to 19980608 snapshot
@
text
@d1 2
a2 4
# ex:ts=8
# New ports collection makefile for:	egcs
# Version required:	1998-02-21
# Date created:		9 Jan 1998
d5 1
a5 1
# $Id: Makefile,v 1.19 1998/05/20 08:59:30 obrien Exp $
d8 1
a8 1
DISTNAME=	egcs-19980608
d10 3
a12 3
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-06-08/ \
		ftp://cambridge.cygnus.com/pub/egcs/snapshots/1998-06-08/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/1998-06-08/
d16 1
a16 1
EGCS_REV=	egcs-2.91.40
d33 4
a53 2
	${MV} ${PREFIX}/lib/libf2c.a  \
		${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}
@


1.19
log
@+ Remove the MANUAL_PACKAGE_BUILD.
+ The C++ includes and gcc specific libs now live under gcc-lib/.....
+ don't install ``c++''
+ make links egcc and eg++
+ c++filt --> g++filt  to non conflict with stock version
+ clean up package dirs on ``pkg_delete''
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.18 1998/05/19 22:33:41 obrien Exp $
d10 1
a10 1
DISTNAME=	egcs-19980508
d12 3
a14 3
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-05-08/ \
		ftp://cambridge.cygnus.com/pub/egcs/snapshots/1998-05-08/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/1998-05-08/
d18 1
a18 1
EGCS_REV=	egcs-2.91.28
@


1.18
log
@Upgrade to 1998-05-08 snapshot version.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.17 1998/05/05 06:34:46 obrien Exp $
d18 2
a19 2
MANUAL_PACKAGE_BUILD=	installs libstdc++.a which conflicts with system version

d22 2
a23 1
CONFIGURE_ARGS=	--with-gnu-as --with-gnu-ld i386-unknown-freebsd
d29 5
a33 5
	MAJ=`sysctl -n kern.osreldate | sed -e '/.....$$/s///'` ; \
	mv freebsd.h freebsd.h.in ; \
	sed -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h ; \
	mv freebsd-elf.h freebsd-elf.h.in ; \
	sed -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
d36 4
a39 2
	@@(for prog in ${PREFIX}/bin/gcc ${PREFIX}/bin/g++ ${PREFIX}/bin/c++ \
	${PREFIX}/bin/c++filt ${PREFIX}/bin/g77 ${PREFIX}/bin/gcov \
d41 7
a47 7
	${PREFIX}/bin/i386-unknown-freebsd-gcc \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.28/cc1 \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.28/cc1obj \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.28/cc1plus \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.28/cpp \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.28/collect2 \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.28/f771 ; \
d50 8
@


1.17
log
@Upgrade to the May 2nd 1998 snapshot version.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.16 1998/04/14 10:17:27 obrien Exp $
d10 1
a10 1
DISTNAME=	egcs-19980502
d12 3
a14 3
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-05-02/ \
		ftp://cambridge.cygnus.com/pub/egcs/snapshots/1998-05-02/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/1998-05-02/
d39 6
a44 6
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.26/cc1 \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.26/cc1obj \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.26/cc1plus \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.26/cpp \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.26/collect2 \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.26/f771 ; \
@


1.16
log
@Upgrade to 980406 snapshot
Reviewed by:	my PITA ecs240 project
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.12 1998/03/17 21:10:40 jdp Exp $
d10 1
a10 1
DISTNAME=	egcs-980406
d12 3
a14 3
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-04-06/ \
		ftp://cambridge.cygnus.com/pub/egcs/snapshots/1998-04-06/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/1998-04-06/
d36 9
a44 8
	${PREFIX}/bin/c++filt ${PREFIX}/bin/info ${PREFIX}/bin/install-info \
	${PREFIX}/bin/makeinfo ${PREFIX}/bin/texindex \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.22/cc1 \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.22/cc1obj \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.22/cc1plus \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.22/cpp \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.22/collect2 \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.22/f771 ; \
@


1.15
log
@Used to build for me, now doesn't.  Bombs in making the stage2 compiler.
For now, use ``cvs co -regcs_102 egcs'' if you want a working version
before the next upgrade.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.14 1998/04/07 01:18:07 obrien Exp $
d10 1
a10 1
DISTNAME=	egcs-980315
d12 3
a14 3
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-03-15/ \
		ftp://cambridge.cygnus.com/pub/egcs/snapshots/1998-03-15/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/1998-03-15/
a17 2
BROKEN=	"used to build on my system, now doesn't.  use 'cvs co -regcs_102 egcs' if you want a working version before the next upgrade"

d36 8
a43 6
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.14/cc1 \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.14/cc1obj \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.14/cc1plus \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.14/cpp \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.14/f771 \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.14/ld ; \
@


1.14
log
@Upgrade to the 980315 snapshot.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.12 1998/03/17 21:10:40 jdp Exp $
d17 2
@


1.13
log
@Upgrade to version 1.0.2 release.
@
text
@d10 1
a10 1
DISTNAME=	egcs-1.0.2
d12 3
a14 3
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/releases/egcs-1.0.2/  \
		ftp://cambridge.cygnus.com/pub/egcs/releases/egcs-1.0.2/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/releases/egcs-1.0.2/
d36 6
a41 6
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.90.27/cc1 \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.90.27/cc1obj \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.90.27/cc1plus \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.90.27/cpp \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.90.27/f771 \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.90.27/ld ; \
@


1.12
log
@Fix the "Version required" comment.
@
text
@d1 1
d7 1
a7 1
# $Id: Makefile,v 1.11 1998/03/10 06:23:50 obrien Exp $
d10 1
a10 2
#	1998-03-08
DISTNAME=	egcs-980221
d12 3
a14 3
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-02-21/ \
		ftp://cambridge.cygnus.com/pub/egcs/snapshots/1998-02-21/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/1998-02-21/
d23 1
d36 6
a41 6
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.09/cc1 \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.09/cc1obj \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.09/cc1plus \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.09/cpp \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.09/f771 \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.09/ld ; \
@


1.11
log
@The private copy of float.h seems to have gone away.
@
text
@d2 1
a2 1
# Version required:	1998-02-05
d6 1
a6 1
# $Id: Makefile,v 1.10 1998/03/08 12:54:00 obrien Exp $
@


1.10
log
@Fix things so it packages.
Take over maintaince from jdp until after the 3.0 crunch is over.
Ok'ed by:	jdp
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.9 1998/02/23 01:52:52 jdp Exp $
d9 1
@


1.9
log
@Master site changed.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.8 1998/02/17 00:04:51 obrien Exp $
d9 1
a9 1
DISTNAME=	egcs-980205
d11 3
a13 3
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-02-05/ \
		ftp://cambridge.cygnus.com/pub/egcs/snapshots/1998-02-05/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/1998-02-05/
d15 1
a15 1
MAINTAINER=	jdp@@polstra.com
d34 6
a39 6
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.07/cc1 \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.07/cc1obj \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.07/cc1plus \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.07/cpp \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.07/f771 \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.91.07/ld ; \
@


1.8
log
@Forgot to submit PLIST diff.

Noticed by:	Satoshi
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.7 1998/02/16 09:18:13 asami Exp $
d11 1
a11 1
MASTER_SITES=	ftp://ftp.cygnus.com/pub/egcs/snapshots/1998-02-05/ \
@


1.7
log
@Mark this port broken, doesn't package.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.6 1998/02/14 04:18:22 obrien Exp $
a18 1
BROKEN=		package
@


1.6
log
@Upgrade to 1998-02-05 SNAP.  Fixes problems several have had with 1.0.1.
Including linking with the STL vector class.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.5 1998/02/03 07:48:35 asami Exp $
d19 1
@


1.5
log
@Add MANUAL_PACKAGE_BUILD, this port installs a "libstdc++.a" in
/usr/local/lib and that will cause the system gcc to be unhappy if
something is linked with -L/usr/local/lib.
@
text
@d2 1
a2 1
# Version required:	1.0.1
d6 1
a6 1
# $Id: Makefile,v 1.4 1998/01/23 17:49:35 jdp Exp $
d9 1
a9 1
DISTNAME=	egcs-1.0.1
d11 3
a13 3
MASTER_SITES=	ftp://ftp.cygnus.com/pub/egcs/releases/egcs-1.0.1/ \
		ftp://cambridge.cygnus.com/pub/egcs/releases/egcs-1.0.1/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/releases/egcs-1.0.1/
d24 7
a30 1
FME=${PREFIX}
d34 6
a39 6
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.90.23/cc1 \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.90.23/cc1obj \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.90.23/cc1plus \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.90.23/cpp \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.90.23/f771 \
	${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/egcs-2.90.23/ld ; \
@


1.4
log
@Make "-fsjlj-exceptions" (use setjmp/longjmp for exceptions) the
default for FreeBSD.  The standard exception implementation reliably
dumps core under FreeBSD.  Users can put "-fno-sjlj-exceptions" on
the command line if they really want to override the new default.

Configure with "--with-gnu-as" and "--with-gnu-ld".

Define "__FreeBSD__" as 3.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
d16 2
@


1.3
log
@Strip the binaries.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
d19 1
a19 1
CONFIGURE_ARGS=	i386-unknown-freebsd
@


1.2
log
@sed -> ${SED}.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1998/01/10 21:40:09 jdp Exp $
d22 2
d25 9
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
d24 1
a24 1
	    sed -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
@


1.1.1.1
log
@This is a new port for egcs, which probably stands for something
like "enhanced GNU compiler suite."  It contains updated versions of
gcc, g++, and g77 with many bugfixes and some new optimizations.
The C++ compiler in particular is vastly improved over gcc-2.7.2.1.
@
text
@@
