head	1.155;
access;
symbols
	RELEASE_5_4_0:1.153
	RELEASE_4_11_0:1.150
	RELEASE_5_3_0:1.146
	RELEASE_4_10_0:1.145
	RELEASE_5_2_1:1.141
	RELEASE_5_2_0:1.141
	RELEASE_4_9_0:1.139
	RELEASE_5_1_0:1.139
	RELEASE_4_8_0:1.138
	RELEASE_5_0_0:1.137
	RELEASE_4_7_0:1.131
	RELEASE_4_6_2:1.121
	RELEASE_4_6_1:1.121
	RELEASE_4_6_0:1.121
	RELEASE_5_0_DP1:1.116
	old_egcs_20020128:1.107
	old_RELEASE_4_5_0:1.105
	old_RELEASE_4_4_0:1.104
	old_egcs_20010430:1.106
	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.155
date	2005.07.31.13.34.35;	author gerald;	state dead;
branches;
next	1.154;

1.154
date	2005.07.27.22.19.08;	author gerald;	state Exp;
branches;
next	1.153;

1.153
date	2005.03.20.17.53.04;	author adamw;	state Exp;
branches;
next	1.152;

1.152
date	2005.02.13.21.53.39;	author krion;	state Exp;
branches;
next	1.151;

1.151
date	2005.01.13.21.19.50;	author obrien;	state Exp;
branches;
next	1.150;

1.150
date	2005.01.02.01.00.40;	author kris;	state Exp;
branches;
next	1.149;

1.149
date	2004.12.11.04.00.50;	author obrien;	state Exp;
branches;
next	1.148;

1.148
date	2004.11.27.23.38.41;	author obrien;	state Exp;
branches;
next	1.147;

1.147
date	2004.11.26.00.28.11;	author kris;	state Exp;
branches;
next	1.146;

1.146
date	2004.05.13.09.05.40;	author kris;	state Exp;
branches;
next	1.145;

1.145
date	2004.04.10.17.26.41;	author trevor;	state Exp;
branches;
next	1.144;

1.144
date	2004.03.14.03.22.00;	author kris;	state Exp;
branches;
next	1.143;

1.143
date	2004.02.04.05.21.36;	author marcus;	state Exp;
branches;
next	1.142;

1.142
date	2004.01.22.11.05.58;	author trevor;	state Exp;
branches;
next	1.141;

1.141
date	2003.09.27.00.50.07;	author edwin;	state Exp;
branches;
next	1.140;

1.140
date	2003.09.24.09.36.53;	author osa;	state Exp;
branches;
next	1.139;

1.139
date	2003.05.09.05.34.06;	author obrien;	state Exp;
branches;
next	1.138;

1.138
date	2003.02.20.18.37.58;	author knu;	state Exp;
branches;
next	1.137;

1.137
date	2002.12.03.23.21.14;	author obrien;	state Exp;
branches;
next	1.136;

1.136
date	2002.12.03.04.35.07;	author obrien;	state Exp;
branches;
next	1.135;

1.135
date	2002.11.10.16.46.51;	author lioux;	state Exp;
branches;
next	1.134;

1.134
date	2002.11.06.22.45.48;	author adamw;	state Exp;
branches;
next	1.133;

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

1.132
date	2002.10.19.18.55.52;	author knu;	state Exp;
branches;
next	1.131;

1.131
date	2002.09.18.14.43.03;	author obrien;	state Exp;
branches;
next	1.130;

1.130
date	2002.09.14.16.57.47;	author sobomax;	state Exp;
branches;
next	1.129;

1.129
date	2002.09.14.13.32.02;	author sobomax;	state Exp;
branches;
next	1.128;

1.128
date	2002.08.02.14.54.20;	author obrien;	state Exp;
branches;
next	1.127;

1.127
date	2002.07.31.12.10.17;	author gerald;	state Exp;
branches;
next	1.126;

1.126
date	2002.07.08.18.10.23;	author obrien;	state Exp;
branches;
next	1.125;

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

1.124
date	2002.06.22.20.26.51;	author obrien;	state Exp;
branches;
next	1.123;

1.123
date	2002.06.02.07.09.12;	author obrien;	state Exp;
branches;
next	1.122;

1.122
date	2002.05.28.03.00.12;	author obrien;	state Exp;
branches;
next	1.121;

