head	1.94;
access;
symbols
	RELEASE_6_2_0:1.93
	RELEASE_6_1_0:1.92
	RELEASE_5_5_0:1.92
	RELEASE_6_0_0:1.90
	RELEASE_5_4_0:1.90
	RELEASE_4_11_0:1.90
	RELEASE_5_3_0:1.87
	RELEASE_4_10_0:1.87
	RELEASE_5_2_1:1.84
	RELEASE_5_2_0:1.84
	RELEASE_4_9_0:1.82
	RELEASE_5_1_0:1.82
	RELEASE_4_8_0:1.81
	RELEASE_5_0_0:1.79
	RELEASE_4_7_0:1.75
	RELEASE_4_6_2:1.75
	RELEASE_4_6_1:1.75
	RELEASE_4_6_0:1.75
	RELEASE_5_0_DP1:1.75
	RELEASE_4_5_0:1.74
	RELEASE_4_4_0:1.74
	RELEASE_4_3_0:1.74
	RELEASE_4_2_0:1.72
	RELEASE_4_1_1:1.70
	RELEASE_4_1_0:1.70
	RELEASE_3_5_0:1.70
	RELEASE_4_0_0:1.67
	RELEASE_3_4_0:1.67
	gcc_2_95_2:1.67
	RELEASE_3_3_0:1.66
	gcc_2_95_1:1.66
	gcc_2_95:1.62
	RELEASE_3_2_0:1.55
	egcs_1_1_2:1.56
	RELEASE_3_1_0:1.45
	egcs_1_1_1:1.40
	RELEASE_2_2_8:1.37
	RELEASE_3_0_0:1.35
	egcs_1_1b:1.30
	egcs_980914:1.33
	egcs_1_1a:1.29
	egcs_980803:1.25
	egcs_980721:1.23
	RELEASE_2_2_7:1.22
	egcs_980715:1.22
	egcs_980628:1.21
	egcs_980608:1.20
	egcs_980508_civil:1.19
	egcs_980508:1.18
	egcs_980502:1.17
	egcs_980406:1.16
	egcs_980315:1.14
	egcs_102:1.13
	egcs_980221:1.12
	RELEASE_2_2_6:1.12
	jdp_1_0:1.1.1.1
	JDP:1.1.1;
locks; strict;
comment	@# @;


1.94
date	2006.12.12.16.06.37;	author vd;	state dead;
branches;
next	1.93;

1.93
date	2006.09.03.01.44.58;	author kris;	state Exp;
branches;
next	1.92;

1.92
date	2005.12.05.00.53.18;	author edwin;	state Exp;
branches;
next	1.91;

1.91
date	2005.12.04.20.36.54;	author edwin;	state Exp;
branches;
next	1.90;

1.90
date	2005.01.02.01.00.39;	author kris;	state Exp;
branches;
next	1.89;

1.89
date	2005.01.02.00.52.07;	author kris;	state Exp;
branches;
next	1.88;

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

1.87
date	2004.04.10.17.26.41;	author trevor;	state Exp;
branches;
next	1.86;

1.86
date	2004.03.14.03.17.25;	author kris;	state Exp;
branches;
next	1.85;

1.85
date	2004.02.04.05.21.33;	author marcus;	state Exp;
branches;
next	1.84;

1.84
date	2003.11.11.16.39.38;	author dinoex;	state Exp;
branches;
next	1.83;

1.83
date	2003.09.24.09.36.55;	author osa;	state Exp;
branches;
next	1.82;

1.82
date	2003.05.18.12.17.28;	author kris;	state Exp;
branches;
next	1.81;

1.81
date	2003.02.20.18.37.56;	author knu;	state Exp;
branches;
next	1.80;

1.80
date	2003.01.30.08.23.53;	author kris;	state Exp;
branches;
next	1.79;

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

1.78
date	2002.11.10.16.46.49;	author lioux;	state Exp;
branches;
next	1.77;

1.77
date	2002.11.06.22.45.47;	author adamw;	state Exp;
branches;
next	1.76;

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

