head	1.117;
access;
symbols
	RELEASE_8_0_0:1.114
	RELEASE_7_2_0:1.113
	RELEASE_7_1_0:1.112
	RELEASE_6_4_0:1.112
	RELEASE_5_EOL:1.111
	RELEASE_7_0_0:1.111
	RELEASE_6_3_0:1.111
	PRE_XORG_7:1.110
	RELEASE_4_EOL:1.109
	RELEASE_6_2_0:1.108
	RELEASE_6_1_0:1.108
	RELEASE_5_5_0:1.108
	RELEASE_6_0_0:1.106
	RELEASE_5_4_0:1.104
	RELEASE_4_11_0:1.102
	RELEASE_5_3_0:1.99
	RELEASE_4_10_0:1.99
	RELEASE_5_2_1:1.92
	RELEASE_5_2_0:1.92
	RELEASE_4_9_0:1.91
	RELEASE_5_1_0:1.91
	RELEASE_4_8_0:1.90
	RELEASE_5_0_0:1.88
	RELEASE_4_7_0:1.85
	RELEASE_4_6_2:1.83
	RELEASE_4_6_1:1.83
	RELEASE_4_6_0:1.83
	RELEASE_5_0_DP1:1.82
	RELEASE_4_5_0:1.81
	RELEASE_4_4_0:1.79
	RELEASE_4_3_0:1.79
	gcc_2_95_3:1.82
	gcc_2_95_3_test1:1.76
	gcc_2_95_2_inital:1.67
	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.74
	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.117
date	2009.11.21.22.00.17;	author gerald;	state dead;
branches;
next	1.116;

1.116
date	2009.11.13.20.57.59;	author linimon;	state Exp;
branches;
next	1.115;

1.115
date	2009.11.12.04.36.41;	author linimon;	state Exp;
branches;
next	1.114;

1.114
date	2009.07.22.02.59.26;	author shaun;	state Exp;
branches;
next	1.113;

1.113
date	2009.01.05.20.36.29;	author pav;	state Exp;
branches;
next	1.112;

1.112
date	2008.08.21.06.17.29;	author rafan;	state Exp;
branches;
next	1.111;

1.111
date	2007.11.03.12.31.38;	author gerald;	state Exp;
branches;
next	1.110;

1.110
date	2007.01.30.10.25.28;	author pav;	state Exp;
branches;
next	1.109;

1.109
date	2006.10.31.00.18.03;	author shaun;	state Exp;
branches;
next	1.108;

1.108
date	2006.01.27.09.36.42;	author linimon;	state Exp;
branches;
next	1.107;

1.107
date	2005.12.05.00.53.16;	author edwin;	state Exp;
branches;
next	1.106;

1.106
date	2005.06.11.22.58.00;	author trevor;	state Exp;
branches;
next	1.105;

1.105
date	2005.05.21.18.08.23;	author kris;	state Exp;
branches;
next	1.104;

1.104
date	2005.01.14.12.42.39;	author trevor;	state Exp;
branches;
next	1.103;

1.103
date	2005.01.14.11.24.38;	author trevor;	state Exp;
branches;
next	1.102;

1.102
date	2005.01.02.01.00.40;	author kris;	state Exp;
branches;
next	1.101;

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

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

1.99
date	2004.03.15.21.48.02;	author trevor;	state Exp;
branches;
next	1.98;

1.98
date	2004.02.17.00.02.45;	author kris;	state Exp;
branches;
next	1.97;

1.97
date	2004.02.04.05.21.35;	author marcus;	state Exp;
branches;
next	1.96;

1.96
date	2004.01.27.15.54.17;	author trevor;	state Exp;
branches;
next	1.95;

1.95
date	2003.12.26.09.23.17;	author trevor;	state Exp;
branches;
next	1.94;

1.94
date	2003.12.04.06.48.51;	author trevor;	state Exp;
branches;
next	1.93;

1.93
date	2003.12.04.06.38.33;	author trevor;	state Exp;
branches;
next	1.92;