1.121
date	2002.05.11.06.40.54;	author obrien;	state Exp;
branches;
next	1.120;

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

1.119
date	2002.04.29.20.55.22;	author obrien;	state Exp;
branches;
next	1.118;

1.118
date	2002.04.24.14.43.13;	author obrien;	state Exp;
branches;
next	1.117;

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

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

1.115
date	2002.03.20.00.35.28;	author obrien;	state Exp;
branches;
next	1.114;

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

1.113
date	2002.03.11.09.25.20;	author obrien;	state Exp;
branches;
next	1.112;

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

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

1.110
date	2002.03.02.18.53.57;	author obrien;	state Exp;
branches;
next	1.109;

1.109
date	2002.02.10.11.16.51;	author obrien;	state Exp;
branches;
next	1.108;

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

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

1.106
date	2002.01.29.11.24.07;	author knu;	state Exp;
branches;
next	1.105;

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

1.104
date	2001.08.15.16.54.42;	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.155
log
@Remove the lang/gcc31 port.  It fails to build on several architectures
(even ones it is supposed to work on, cf. pointyhat), it fails to build
on FreeBSD 6 and 7, and lang/gcc32 is basically the same plus a single
ABI changes and many bug fixes.

It is strongly recommended to migrate to GCC 3.4 or 4.0, since only these
are still actively maintained upstream and support FreeBSD 7, for example.
@
text
@# ex:ts=8
# Ports collection makefile for:	egcs
# Date created:				9 Jan 1998
# Whom:					John Polstra <jdp@@polstra.com>
#
# $FreeBSD: ports/lang/gcc31/Makefile,v 1.154 2005/07/27 22:19:08 gerald Exp $
#