1.75
date	2002.01.29.11.24.07;	author knu;	state Exp;
branches;
next	1.74;

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

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

1.72
date	2000.10.10.23.36.13;	author asami;	state Exp;
branches;
next	1.71;

1.71
date	2000.10.08.10.21.49;	author asami;	state Exp;
branches;
next	1.70;

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

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

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

1.67
date	99.11.01.06.28.48;	author obrien;	state Exp;
branches;
next	1.66;

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

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

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

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

1.62
date	99.08.18.23.58.55;	author obrien;	state Exp;
branches;
next	1.61;

1.61
date	99.08.18.19.03.09;	author obrien;	state Exp;
branches;
next	1.60;

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

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

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

1.57
date	99.08.05.16.05.55;	author obrien;	state Exp;
branches;
next	1.56;

1.56
date	99.06.05.22.30.32;	author mharo;	state Exp;
branches;
next	1.55;

1.55
date	99.04.22.00.17.00;	author scrappy;	state Exp;
branches;
next	1.54;

1.54
date	99.04.08.21.12.34;	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.94
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
# Version required: 			1998-09-14
# Date created:				9 Jan 1998
# Whom:					John Polstra <jdp@@polstra.com>
#
# $FreeBSD: ports/lang/egcs/Makefile,v 1.93 2006/09/03 01:44:58 kris Exp $
#

PORTNAME=	egcs
PORTVERSION=	1.1.2
PORTREVISION=	1
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR=	releases/${PORTNAME}-${PORTVERSION}
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}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	EGCS enhanced version of the GNU compiler suite

USE_BZIP2=	yes
ONLY_FOR_ARCHS=	i386
NO_CDROM=	'old version, not worth the cost in real estate'

INFO=		cpp g77 gcc

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 of gcc instead"
EXPIRATION_DATE=2006-12-01

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500113
BROKEN=		"Does not compile (bad C++ code)"
.endif
.if ${OSVERSION} >= 500039
WITHOUT_CPU_CFLAGS=	yes
.endif

EGCS_REV=	egcs-2.91.66

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