1.92
date	2003.09.24.09.36.54;	author osa;	state Exp;
branches;
next	1.91;

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

1.90
date	2003.03.01.14.34.27;	author trevor;	state Exp;
branches;
next	1.89;

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

1.88
date	2002.11.05.06.02.36;	author trevor;	state Exp;
branches;
next	1.87;

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

1.86
date	2002.10.19.18.55.51;	author knu;	state Exp;
branches;
next	1.85;

1.85
date	2002.09.14.13.32.01;	author sobomax;	state Exp;
branches;
next	1.84;

1.84
date	2002.07.31.12.01.36;	author gerald;	state Exp;
branches;
next	1.83;

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

1.82
date	2002.01.29.11.24.07;	author knu;	state Exp;
branches;
next	1.81;

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

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

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

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

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

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

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

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

1.73
date	2000.12.05.20.31.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.117
log
@Remove lang/gcc295 which is not used by any other port and had been
unused/unusable for most of last year.  Recommend lang/gcc44 instead.

Approved by:	maintainer
@
text
@# ex:ts=8
# Ports collection makefile for:	egcs
# Date created:				9 Jan 1998
# Whom:					John Polstra <jdp@@polstra.com>
#
# $FreeBSD: ports/lang/gcc295/Makefile,v 1.116 2009/11/13 20:57:59 linimon Exp $
#

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

MAINTAINER=	uqs@@spoerlein.net
COMMENT=	GNU Compiler Collection

CONFLICTS=	gcc-4.*.*
ONLY_FOR_ARCHS=	alpha i386
USE_BZIP2=	yes

LATEST_LINK=	gcc295

.ifdef USE_GCC
IGNORE=	you have the 'USE_GCC' variable defined either in environment or in make(1) arguments. Please undefine and try again
.endif

.include <bsd.port.pre.mk>

.if (${ARCH} == alpha)
BROKEN=			Does not compile on alpha
.endif

WITHOUT_CPU_CFLAGS=	yes