SNAPDATE=	2002-09-09
SNAPVER=	${SNAPDATE:S/-//g}

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

PATCH_SITES=	ftp://relay.nuxi.com/obrien/
PATCHFILES=	port_gcc31_${SNAPDATE}.diff

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

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"

ONLY_FOR_ARCHS=	i386 sparc64
NO_CDROM=	'dated material'
LATEST_LINK=	gcc31

USE_BZIP2=	yes
USE_REINPLACE=	yes

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

.ifdef USE_GCC
.error You have `USE_GCC' variable defined either in environment or in make(1) arguments. Please undefine and try again.
.endif

# Do not let USE_GCC be set here. We can't hardcode that gcc31 should require
# gcc31 in order to build. Setting USE_GCC at all here causes recursion errors
# when it clobbers the USE_GCC defined by other ports.
.undef USE_GCC

NOMANCOMPRESS=	yes	# to hard to deal with differences on 5-cur and releng4

.include <bsd.port.pre.mk>

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

GCC_REV=	${PORTVERSION:C/\.0$//}
#SRCDIR=		${WRKDIR}/gcc-${GCC_REV}
SRCDIR=		${WRKDIR}/gcc-${PORTVERSION}
WRKSRC=		${WRKDIR}/build
TARGLIB=	${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}
PLIST_SUB=	GCC_REV=${GCC_REV} GNU_HOST=${CONFIGURE_TARGET}  \
		SNAPVER=${PORTVERSION}
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++-v3
#CONFIGURE_ARGS+=	--program-suffix=31
#	Java
CONFIGURE_ARGS+=	--with-system-zlib --includedir=${TARGLIB}/include/Java
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=		cpp31.1 g++31.1 gcc31.1 gcov31.1
MAN7=		fsf-funding.7 gfdl.7 gpl.7

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

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*
	@@${REINPLACE_CMD} -e 's/elf_x86_64/elf_x86_64_fbsd/g' \
	    ${SRCDIR}/gcc/config/i386/freebsd64.h

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/gcov \
		${PREFIX}/bin/${CONFIGURE_TARGET}-gcc \
		${TARGLIB}/cc1 ${TARGLIB}/cc1obj ${TARGLIB}/cc1plus \
		${TARGLIB}/cpp0 ${TARGLIB}/collect2 ; \
	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}31
	( ${TEST} ! -e ${PREFIX}/man/man1/${file}.1 \
		|| ${MV} -f ${PREFIX}/man/man1/${file}.1 \
		${PREFIX}/man/man1/${file}31.1 )
.endfor
	${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${PORTVERSION}
	# These 3 libraries are moved from PREFIX/lib to avoid conflicts
	# 	with the stock compiler.
.for file in libstdc++ libsupc++ libobjc
	${MV} -f ${PREFIX}/lib/${file}.* ${TARGLIB}
.endfor
	-${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
	${RM} -f ${PREFIX}/lib/libiberty.a
	${RM} -f ${TARGLIB}/*.la
# I am sick and tired of this .info shit, makeinfo --no-split isn't working
	@@cd ${PREFIX}/info ; ${RM} -f cpp.* cppinternals.* gcc.* gccint.*
#.for info in cpp cppinternals gcc
#	install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
#.endfor
# I am sick and tired of the anonyance that man pages can only be generated if
# perl 5.6 is installed.  This is becoming a royal PITA on non-5-CURRENT systems
.for mp in ${_MANPAGES}
	( ${TEST} -e ${mp} && ${TOUCH} ${TOUCH_FLAGS} ${mp} )
.endfor
	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

cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/                                   ftp://mirrors.rcn.net/mirrors/sources.redhat.com/gcc/snapshots/
	@@-ncftpls ${SITE} | grep LATEST
.endfor

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


1.154
log
@Remove duplicate PORTREVISION.

Reported by:	flz
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.153
log
@It was discovered that running "make clean" from a port with a dependency
on gcc31 or gcc32 (either with a BUILD_DEPENDS or via USE_GCC) with that
version of gcc already installed causes infinite recursion problems.

The issue stems from gcc31 and gcc32 using USE_GCC internally. Internally,
it was used to override any other definition and say that you can use any
gcc version to build gcc31/gcc32. But that USE_GCC redefinition was causing
recursion errors, so handle the problem instead by just simply undefining
USE_GCC inside the gcc port Makefile itself.

This should make things happy again.
@
text
@a13 1
PORTREVISION=	1
@


1.152
log
@Handle USE_GCC properly and exchange its value 'X' with an actual
version number.
@
text
@d45 5
a49 2
# do not require Gcc 3.1 to compile -- or we have an infinate loop on RELENG_4.
USE_GCC=	2.7+
@


1.151
log
@Fix one bug about bootstraping on FreeBSD/amd64.
@
text
@d46 1
a46 1
USE_GCC=	X
@


1.150
log
@Does not compile on alpha.  Since it's unlikely anyone is going to fix
these old compilers, drop alpha from the supported arch list.  Flip over
from NOT_FOR_ARCHS to ONLY_FOR_ARCHS where used, since these ports will
not support any future architectures FreeBSD runs on.

Approved by:	portmgr (self)
@
text
@d36 1
d97 2
@


1.149
log
@Remove a reference to two FORTRAN libraries that I missed in rev 1.148.
@
text
@d31 1
a31 1
NOT_FOR_ARCHS=	amd64 ia64
@


1.148
log
@Unbreak the port by remove the Java language from this port.  Anyone using
GCC 3.1 isn't using it for the Java compiler, but for C/C++ code.  Same
for FORTRAN77.  The Java bits also don't compile on FreeBSD/sparc64.
@
text
@d123 1
a123 1
.for file in libstdc++ libsupc++ libg2c libfrtbegin libobjc
@


1.147
log
@BROKEN: Broken pkg-plist
@
text
@d16 1
a16 1
CATEGORIES=	lang java
a20 2
		gcc-g77-${PORTVERSION}${EXTRACT_SUFX} \
		gcc-java-${PORTVERSION}${EXTRACT_SUFX} \
d27 1
a27 3
COMMENT=	GNU Compiler Collection 3.1 (inprogress version)

BROKEN=		Broken pkg-plist
a49 4
.if ${ARCH} == "sparc64"
BROKEN=		"Install fails on sparc64"
.endif

d83 1
a83 3
MAN1=		cpp31.1 g++31.1 g77-31.1 gcc31.1 gcov31.1 \
		gcj31.1 gcjh31.1 gij.1 \
		jcf-dump31.1 jv-scan31.1 jv-convert.1
d107 1
a107 1
		${PREFIX}/bin/g++filt ${PREFIX}/bin/g77 ${PREFIX}/bin/gcov \
d110 1
a110 1
		${TARGLIB}/cpp0 ${TARGLIB}/collect2 ${TARGLIB}/f771 ; \
d114 1
a114 1
.for file in gcc g++ cpp g++filt gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++ gcj gcjh jv-scan jcf-dump jar grepjar
a119 6
.for file in g77
	${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-31
	( ${TEST} ! -e ${PREFIX}/man/man1/${file}.1 \
		|| ${MV} -f ${PREFIX}/man/man1/${file}.1 \
		${PREFIX}/man/man1/${file}-31.1 )
.endfor
a126 2
	# Java
	cd ${PREFIX}/lib ; ${MV} -f libgcj.* ${TARGLIB}
d130 2
a131 2
	@@cd ${PREFIX}/info ; ${RM} -f cpp.* cppinternals.* g77.* gcc.* gccint.* gcj.*
#.for info in cpp cppinternals g77 gcc gcj
@


1.146
log
@BROKEN on sparc64: Install fails (trying to install missing java support)
@
text
@d31 2
@


1.145
log
@Tidy up whitespace.
@
text
@d52 4
@


1.144
log
@DEPRECATE the unused, outdated gcc28 and gcc31 ports for removal at a future date.
@
text
@d1 2
a2 2
# ex:ts=8 
# Ports collection makefile for:	egcs 
d31 1
a31 1
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"
d75 1
a75 1
CONFIGURE_ARGS+= --enable-shared
d77 1
a77 1
CONFIGURE_ARGS+= --disable-shared
d80 1
a80 1
CONFIGURE_ARGS+= --enable-threads
d82 1
a82 1
CONFIGURE_ARGS+= --enable-threads=posix
d168 1
a168 1
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/                                   ftp://mirrors.rcn.net/mirrors/sources.redhat.com/gcc/snapshots/	
@


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

(Part 2)
@
text
@d31 2
@


1.142
log
@Use the SORT macro from bsd.port.mk.
@
text
@d14 1
@


1.141
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
@d153 2
a154 1
	    	| sort -r | ${SED} -e 's/^/@@dirrm /g' >>${WRKDIR}/PLIST.gcc-lib
@


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

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


1.139
log
@These older compilers don't support amd64, sparc64, and ia64.
@
text
@d113 1
a113 1
		strip $$prog ; \
@


1.138
log
@De-pkg-comment.
@
text
@d30 1
@


1.137
log
@Use the most modern spelling of egcs.cygnus.com.
@
text
@d28 1
@


1.136
log
@Fix cklatest paths.

Reported by:	gerald
Approved by:	kris
@
text
@d162 1
a162 1
.for SITE in ftp://mirrors.rcn.net/mirrors/sources.redhat.com/gcc/snapshots/	ftp://sources.redhat.com/pub/gcc/snapshots/
@


1.135
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
@d162 1
a162 1
.for SITE in ftp://mirrors.rcn.net/mirrors/sources.redhat.com/gcc/snapshots/	ftp://egcs.cygnus.com/pub/gcc/snapshots/
@


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

Approved by:	pat
@
text
@a28 2
PORTCOMMENT=	GNU Compiler Collection 3.1 (inprogress version)

@


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


1.132
log
@Use MASTER_SITES_GCC.

Approved by:	obrien (maintainer)
@
text
@d27 1
a27 1
MAINTAINER=	obrien@@FreeBSD.org
@


1.131
log
@Total hack to allow gcc31 to build on -CURRENT.

This hack makes gcc totally use our stock headers vs. the fixinc'ed ones.
There is probably zero chance of getting this fixed in the FSF/GCC CVS
repository, as the 3.1 branch is offically closed.
@
text
@d16 2
a17 3
MASTER_SITES=	${MASTER_SITE_SOURCEWARE} \
		ftp://gcc.gnu.org/pub/%SUBDIR%/
MASTER_SITE_SUBDIR=	gcc/releases/gcc-3.1.1
d53 1
a53 2
#GCC_REV=	${PORTVERSION:C/\.0$//}
GCC_REV=	3.1.1
@


1.130
log
@Fix breakage introduced in previous commit.

Submitted by:	"Dan Langille" <dan@@langille.org>
@
text
@d9 1
a9 1
SNAPDATE=	2002-07-26
@


1.129
log
@Due to popular demant into each port which might be inserted into dependency
list by bsd.port.mk insert anti foot-shooting device, which prevents
infinite fork loop when the user defines corresponding USE_XXX in global
make.conf, command line or environment.

Similar devices should probably be inserted into ports that might be inserted
into dependency list by others bsd.foo.mk files (bsd.ruby.mk, bsd.python.mk
and so on.)
@
text
@d37 5
a85 4

.ifdef USE_GCC
.error You have `USE_GCC' variable defined either in environment or in make(1) arguments. Please undefine and try again.
.endif
@


1.128
log
@Upgrade to the official GCC 3.1.1 release.
This will be the last release on the GCC 3.1 branch.
@
text
@d82 4
@


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

Approved by:	obrien (maintainer+mentor)
@
text
@d9 1
a9 1
SNAPDATE=	2002-07-01
d18 6
a23 7
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}
d43 2
a44 2
.if ${PORTOBJFORMAT} == "elf"
CONFIGURE_TARGET=	${ARCH}-portbld-freebsd${OSREL}
d46 1
a46 1
CONFIGURE_TARGET=	${ARCH}-portbld-freebsdaout${OSREL}
d52 1
a52 1
SRCDIR=		${WRKDIR}/gcc-${SNAPVER}
d56 1
a56 1
		SNAPVER=${SNAPVER}