PLIST_SUB=	EGCS_REV=${EGCS_REV} GNU_HOST=${CONFIGURE_TARGET}
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
CONFIGURE_ARGS=	--with-gnu-as --with-gnu-ld \
		--with-gxx-include-dir=${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/include/g++
.if defined(WANT_SHAREDLIBS)
CONFIGURE_ARGS+=--enable-shared
.endif
ALL_TARGET=	bootstrap
MAN1=		cccp.1 g++.1 g77.1 gcc.1

pre-patch:
	@@${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

pre-configure:
	@@# Keep from running `autoconf' and `autoheader' since we modified
	@@# configure.in by patching it.
	@@touch ${WRKSRC}/gcc/configure
	@@touch ${WRKSRC}/gcc/cstamp-h.in
	@@(MAJ=`/sbin/sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
	${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" ${FILESDIR}/freebsd.h \
		>${WRKSRC}/gcc/config/freebsd.h )

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

post-install:
	@@${RM} -f ${PREFIX}/bin/c++
	@@${MV} -f ${PREFIX}/bin/c++filt ${PREFIX}/bin/g++filt
	@@(for prog in ${PREFIX}/bin/gcc ${PREFIX}/bin/g++ \
	${PREFIX}/bin/g++filt ${PREFIX}/bin/g77 ${PREFIX}/bin/gcov \
	${PREFIX}/bin/protoize ${PREFIX}/bin/unprotoize \
	${PREFIX}/bin/${CONFIGURE_TARGET}-gcc \
	${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/cc1 \
	${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/cc1obj \
	${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/cc1plus \
	${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/cpp \
	${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/collect2 \
	${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/f771 ; \
		do ${STRIP_CMD} $$prog ; \
		done)
	${LN} -f ${PREFIX}/bin/gcc ${PREFIX}/bin/egcc
	${LN} -f ${PREFIX}/bin/g++ ${PREFIX}/bin/eg++
	${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}/libstdc++.a
.if defined(WANT_SHAREDLIBS)
	${MV} -f ${PREFIX}/lib/libstdc++.so*  \
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
.endif
	cd ${PREFIX} ;\
	    ${FIND} lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV} \
		-type f -o -type l >${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.93
log
@Schedule for termination on 2006-12-01
@
text
@d7 1
a7 1
# $FreeBSD$
@


1.92
log
@Remove install-info from Makefile, it's automatically done when INFO is defined
@
text
@d29 1
@


1.91
log
@Use INFO macro
@
text
@a101 3
.for info in cpp g77 gcc
	install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
.endfor
@


1.90
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
@d26 2
@


1.89
log
@Does not compile on alpha

Approved by:    portmgr (self)
@
text
@d23 1
a23 1
ONLY_FOR_ARCHS=	i386 alpha
a29 4
.if ${ARCH} == "alpha"
BROKEN=		"Does not compile on alpha"
.endif

@


1.88
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.  Also, set NO_CDROM.
@
text
@d30 4
@


1.87
log
@Tidy up whitespace.
@
text
@d24 1
d33 3
@


1.86
log
@DEPRECATE the unused, outdated egcs port for removal at a future date.
@
text
@d30 1
a30 1
BROKEN=         "Does not compile (bad C++ code)"
d47 1
a47 1
CONFIGURE_ARGS+= --enable-shared
@


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

(Part 2)
@
text
@d25 2
@


1.84
log
@- make build only on i386 alpha

from bento:
> Configuration sparc64-portbld-freebsd5.1 not supported
> Configuration amd64-portbld-freebsd5.1 not supported
> Configuration ia64-portbld-freebsd5.1 not supported
@
text
@d12 1
@


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

Submitted by:	Oleg Karachevtsev <ok@@etrust.ru>
PR:		56998
@
text
@d22 1
@


1.82
log
@BROKEN on 5.1: does not compile
@
text
@d80 1
a80 1
		do strip $$prog ; \
@


1.81
log
@De-pkg-comment.
@
text
@d25 4
@


1.80
log
@Use the full path to /sbin/sysctl

Noticed by:	'make index' in crontab
@
text
@d19 1
@


1.79
log
@Use MASTER_SITE_GCC.
@
text
@d55 1
a55 1
	@@(MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
@


1.78
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
@d13 2
a14 8
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/
@


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

Approved by:	pat
@
text
@a25 2
PORTCOMMENT=	EGCS enhanced version of the GNU compiler suite

@


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


1.75
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
@d24 1
a24 1
MAINTAINER=	obrien@@FreeBSD.org
@


1.74
log
@Do dynamic PLIST creation like the `gcc-devel' port.  This is the easiest
way to deal with the differing results fix-includes gives depending on the
FreeBSD version this port is built on.
@
text
@d7 1
a7 1
# $FreeBSD: ports/lang/egcs/Makefile,v 1.73 2000/11/30 11:39:21 obrien Exp $
d83 2
a84 2
	ln -f ${PREFIX}/bin/gcc ${PREFIX}/bin/egcc
	ln -f ${PREFIX}/bin/g++ ${PREFIX}/bin/eg++
d97 1
a97 1
	    find lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV} \
d99 5
a103 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.73
log
@This should take this port back to the last version of it for EGCS-1.1.2.
The gcc-2.95.2 bits have been repo copied to ports/lang/gcc295.

GCC 2.95.2 does not work for some people's code.  GCC 3.0 will be even
worse.  So it looks like we'll have to keep a port for each version of
GCC we've ever used.
@
text
@d7 1
a7 1
# $FreeBSD: ports/lang/egcs/Makefile,v 1.72 2000/10/10 23:36:13 asami Exp $
a30 1
LIBSTDCPP_REV=	2.9.0
a32 3
.if ${MACHINE_ARCH} == "i386"
PLIST=		${WRKDIR}/PLIST
.endif
a63 3
.if ${PORTOBJFORMAT} == "elf" && ${MACHINE_ARCH} == "i386"
	@@${SED} -e 's/^@@comment ELF-only://' ${PKGDIR}/pkg-plist >${PLIST}
.endif
d96 10
@


1.72
log
@Use PLIST_SUB to only include curses.h when OSVERSION >= 400000.  (It
is not built on 3-stable systems.)

Change the ELF-only stuff to use PLIST_SUB too.  (This part is purely
cosmetic -- no functional changes.)
@
text
@d3 1
d7 1
a7 1
# $FreeBSD: ports/lang/egcs/Makefile,v 1.71 2000/10/08 10:21:49 asami Exp $
d10 13
a22 14
PORTNAME=	gcc
PORTVERSION=	2.95.2
CATEGORIES=	lang java
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/releases/${DISTNAME}/  \
		ftp://ftp.ninemoons.com/pub/mirrors/egcs/releases/${DISTNAME}/ \
		ftp://ftp.iij.ad.jp/pub/egcs/releases/${DISTNAME}/  \
		ftp://ftp.yggdrasil.com/mirrors/site/egcs.cygnus.com/pub/egcs/releases/${DISTNAME}/  \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/releases/${DISTNAME}/
MASTER_SITE_SUBDIR=	gcc
DISTFILES=	gcc-core-${GCC_REV}${EXTRACT_SUFX} \
		gcc-g++-${GCC_REV}${EXTRACT_SUFX} \
		gcc-g77-${GCC_REV}${EXTRACT_SUFX} \
		gcc-java-${GCC_REV}${EXTRACT_SUFX} \
		gcc-objc-${GCC_REV}${EXTRACT_SUFX}
d30 2
a31 8
GCC_REV=	${DISTNAME:S/gcc-//g}
LIBSTDCPP_REV=	4

.if ${OSVERSION} < 400000
PLIST_SUB+=     CURSES:="@@comment "
.else
PLIST_SUB+=     CURSES:=""
.endif
d35 1
a35 3
PLIST_SUB+=	ELF:=""
.else
PLIST_SUB+=	ELF:="@@comment "
d42 1
a42 1
PLIST_SUB+=	EGCS_REV=${GCC_REV} GNU_HOST=${CONFIGURE_TARGET}
d46 1
a46 1
		--with-gxx-include-dir=${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}/include/g++
a49 4
.if defined(WANT_THREADS)
#	?is this an ObjC only thing?
CONFIGURE_ARGS+= --enable-threads=posix
.endif
d51 1
a51 1
MAN1=		cccp.1 g++295.1 g77.1 gcc295.1
d54 1
d57 2
a60 4
	@@(MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
	${SED} -e "s:__FreeBSD__[0-9=]*:__FreeBSD__=$${MAJ}:" ${FILESDIR}/freebsd.h \
		>${WRKSRC}/gcc/config/freebsd.h )
	@@${CP} ${FILESDIR}/alpha-freebsd.h ${WRKSRC}/gcc/config/alpha/freebsd.h
d65 6
d79 13
a91 17
		${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}/${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}/cpp \
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}/collect2 \
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}/f771 ; \
	do \
		strip $$prog ; \
	done)
	${MV} ${PREFIX}/bin/gcc ${PREFIX}/bin/gcc295
	${MV} ${PREFIX}/bin/g++ ${PREFIX}/bin/g++295
	${MV} ${PREFIX}/bin/g77 ${PREFIX}/bin/g77
	${MV} ${PREFIX}/bin/g++filt ${PREFIX}/bin/g++filt295
	${RM} -f ${PREFIX}/bin/cpp