GCC_REV=	${DISTNAME:S/gcc-//g:S/.test3//g}
TARGLIB=	${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}
LIBSTDCPP_REV=	2100

PLIST_SUB+=	EGCS_REV=${GCC_REV} GNU_HOST=${CONFIGURE_TARGET}
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
CONFIGURE_ARGS=	--with-gnu-as --with-gnu-ld \
		--with-gxx-include-dir=${TARGLIB}/include/g++
#CONFIGURE_ARGS+=	--program-suffix=-295
CONFIGURE_ARGS+=	--build=${CONFIGURE_TARGET} --host=${CONFIGURE_TARGET}
CONFIGURE_ENV=	MAKEINFO="makeinfo --no-split"
.if defined(WANT_SHAREDLIBS)
CONFIGURE_ARGS+=	--enable-shared
.endif
.if defined(WANT_THREADS)
#	?is this an ObjC only thing?
CONFIGURE_ARGS+=	--enable-threads=posix
.endif
ALL_TARGET=	bootstrap
INFO=		gcc cpp
MAN1=		cccp.1 g++295.1 gcc295.1

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
	@@${MV} ${WRKSRC}/libstdc++/stl/stl_bvector.h \
		${WRKSRC}/libstdc++/stl/stl_bvector.h.orig
	@@${SED} -e "s,_WORD_BIT,_WORD_BIT_GCC295,g" \
		< ${WRKSRC}/libstdc++/stl/stl_bvector.h.orig \
		> ${WRKSRC}/libstdc++/stl/stl_bvector.h

pre-configure:
	@@(MAJ=`/sbin/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
	@@# Keep from running `autoconf' and `autoheader' since we modified
	@@# configure.in by patching it.
	@@${TOUCH} ${WRKSRC}/gcc/configure
	@@${TOUCH} ${WRKSRC}/gcc/cstamp-h.in

# The LATE_ARGS mess up gcc's configure script. Roll our own target here
do-configure:
	CONFIG_GUESS_DIRS=$$(${FIND} ${WRKDIR} -name config.guess -o -name config.sub \
		| ${XARGS} -n 1 ${DIRNAME}); \
	for _D in $${CONFIG_GUESS_DIRS}; do \
		${CP} -f ${TEMPLATES}/config.guess $${_D}/config.guess; \
		${CHMOD} a+rx $${_D}/config.guess; \
	    ${CP} -f ${TEMPLATES}/config.sub $${_D}/config.sub; \
		${CHMOD} a+rx $${_D}/config.sub; \
	done
	(cd ${CONFIGURE_WRKSRC} && \
		if ! ${SETENV} CC="${CC}" CXX="${CXX}" \
	    CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
	    INSTALL="/usr/bin/install -c ${_BINOWNGRP}" \
	    INSTALL_DATA="${INSTALL_DATA}" \
	    INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
	    INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
	    ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; then \
			 ${ECHO_MSG} "===>  Script \"${CONFIGURE_SCRIPT}\" failed unexpectedly."; \
			 (${ECHO_CMD} ${CONFIGURE_FAIL_MESSAGE}) | ${FMT} 75 79 ; \
			 ${FALSE}; \
		fi)

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/gcov \
		${PREFIX}/bin/protoize ${PREFIX}/bin/unprotoize \
		${PREFIX}/bin/${CONFIGURE_TARGET}-gcc \
		${TARGLIB}/cc1 \
		${TARGLIB}/cc1plus \
		${TARGLIB}/cpp0 \
		${TARGLIB}/collect2 \
	; do \
		${STRIP_CMD} $$prog ; \
	done)
	${MV} ${PREFIX}/bin/gcc ${PREFIX}/bin/gcc295
	${MV} ${PREFIX}/bin/g++ ${PREFIX}/bin/g++295
	${MV} ${PREFIX}/bin/protoize ${PREFIX}/bin/protoize295
	${MV} ${PREFIX}/bin/unprotoize ${PREFIX}/bin/unprotoize295
	${MV} ${PREFIX}/bin/g++filt ${PREFIX}/bin/g++filt295
	${RM} -f ${PREFIX}/bin/cpp ${PREFIX}/lib/libiberty.a
	${MV} -f ${PREFIX}/lib/libstdc++.a.${LIBSTDCPP_REV}  \
		${TARGLIB}/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
.if defined(WANT_SHAREDLIBS)
	${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
.endif
	cd ${PREFIX} ;\
	    ${FIND} lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_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.116
log
@Over to new maintainer.  Note: this release is way obsolete.
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.115
log
@Reset shaun@@FreeBSD.org due to maintainer-timeouts and no response
to email.

Hat:		portmgr
@
text
@d18 1
a18 1
MAINTAINER=	ports@@FreeBSD.org
@


1.114
log
@Fix build (broken due to recent autoconf changes).

PR:		ports/135883
Submitted by:	Ulrich Spoerlein <uqs@@spoerlein.net>
@
text
@d18 1
a18 1
MAINTAINER=	shaun@@FreeBSD.org
@


1.113
log
@- Remove conditional checks for FreeBSD 5.x and older
@
text
@a34 1
WITHOUT_CPU_CFLAGS=	yes
d49 1
d81 23
@


1.112
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@a37 1
.if ${OSVERSION} >= 500039
a38 1
.endif
@


1.111
log
@Add symmetric CONFLICTS with lang/gcc41, lang/gcc42, and lang/gcc43 which
already conflict with this port.

On the way, adjust the IGNORE statement to comply with our standards.

PR:		117430 (partly)
Approved by:	portmgr (erwin)
@
text
@a48 1
CONFIGURE_TARGET=	${ARCH}-portbld-freebsd${OSREL}
@


1.110
log
@- Remove support for a.out format and PORTOBJFORMAT variable from individual
  ports

With hat:	portmgr
@
text
@d21 1
d28 1
a28 1
IGNORE=	Cannot install: you have the 'USE_GCC' variable defined either in environment or in make(1) arguments. Please undefine and try again
@


1.109
log
@Take maintainership.
@
text
@d33 1
a33 1
BROKEN=			"Does not compile on alpha"
a44 6
.if ${PORTOBJFORMAT} == "aout"
CONFIGURE_TARGET=	${ARCH}-portbld-freebsdaout${OSREL}
.else
CONFIGURE_TARGET=	${ARCH}-portbld-freebsd${OSREL}
.endif

d48 1
@


1.108
log
@Replace the dangerous .error with IGNORE.
@
text
@d18 1
a18 1
MAINTAINER=	ports@@FreeBSD.org
d27 1
a27 1
IGNORE=	Cannot install: you have the `USE_GCC' variable defined either in environment or in make(1) arguments. Please undefine and try again
@


1.107
log
@Remove install-info from Makefile, it's automatically done when INFO is defined
@
text
@d27 1
a27 1
.error You have `USE_GCC' variable defined either in environment or in make(1) arguments. Please undefine and try again.
@


1.106
log
@I don't have any plans for this right now.
@
text
@a117 3
.for info in ${INFO}
	install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
.endfor
@


1.105
log
@BROKEN on alpha: Does not compile
@
text
@d18 1
a18 1
MAINTAINER=	trevor@@FreeBSD.org
@


1.104
log
@Fix comparison (nod to Freshports sanity-checking daemon).
@
text
@d33 1
@


1.103
log
@This does compile on the Alpha--well, sometimes it does.  I agree with kris'
speculation that the default CFLAGS may be causing the problem seen on the
package-building cluster.  Try to work around the problem.
@
text
@d32 1
a32 1
.if ${ARCH} = alpha
@


1.102
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
@d21 1
a21 1
ONLY_FOR_ARCHS=	i386
d32 4
@


1.101
log
@Compiles on Alpha again.
@
text
@d21 1
a21 1
NOT_FOR_ARCHS=	amd64 sparc64 ia64
@


1.100
log
@If built on a machine with GCC 3.2 or later; assume the machine has CPUTYPE
set to something GCC 2.95 won't understand.
@
text
@a31 3
.if ${ARCH} == "alpha" && ${OSVERSION} >= 502000
BROKEN=		"Does not compile"
.endif
@


1.99
log
@Use INFO and TOUCH macros.  Fix white space.

PR:		64193
Submitted by:	Yen-Ming Lee
@
text
@d35 3
@


1.98
log
@BROKEN on alpha 5.x: does not compile
@
text
@d54 1
a54 1
CONFIGURE_ARGS+= --enable-shared
d58 1
a58 1
CONFIGURE_ARGS+= --enable-threads=posix
d61 1
d80 2
a81 2
	@@touch ${WRKSRC}/gcc/configure
	@@touch ${WRKSRC}/gcc/cstamp-h.in
d113 1
a113 1
.for info in cpp gcc
@


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

(Part 2)
@
text
@d32 4
@


1.96
log
@This no longer provides a Java compiler.
@
text
@d11 1
a11 1
PORTREVISION=	1
@


1.95
log
@Make fetchable.
@
text
@d12 1
a12 1
CATEGORIES=	lang java
@


1.94
log
@forced commit to note that the previous change addresses PR 51807,
submitted by Kevin Oberman, maintainer of the irrtoolset port (which
I left marked broken because it has at least one other problem)
@
text
@d14 1
a14 1
MASTER_SITE_SUBDIR=	releases/${PKGNAME}
@


1.93
log
@The __WORD_BIT constant in GCC's stl_bvector.h caused a namespace
conflict which kept the mailsync port from compiling.  Resolve it.
@
text
@@


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

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


1.91
log
@These older compilers don't support amd64, sparc64, and ia64.
@
text
@d87 1
a87 1
		strip $$prog ; \
@


1.90
log
@Retire comment file.
@
text
@d20 1
@


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

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


1.88
log
@I'd like to try to maintain this.
@
text
@d61 1
a61 1
	@@(MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
@


1.87
log
@The effort to maintain these for FreeBSD just isn't worth it with the lack
of reward.
@
text
@d17 1
a17 1
MAINTAINER=	ports@@FreeBSD.org
@


1.86
log
@Use MASTER_SITES_GCC.

Approved by:	obrien (maintainer)
@
text
@d17 1
a17 1
MAINTAINER=	obrien@@FreeBSD.org
@


1.85
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
@d12 2
a13 3
MASTER_SITES=	ftp://gcc.gnu.org/pub/%SUBDIR%/  \
		${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR=	gcc/releases/${PKGNAME}
@


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

Approved by:	obrien (maintainer+mentor)
@
text
@d24 4
@


1.83
log
@Since I cannot think of any reason one would use this port for FORTRAN or
Java compilers (the newer versions are much better); trim this port down
to just the parts we will need when GCC 3.1 becomes the -CURRENT compiler.
@
text
@d12 1
a12 1
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/releases/%SUBDIR%/  \
@


1.82
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
@d16 1
a16 4
		gcc-g++-${GCC_REV}${EXTRACT_SUFX} \
		gcc-g77-${GCC_REV}${EXTRACT_SUFX} \
		gcc-java-${GCC_REV}${EXTRACT_SUFX} \
		gcc-objc-${GCC_REV}${EXTRACT_SUFX}
d41 2
a42 1
#CONFIGURE_ARGS+=	--program-suffix=-2.95.3
d51 1
a51 1
MAN1=		cccp.1 g++295.1 g77.1 gcc295.1
d74 1
a74 1
		${PREFIX}/bin/g++filt ${PREFIX}/bin/g77 ${PREFIX}/bin/gcov \
a77 1
		${TARGLIB}/cc1obj \
d81 1
a81 2
		${TARGLIB}/f771 ; \
	do \
d86 2
a87 1
	${MV} ${PREFIX}/bin/g77 ${PREFIX}/bin/g77
d89 1
a89 2
	${RM} -f ${PREFIX}/bin/cpp
	${MV} ${PREFIX}/lib/libiberty.a ${TARGLIB}
a93 1
	${MV} ${PREFIX}/man/man1/g77.1 ${PREFIX}/man/man1/g77.1
d97 1
a97 1
.for info in cpp g77 gcc
@


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

(Maintainer timeout; I think it's too trivial to bother him with.)
@
text
@d106 1
a106 1
	    find lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV} \
d108 5
a112 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.80
log
@ftp.freesoftware.com -- R.I.P.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc295/Makefile,v 1.79 2001/03/19 01:13:24 obrien Exp $
d24 2
@


1.79
log
@Update to version 2.95.3.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc295/Makefile,v 1.78 2001/02/15 23:14:42 obrien Exp $
d12 1
a12 2
MASTER_SITES=	ftp://ftp.freesoftware.com/pub/sourceware/%SUBDIR%/  \
		ftp://egcs.cygnus.com/pub/egcs/releases/${PKGNAME}/  \
@


1.78
log
@Use MASTER_SITE_SOURCEWARE.

Submitted by:	sf
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc295/Makefile,v 1.77 2001/02/13 12:21:21 obrien Exp $
d10 1
a10 1
PORTVERSION=	2.95.3.test3
d12 2
a13 2
MASTER_SITES=	ftp://ftp.freesoftware.com/pub/sourceware/gcc/releases/%SUBDIR%/  \
		ftp://egcs.cygnus.com/pub/egcs/releases/%SUBDIR%/  \
d15 6
a20 8
MASTER_SITE_SUBDIR=	gcc-2.95.3-prerelease \
			gcc/releases/gcc-2.95.3-prerelease \
			${DISTNAME}
DISTFILES=	gcc-core-${GCC_REV}.test3${EXTRACT_SUFX} \
		gcc-g++-${GCC_REV}.test3${EXTRACT_SUFX} \
		gcc-g77-${GCC_REV}.test3${EXTRACT_SUFX} \
		gcc-java-${GCC_REV}.test3${EXTRACT_SUFX} \
		gcc-objc-${GCC_REV}.test3${EXTRACT_SUFX}
d24 1
a24 1
#USE_BZIP2=	yes
@


1.77
log
@Update to the 3rd 2.95.3 pre-release (test) release.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc295/Makefile,v 1.76 2001/01/07 21:59:01 obrien Exp $
d12 6
a17 9
MASTER_SITES=	ftp://ftp.freesoftware.com/pub/sourceware/gcc/releases/gcc-2.95.3-prerelease/  \
		ftp://egcs.cygnus.com/pub/egcs/releases/gcc-2.95.3-prerelease/  \
		ftp://ftp.freesoftware.com/pub/sourceware/gcc/releases/${DISTNAME}/  \
		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
@


1.76
log
@Introduce `TARGLIB' from gcc-devel to clean this thing up.
Also change the ELF vs. aout logic so other formats can be targeted.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc295/Makefile,v 1.75 2001/01/07 21:45:37 obrien Exp $
d10 1
a10 1
PORTVERSION=	2.95.3.test1
d13 1
d21 5
a25 5
DISTFILES=	gcc-core-${GCC_REV}.test1${EXTRACT_SUFX} \
		gcc-g++-${GCC_REV}.test1${EXTRACT_SUFX} \
		gcc-g77-${GCC_REV}.test1${EXTRACT_SUFX} \
		gcc-java-${GCC_REV}.test1${EXTRACT_SUFX} \
		gcc-objc-${GCC_REV}.test1${EXTRACT_SUFX}
d33 1
a33 1
GCC_REV=	${DISTNAME:S/gcc-//g:S/.test1//g}
@


1.75
log
@Update to GCC 2.95.3 release candidate "test1"
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc295/Makefile,v 1.74 2000/12/13 17:23:34 obrien Exp $
d33 1
d36 3
a38 1
.if ${PORTOBJFORMAT} == "elf"
a39 2
.else
CONFIGURE_TARGET=	${ARCH}-portbld-freebsdaout${OSREL}
d46 2
a47 1
		--with-gxx-include-dir=${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}/include/g++
d82 6
a87 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 ; \
d96 1
a96 2
	${MV} ${PREFIX}/lib/libiberty.a  \
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}
d98 1
a98 1
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}/libstdc++.a
d103 1
a103 2
	${MV} -f ${PREFIX}/lib/libstdc++.so*  \
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}
d109 1
a109 1
	    find lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV} \
@


1.74
log
@Make LIBSTDCPP_REV match the new reality.

Submitted by:	Max Khon <fjoe@@iclub.nsu.ru>
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc295/Makefile,v 1.73 2000/12/05 20:31:21 obrien Exp $
d10 1
a10 1
PORTVERSION=	2.95.2
d12 3
a14 1
MASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/releases/${DISTNAME}/  \
d20 5
a24 5
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}
d28 1
a28 1
USE_BZIP2=	yes
d32 1
a32 1
GCC_REV=	${DISTNAME:S/gcc-//g}
d83 1
a83 1
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}/cpp \
@


1.73
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
@d6 1
a6 1
# $FreeBSD: ports/lang/gcc295/Makefile,v 1.72 2000/10/10 23:36:13 asami Exp $
d31 1
a31 1
LIBSTDCPP_REV=	4
@


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
@d6 1
a6 1
# $FreeBSD: ports/lang/egcs/Makefile,v 1.71 2000/10/08 10:21:49 asami Exp $
a32 6
.if ${OSVERSION} < 400000
PLIST_SUB+=     CURSES:="@@comment "
.else
PLIST_SUB+=     CURSES:=""
.endif

a33 5
.if ${MACHINE_ARCH} == "i386"
PLIST_SUB+=	ELF:=""
.else
PLIST_SUB+=	ELF:="@@comment "
.endif
d106 10
@


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