d61 1
a61 1
		--with-gxx-include-dir=${TARGLIB}/include/g++
d63 2
a64 1
CONFIGURE_ARGS+=	--disable-libgcj	# does not bootstrap now
a84 9
.if defined(NETWINDER_SS)
post-extract:
.for F in ${DISTFILES}
	cd ${WRKDIR} ; rpm2cpio ${DISTDIR}/$F |cpio -idum
.endfor
	cd ${WRKDIR} ; ${TAR} -xzf gcc-${SNAPVER}.tar.gz
	cd ${WRKDIR} ; ${LN} -sf gcc gcc-${SNAPVER}
.endif

d122 1
a122 1
	${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${SNAPVER}
d129 2
@


1.126
log
@Upgrade to the 1-July-2002 GCC 3.1.1 pre-release snapshot.
Note that with this update we loose the .info files.
I am sick and tired of dealing with them and most of all makeinfo --no-split
isn't working.
@
text
@d16 2
a17 2
MASTER_SITES=	${MASTER_SITE_SOURCEWARE}  \
		ftp://egcs.cygnus.com/pub/gcc/snapshots/${SNAPDATE}/
@


1.125
log
@Do not require Gcc 3.1 to compile -- or we have an infinate loop on RELENG_4.

Problem Reported by:	Oliver Brandmueller <ob@@e-Gitt.NET>
@
text
@d9 1
a9 1
SNAPDATE=	2002-06-17
a35 8
.if defined(NETWINDER_SS)
BUILD_DEPENDS=	rpm:${PORTSDIR}/archivers/rpm

EXTRACT_CMD=		rpm2cpio
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS=	|cpio -idum
EXTRACT_ONLY=
.endif
d40 1
d63 1
a63 1
#CONFIGURE_ARGS+=	--program-prefix=e
d77 4
a80 4
#MAN1=		cpp31.1 g++31.1 g77-31.1 gcc31.1 gcov31.1 \
#		gcj31.1 gcjh31.1 gij.1 \
#		jcf-dump31.1 jv-scan31.1 jv-convert.1
#MAN7=		fsf-funding.7 gfdl.7 gpl.7
d121 2
a122 2
	-( ${TEST} -e ${PREFIX}/man/man1/${file}.1 \
		&& ${MV} -f ${PREFIX}/man/man1/${file}.1 \
d127 3
a129 3
	-( ${TEST} -e ${PREFIX}/man/man1/${file}.1 \
		&& ${MV} -f ${PREFIX}/man/man1/${file}.1 \
		${PREFIX}/man/man1/${file}-31.1
d140 2
d145 5
@


1.124
log
@Upgrade to the 17-June-2002 GCC 3.1.1 pre-release snapshot.
@
text
@d46 2
@


1.123
log
@Upgrade to the 27-May-2002 GCC 3.1.1 pre-release snapshot.
@
text
@d9 1
a9 1
SNAPDATE=	2002-05-27
d17 1
a17 1
		ftp://egcs.cygnus.com/pub/egcs/snapshots/${SNAPDATE}/
d164 3
a166 3
	ncftpls \
	    ftp://mirrors.rcn.net/mirrors/sources.redhat.com/gcc/snapshots/  \
	    | grep LATEST
@


1.122
log
@Upgrade to the 21-May-2002 GCC 3.1.1 pre-release snapshot.
@
text
@d9 1
a9 1
SNAPDATE=	2002-05-21
d13 1
a13 1
PORTVERSION=	3.1
a16 1
		ftp://ftp.netwinder.org/pub/build/gcc/i386/${SNAPVER}/ \
a24 1
#		gcc-ss-3.1-0_${SNAPVER}.src.rpm
d56 1
a56 1
GCC_REV=	3.1
@


1.121
log
@Upgrade to the 6-May-2002 GCC 3.1 pre-release snapshot.
@
text
@d9 1
a9 1
SNAPDATE=	2002-05-06
d84 4
a87 4
MAN1=		cpp31.1 g++31.1 g77-31.1 gcc31.1 gcov31.1 \
		gcj31.1 gcjh31.1 gij.1 \
		jcf-dump31.1 jv-scan31.1 jv-convert.1
MAN7=		fsf-funding.7 gfdl.7 gpl.7
d90 1
a90 1
	@@${ECHO} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT}	target ${ARCH}-portbld-freebsd${OSREL}"
d134 3
a136 1
	${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-31.1
@


1.120
log
@Upgrade to the 29-April-2002 GCC 3.1 pre-release snapshot.
@
text
@d9 1
a9 1
SNAPDATE=	2002-04-29
@


1.119
log
@Upgrade to the 22-April-2002 GCC 3.1 pre-release snapshot.
@
text
@d9 1
a9 1
SNAPDATE=	2002-04-22
@


1.118
log
@Upgrade to the Tax Day GCC 3.1 development snapshot.
@
text
@d9 1
a9 1
SNAPDATE=	2002-04-15
@


1.117
log
@Upgrade to the April FOOLS GCC 3.1 development snapshot.
@
text
@d9 1
a9 1
SNAPDATE=	2002-04-01
d71 1
@


1.116
log
@Upgrade to the 25-March-2002 GCC 3.1 development snapshot.
@
text
@d9 1
a9 1
SNAPDATE=	2002-03-25
@


1.115
log
@Upgrade to the 18-March-2002 GCC 3.1 development snapshot.
@
text
@d9 1
a9 1
SNAPDATE=	2002-03-18
d29 1
a29 1
PATCHFILES=	port_gcc31_20020318.diff
d83 4
a86 2
#MAN1=		cpp31.1 g++31.1 g77-31.1 gcc31.1 gcov31.1
MAN1=		g++31.1
d120 2
a121 6
		${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 ; \
d133 1
a133 1
	#${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-31.1
d143 1
@


1.114
log
@Upgrade to the 11-March-2002 GCC 3.1 development snapshot.
@
text
@d9 1
a9 1
SNAPDATE=	2002-03-11
d27 3
@


1.113
log
@Upgrade to the 9-March-2002 GCC 3.1 development snapshot.
@
text
@d9 1
a9 1
SNAPDATE=	2002-03-09
@


1.112
log
@Upgrade to the 4-March-2002 GCC 3.1 development snapshot.
@
text
@d9 1
a9 1
SNAPDATE=	2002-03-04
a136 1
	${MV} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}
d141 1
d160 1
a160 1
chklatest:
@


1.111
log
@Sync with gcc30's style.
This includes changing the name from g<BINARY> to <BINARY>31, using a
single .info file rather than the mirage of them, and switch to using the
.bz2 distfiles.
@
text
@d9 1
a9 1
SNAPDATE=	2002-02-25
d12 3
a14 2
PORTNAME=	gcc31
PORTVERSION=	${SNAPVER}
d138 3
a140 1
	${MV} -f ${PREFIX}/lib/libstdc++.* ${PREFIX}/lib/libsupc++.* ${TARGLIB}
d142 3
a144 6
#.if defined(WANT_SHAREDLIBS)
#	${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
#.endif
.for info in cpp cppinternals g77 gcc gcj
	install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
.endfor
d159 5
@


1.110
log
@Upgrade to the 25-Feb-2002 GCC 3.1 development snapshot.
@
text
@d12 1
a12 1
PORTNAME=	gcc-devel
d29 1
d31 2
a32 1
NO_CDROM=	'dated material'
d42 1
a42 6
PATCH_ARGS=	-d ${SRCDIR} -E ${PATCH_STRIP}
.if !defined(PATCH_DEBUG)
PATCH_ARGS+=	--forward --quiet
.endif
PATCH_WRKDIR=	${SRCDIR}
#CONFIGURE_SCRIPT=	../gcc-${SNAPVER}/configure
d67 1
d79 2
a80 2
#MAN1=		gcpp.1 gg++.1 gg77.1 ggcc.1 ggcov.1
MAN1=		gg++.1
d97 2
a98 2
	@@touch ${SRCDIR}/gcc/configure
	@@touch ${SRCDIR}/gcc/cstamp-h.in
d100 1
d123 3
a125 3
.for file in gcc g++ cpp g++filt gcov
	${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/g${file}
	-( test -e ${PREFIX}/man/man1/${file}.1 \
d127 1
a127 1
		${PREFIX}/man/man1/g${file}.1 )
d130 2
a131 2
	${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/g${file}
	#${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/g${file}.1
d142 1
a142 1
.for info in cpp g77 gcc
d151 1
@


1.109
log
@Update to the 2002-02-04 snapshot.

This port still does not install properly (still has some old cruft in it).
But incase someone wants to work on a patch to help me out...
@
text
@d9 1
a9 1
SNAPDATE=	2002-02-04
d81 2
a82 1
MAN1=		gcpp.1 gg++.1 gg77.1 ggcc.1 ggcov.1
d124 1
a124 1
.for file in gcc g++ cpp g++filt gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++
d132 1
a132 1
	${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/g${file}.1
@


1.108
log
@This allows the port to build, but it still has install problems.
@
text
@d9 1
a9 1
SNAPDATE=	2002-01-28
@


1.107
log
@Upgrade to the 28-Jan-2002 GCC 3.1 development snapshot.
@
text
@d29 1
d56 4
a59 2
GCC_REV=	${PORTVERSION:C/\.0$//}
SRCDIR=		${WRKDIR}/gcc-${GCC_REV}
@


1.106
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
@d9 1
a9 1
SNAPDATE=	2001-04-30
d15 3
a17 2
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/snapshots/${SNAPDATE}/  \
		${MASTER_SITE_SOURCEWARE}
d19 2
a20 1
DISTFILES=	gcc-core-${SNAPVER}${EXTRACT_SUFX} \
d25 1
d31 12
d44 2
a45 1
CONFIGURE_SCRIPT=	../gcc-${SNAPVER}/configure
d55 2
a56 2
EGCS_REV=	3.0
SRCDIR=		${WRKDIR}/gcc-${SNAPVER}
d58 2
a59 2
TARGLIB=	${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
PLIST_SUB=	EGCS_REV=${EGCS_REV} GNU_HOST=${CONFIGURE_TARGET}  \
d83 9
a92 3
	@@(MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
	    ${PERL} -pi.orig -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" \
	    ${SRCDIR}/gcc/config/freebsd.h )
d111 6
a116 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 ; \
@


1.105
log
@Utilize the PATCH_WRKDIR knob now that it exists.
@
text
@d121 1
a121 1
	    find ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l	\
d124 1
a124 1
	    find ${TARGLIB:S/^${PREFIX}\///} -type d \
d126 5
a130 5
	${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.104
log
@Major overhall and style clean up.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc-devel/Makefile,v 1.103 2001/05/04 08:50:08 obrien Exp $
d28 1
a28 4
PATCH_ARGS=	-d ${SRCDIR} -E ${PATCH_STRIP}
.if !defined(PATCH_DEBUG)
PATCH_ARGS+=	--forward --quiet
.endif
@


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 $
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
d67 3
a75 2
	##@@touch ${WRKSRC}/gcc/configure
	##@@touch ${WRKSRC}/gcc/cstamp-h.in
a78 1
	#${RM} -rf ${SRCDIR}/libjava
d87 1
a87 1
	@@${RM} -f ${PREFIX}/bin/c++
d101 10
a110 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
a111 2
	${RM} -f ${PREFIX}/bin/${GNU_HOST}-c++
	${RM} -f ${PREFIX}/bin/cpp
a116 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
@@