d93 3
a95 6
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}
	${MV} -f ${PREFIX}/lib/libstdc++.a.${LIBSTDCPP_REV}  \
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}/libstdc++.a
	${MV} ${PREFIX}/man/man1/gcc.1 ${PREFIX}/man/man1/gcc295.1
	${MV} ${PREFIX}/man/man1/g++.1 ${PREFIX}/man/man1/g++295.1
	${MV} ${PREFIX}/man/man1/g77.1 ${PREFIX}/man/man1/g77.1
d98 1
a98 1
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}
@


1.71
log
@Change PKGDIR from pkg/ to .  Also fix places where ${PKGDIR} is
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type
fixes that shouldn't have been necessary) and the string "/pkg/"
appear.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/egcs/Makefile,v 1.70 2000/04/12 06:18:08 obrien Exp $
d33 6
d41 3
a43 1
PLIST=		${WRKDIR}/PLIST
d50 1
a50 1
PLIST_SUB=	EGCS_REV=${GCC_REV} GNU_HOST=${CONFIGURE_TARGET}
a73 3
.if ${PORTOBJFORMAT} == "elf" && ${MACHINE_ARCH} == "i386"
	@@${SED} -e 's/^@@comment ELF-only://' ${PKGDIR}/pkg-plist >${PLIST}
.endif
@


1.70
log
@Convert to the PORTNAME - PORTVERSION syntax.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/egcs/Makefile,v 1.69 2000/03/22 00:26:49 obrien Exp $
d67 1
a67 1
	@@${SED} -e 's/^@@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
@


1.69
log
@Restore useless version required comments.
@
text
@a2 1
# Version required: 0.0
d6 1
a6 1
# $FreeBSD: ports/lang/egcs/Makefile,v 1.68 2000/03/20 02:36:19 obrien Exp $
d9 2
a10 1
DISTNAME=	gcc-2.95.2
@


1.68
log
@Remove the "version required" line.
@
text
@d3 1
d7 1
a7 1
# $FreeBSD: ports/lang/egcs/Makefile,v 1.67 1999/11/01 06:28:48 obrien Exp $
@


1.67
log
@Update to version 2.95.2.
@
text
@a2 1
# Version required: 			1998-09-14
d6 1
a6 1
# $FreeBSD: ports/lang/egcs/Makefile,v 1.66 1999/09/04 20:14:11 obrien Exp $
@


1.66
log
@portlint
@
text
@d7 1
a7 1
# $FreeBSD: ports/lang/egcs/Makefile,v 1.65 1999/08/30 22:38:06 obrien Exp $
d10 1
a10 1
DISTNAME=	gcc-2.95.1
d12 4
a15 5
MASTER_SITES=	ftp://go.cygnus.com/pub/sourceware.cygnus.com/pub/egcs/releases/${DISTNAME}/ \
		ftp://egcs.cygnus.com/pub/egcs/releases/${DISTNAME}/ \
		${MASTER_SITE_GNU} \
		ftp://ftp.nluug.nl/pub/languages/egcs/releases/${DISTNAME}/ \
		ftp://ftp.iij.ad.jp/pub/egcs/releases/${DISTNAME}/ \
@


1.65
log
@trim distfiles
@
text
@d1 2
a2 2
# ex:ts=8 
# Ports collection makefile for:	egcs 
d7 1
a7 1
# $FreeBSD: ports/lang/egcs/Makefile,v 1.64 1999/08/25 06:34:22 obrien Exp $
@


1.64
log
@Change Id->FreeBSD.
@
text
@d7 1
a7 1
# $FreeBSD$
d19 1
a19 2
DISTFILES=	gcc-chill-${GCC_REV}${EXTRACT_SUFX} \
		gcc-core-${GCC_REV}${EXTRACT_SUFX} \
@


1.63
log
@Upgrade to version 2.95.1.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.62 1999/08/18 23:58:55 obrien Exp $
@


1.62
log
@Use a better sed(1) pattern in case I break __FreeBSD__ again.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.61 1999/08/18 19:03:09 obrien Exp $
d10 1
a10 1
DISTNAME=	gcc-2.95
@


1.61
log
@Key off the DISTNAME more, so that upgrading requires less editing.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.60 1999/08/16 00:21:03 obrien Exp $
d65 1
a65 1
	${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" ${FILESDIR}/freebsd.h \
@


1.60
log
@More EGCS->GCC transition.
* binaries/manpages are now gcc295 / g++295 / g77
* use {MASTER_SITE_GNU}
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.59 1999/08/09 15:50:58 obrien Exp $
d12 2
a13 2
MASTER_SITES=	ftp://go.cygnus.com/pub/sourceware.cygnus.com/pub/egcs/releases/gcc-2.95/ \
		ftp://egcs.cygnus.com/pub/egcs/releases/gcc-2.95/ \
d15 3
a17 3
		ftp://ftp.nluug.nl/pub/languages/egcs/releases/gcc-2.95/ \
		ftp://ftp.iij.ad.jp/pub/egcs/releases/gcc-2.95/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/releases/gcc-2.95/
d19 6
a24 6
DISTFILES=	gcc-chill-2.95${EXTRACT_SUFX} \
		gcc-core-2.95${EXTRACT_SUFX} \
		gcc-g++-2.95${EXTRACT_SUFX} \
		gcc-g77-2.95${EXTRACT_SUFX} \
		gcc-java-2.95${EXTRACT_SUFX} \
		gcc-objc-2.95${EXTRACT_SUFX}
d32 1
a32 1
EGCS_REV=	${DISTNAME:S/gcc-//g}
d44 1
a44 1
PLIST_SUB=	EGCS_REV=${EGCS_REV} GNU_HOST=${CONFIGURE_TARGET}
d48 1
a48 1
		--with-gxx-include-dir=${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/include/g++
d86 6
a91 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}/cpp \
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/collect2 \
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/f771 ; \
d101 1
a101 1
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
d103 1
a103 1
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/libstdc++.a
d109 1
a109 1
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
@


1.59
log
@Tweak a German master site.

Submitted by:	Dirk Froemberg <dirk@@FreeBSD.org>
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.58 1999/08/05 16:07:53 obrien Exp $
d14 1
d17 2
a18 2
		ftp://ftp.fu-berlin.de/unix/languages/egcs/releases/gcc-2.95/ \
		ftp://cambridge.cygnus.com/pub/egcs/releases/gcc-2.95/
d32 1
a32 2
EGCS_REV=	2.95
#EGCS_REV=	${DISTNAME:S/gcc-//g}
d57 1
a57 1
MAN1=		cccp.1 eg++.1 eg77.1 egcc.1
d95 4
a98 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
d104 3
a106 3
	${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
@


1.58
log
@Add "java" to categories list.  GCC-2.95 now has parts of a Java compiler
bunded in.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.57 1999/08/05 16:05:55 obrien Exp $
d16 1
a16 1
		ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/ \
@


1.57
log
@Update to GCC-2.95 (what would have been EGCS-1.2).
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.70 1999/07/20 15:30:50 obrien Exp $
d11 1
a11 1
CATEGORIES=	lang
@


1.56
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
@d1 2
a2 2
# ex:ts=8
# Ports collection makefile for:	egcs
d7 1
a7 1
# $Id: Makefile,v 1.55 1999/04/22 00:17:00 scrappy Exp $
d10 1
a10 1
DISTNAME=	egcs-1.1.2
d12 12
a23 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 3
a33 2
EGCS_REV=	egcs-2.91.66
LIBSTDCPP_REV=	2.9.0
d52 4
d57 1
a57 1
MAN1=		cccp.1 g++.1 g77.1 gcc.1
a59 1
	@@${MV} ${WRKSRC}/gcc/config/i386/t-freebsd ${WRKSRC}/gcc/config/
a61 2
	@@${CP} ${FILESDIR}/alpha-freebsd-elf.h ${WRKSRC}/gcc/config/alpha/freebsd-elf.h
	@@${CP} ${FILESDIR}/alpha-freebsd.h ${WRKSRC}/gcc/config/alpha/freebsd.h
a63 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
d67 1
d71 4
d83 17
a99 13
	${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)
	ln -f ${PREFIX}/bin/gcc ${PREFIX}/bin/egcc
	ln -f ${PREFIX}/bin/g++ ${PREFIX}/bin/eg++
d102 1
a102 1
	${MV} -f ${PREFIX}/lib/libstdc++.a  \
d104 3
@


1.55
log
@this should finish cleaning up the WWW_SITE -> DESCR/WWW: mess ...
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.54 1999/04/08 21:12:34 billf Exp $
a98 3
	if [ ! -f ${PREFIX}/info/dir ]; then \
	    ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
	fi
@


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

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


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
@@
