head	1.32;
access;
symbols
	RELEASE_4_6_2:1.31
	RELEASE_4_6_1:1.31
	RELEASE_4_6_0:1.31
	RELEASE_5_0_DP1:1.31
	RELEASE_4_5_0:1.31
	RELEASE_4_4_0:1.30
	RELEASE_4_3_0:1.29
	RELEASE_4_2_0:1.29
	RELEASE_4_1_1:1.27
	RELEASE_4_1_0:1.27
	RELEASE_3_5_0:1.27
	RELEASE_4_0_0:1.23
	RELEASE_3_4_0:1.22
	RELEASE_3_3_0:1.22
	pgcc_2_95_1:1.22
	RELEASE_3_2_0:1.15
	RELEASE_3_1_0:1.14
	RELEASE_2_2_5:1.9
	RELEASE_2_2_1:1.2
	RELEASE_2_2_2:1.2
	current:1.1.1.1
	PCG:1.1.1;
locks; strict;
comment	@# @;


1.32
date	2002.06.08.17.28.14;	author obrien;	state dead;
branches;
next	1.31;

1.31
date	2001.10.29.02.09.38;	author sf;	state Exp;
branches;
next	1.30;

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

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

1.28
date	2000.10.08.10.21.52;	author asami;	state Exp;
branches;
next	1.27;

1.27
date	2000.04.16.04.14.10;	author asami;	state Exp;
branches;
next	1.26;

1.26
date	2000.04.12.06.19.52;	author obrien;	state Exp;
branches;
next	1.25;

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

1.24
date	2000.03.20.02.37.08;	author obrien;	state Exp;
branches;
next	1.23;

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

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

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

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

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

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

1.17
date	99.06.05.22.30.57;	author mharo;	state Exp;
branches;
next	1.16;

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

1.15
date	99.03.08.07.28.30;	author asami;	state Exp;
branches;
next	1.14;

1.14
date	99.02.03.11.11.52;	author asami;	state Exp;
branches;
next	1.13;

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

1.12
date	98.12.14.10.28.21;	author obrien;	state Exp;
branches;
next	1.11;

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

1.10
date	98.01.11.00.32.21;	author andreas;	state dead;
branches;
next	1.9;

1.9
date	97.10.17.05.32.43;	author andreas;	state Exp;
branches;
next	1.8;

1.8
date	97.10.17.05.30.26;	author andreas;	state Exp;
branches;
next	1.7;

1.7
date	97.10.04.14.53.09;	author andreas;	state Exp;
branches;
next	1.6;

1.6
date	97.07.27.09.09.41;	author andreas;	state Exp;
branches;
next	1.5;

1.5
date	97.07.20.16.03.14;	author andreas;	state Exp;
branches;
next	1.4;

1.4
date	97.06.10.16.36.36;	author andreas;	state Exp;
branches;
next	1.3;

1.3
date	97.06.08.12.58.59;	author andreas;	state Exp;
branches;
next	1.2;

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

1.1
date	96.12.18.16.40.16;	author andreas;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.12.18.16.40.16;	author andreas;	state Exp;
branches;
next	;


desc
@@


1.32
log
@This was still at the GCC 2.95.2 level.  GCC 3.1 has really subsumed
the optimization work the PGCC group did based on the closed development
GCC versions.
@
text
@# ex:ts=8
# Ports collection makefile for:  pgcc
# Date created:			  10 Dec 1998
# Whom:				  David O'Brien <obrien@@NUXI.com>
#
# $FreeBSD: ports/lang/pgcc/Makefile,v 1.31 2001/10/29 02:09:38 sf Exp $
#

PORTNAME=	pgcc
PORTVERSION=	2.95.2.1
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR=	gcc/releases/${PKGNAME}
DISTNAME=	gcc-${PORTVERSION:S/.1$//}
DISTFILES=	gcc-core-${DISTNAME:S/gcc-//g}${EXTRACT_SUFX} \
		gcc-g++-${DISTNAME:S/gcc-//g}${EXTRACT_SUFX} \
		gcc-g77-${DISTNAME:S/gcc-//g}${EXTRACT_SUFX} \
		gcc-java-${DISTNAME:S/gcc-//g}${EXTRACT_SUFX} \
		gcc-objc-${DISTNAME:S/gcc-//g}${EXTRACT_SUFX}

PATCH_SITES=	ftp://ftp.goof.com/pub/pcg/source/  \
		ftp://ftp.hitachi-sk.co.jp/pub/pentium-gcc/source/  \
		ftp://ftp.fu-berlin.de/unix/languages/pgcc/source/
PATCHFILES=	gcc-2.95.2.1-pgcc-2.95.2.1.diff.gz
PATCH_DIST_STRIP=	-p1

MAINTAINER=	obrien@@FreeBSD.org

BUILD_DEPENDS=  autoconf:${PORTSDIR}/devel/autoconf

ONLY_FOR_ARCHS=	i386

USE_BZIP2=	yes

.include <bsd.port.pre.mk>

GCC_REV=	${PKGNAME}
LIBSTDCPP_REV=	4

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

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=${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}/include/g++
.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
MAN1=		cccp.1 pg++.1 pg77.1 pgcc.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
	cd ${WRKSRC}/gcc; ${RM} -f gcc.info* cpp.info* f/g77.info*

pre-configure:
	@@(MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
	${SED} -e "s:__FreeBSD__[0-9=]*:__FreeBSD__=$${MAJ}:" ${FILESDIR}/freebsd.h \
		>${WRKSRC}/gcc/config/freebsd.h )

pre-install:
.if ${PORTOBJFORMAT} == "elf" && ${MACHINE_ARCH} == "i386"
	@@${SED} -e 's/^@@comment ELF-only://' ${PKGDIR}/pkg-plist >${PLIST}
.endif

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}/${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/${CONFIGURE_TARGET}-gcc ${PREFIX}/bin/${CONFIGURE_TARGET}-pgcc
	${MV} ${PREFIX}/bin/gcc ${PREFIX}/bin/pgcc
	${MV} ${PREFIX}/bin/g++ ${PREFIX}/bin/pg++
	${MV} ${PREFIX}/bin/g77 ${PREFIX}/bin/pg77
	${MV} ${PREFIX}/bin/gcov ${PREFIX}/bin/pgcov
	${MV} ${PREFIX}/bin/g++filt ${PREFIX}/bin/pg++filt
	${MV} ${PREFIX}/bin/gcj ${PREFIX}/bin/pgcj
	${MV} ${PREFIX}/bin/gcjh ${PREFIX}/bin/pgcjh
	${MV} ${PREFIX}/bin/jv-scan ${PREFIX}/bin/pjv-scan
	${MV} ${PREFIX}/bin/jcf-dump ${PREFIX}/bin/pjcf-dump
	${RM} -f ${PREFIX}/bin/cpp
	${MV} ${PREFIX}/lib/libiberty.a  \
		${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/pgcc.1
	${MV} ${PREFIX}/man/man1/g++.1 ${PREFIX}/man/man1/pg++.1
	${MV} ${PREFIX}/man/man1/g77.1 ${PREFIX}/man/man1/pg77.1
.if defined(WANT_SHAREDLIBS)
	${MV} -f ${PREFIX}/lib/libstdc++.so*  \
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}
.endif
.for info in cpp g77 gcc
	install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
.endfor

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


1.31
log
@o fix install: change GCC_REV to match existing one.
o unify info files for future update.
o ${MKDIR} ${PREFIX}/info is not needed as it is in BSD.local.dist.

Reviewed by:	maintainer
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.30
log
@Update to pgcc 2.95.2.1.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/pgcc/Makefile,v 1.29 2000/11/11 05:43:58 obrien Exp $
d37 1
a37 1
GCC_REV=	p${DISTNAME}
d65 1
d71 2
a75 3

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


1.29
log
@Update to pgcc 2.95.3.

PR:		20122
Submitted by:	Tomaz Borstnar <tomaz.borstnar@@over.net>
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/pgcc/Makefile,v 1.28 2000/10/08 10:21:52 asami Exp $
d10 1
a10 1
PORTVERSION=	2.95.2
d12 3
a14 8
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}/ \
		ftp://ftp.fu-berlin.de/unix/languages/egcs/releases/${DISTNAME}/
MASTER_SITE_SUBDIR=	gcc
DISTNAME=	gcc-${PORTVERSION}
d21 1
a21 2
PATCH_SITES=	http://www.gcc.ml.org/data/source/  \
		ftp://ftp.goof.com/pub/pcg/source/  \
d24 1
a24 1
PATCHFILES=	gcc-2.95.2-pgcc-2.95.3.diff.gz
@


1.28
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/pgcc/Makefile,v 1.27 2000/04/16 04:14:10 asami Exp $
d10 1
a10 1
PORTVERSION=	2.95.1
d30 1
a30 1
PATCHFILES=	gcc-2.95.1-pgcc-2.95.1.diff.gz
@


1.27
log
@DISTNAMe-related cleanups.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/pgcc/Makefile,v 1.26 2000/04/12 06:19:52 obrien Exp $
d77 1
a77 1
	@@${SED} -e 's/^@@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
@


1.26
log
@Convert to the PORTNAME - PORTVERSION syntax.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/pgcc/Makefile,v 1.25 2000/03/22 00:27:33 obrien Exp $
d19 1
a52 1
WRKSRC=		${WRKDIR}/gcc-2.95.1
@


1.25
log
@Restore useless version required comments.
@
text
@a2 1
# Version required: 0.0
d6 1
a6 1
# $FreeBSD: ports/lang/pgcc/Makefile,v 1.24 2000/03/20 02:37:08 obrien Exp $
d9 2
a10 2
DISTNAME=	gcc-2.95.1
PKGNAME=	pgcc-2.95.1
d52 1
@


1.24
log
@Remove the "version required" line.
@
text
@d3 1
d7 1
a7 1
# $FreeBSD: ports/lang/pgcc/Makefile,v 1.23 2000/02/13 03:24:08 obrien Exp $
@


1.23
log
@Style nits in the ports I maintain.
@
text
@a2 1
# Version required:		  1.1.1
d6 1
a6 1
# $FreeBSD: ports/lang/pgcc/Makefile,v 1.22 1999/09/10 17:44:53 obrien Exp $
@


1.22
log
@Do this in a more general way.
@
text
@d2 4
a5 4
# Ports collection makefile for:	pgcc
# Version required: 			1.1.1
# Date created:				10 Dec 1998
# Whom:					David O'Brien <obrien@@NUXI.com>
d7 1
a7 1
# $FreeBSD: ports/lang/pgcc/Makefile,v 1.21 1999/09/08 10:41:55 obrien Exp $
@


1.21
log
@Upgrade to version 2.95.1.
@
text
@d7 1
a7 1
# $FreeBSD: ports/lang/pgcc/Makefile,v 1.20 1999/09/05 22:05:57 obrien Exp $
d99 1
a99 1
	${MV} ${PREFIX}/bin/i386-portbld-freebsd4.0-gcc ${PREFIX}/bin/i386-portbld-freebsd4.0-pgcc
@


1.20
log
@portlint
@
text
@d7 1
a7 1
# $FreeBSD: ports/lang/pgcc/Makefile,v 1.19 1999/08/25 06:35:13 obrien Exp $
d10 2
a11 2
DISTNAME=	egcs-1.1.2
PKGNAME=	pgcc-1.1.3
d13 12
a24 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}
d30 1
a30 1
PATCHFILES=	egcs-1.1.2-pgcc-1.1.3.diff.gz
d37 3
a39 1
BROKEN='waiting for new patches against gcc-2.95.1'
d43 2
a44 4
USE_BZIP2=	yes

EGCS_REV=	pgcc-2.91.66
LIBSTDCPP_REV=	2.9.0
d53 1
a53 1
PLIST_SUB=	EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
d57 1
a57 1
		--with-gxx-include-dir=${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/include/g++
d61 4
d66 1
a66 1
MAN1=		cccp.1 g++.1 g77.1 gcc.1
a68 1
	@@${MV} ${WRKSRC}/gcc/config/i386/t-freebsd ${WRKSRC}/gcc/config/
d74 1
a74 1
	${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" ${FILESDIR}/freebsd.h \
d90 6
a95 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 ; \
d99 1
d105 5
d111 6
a116 3
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
	${MV} -f ${PREFIX}/lib/libstdc++.a  \
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/libstdc++.a
d119 1
a119 1
		${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
@


1.19
log
@Change Id->FreeBSD.
@
text
@d7 1
a7 1
# $FreeBSD$
d29 1
d33 1
a33 1
BROKEN='waiting for new patches against gcc-2.95'
d35 1
a35 1
USE_BZIP2=	yes
d37 1
a37 1
BUILD_DEPENDS=  autoconf:${PORTSDIR}/devel/autoconf
a40 2
.include <bsd.port.pre.mk>

a50 1
PATCH_DIST_STRIP?=	-p1
@


1.18
log
@BROKEN='waiting for new patches against gcc-2.95'
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.17 1999/06/05 22:30:57 mharo Exp $
@


1.17
log
@Remove the test to create ${PREFIX}/share/info/dir as it is now
in bsd.port.mk and this helps to unify the check and install.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.16 1999/05/24 17:12:49 obrien Exp $
d31 2
@


1.16
log
@Upgrade to version 1.1.3, and sync with changes to the egcs port.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.15 1999/03/08 07:28:30 asami Exp $
a106 3
	if [ ! -f ${PREFIX}/info/dir ]; then \
	    ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
	fi
@


1.15
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.14 1999/02/03 11:11:52 asami Exp $
d10 2
a11 2
DISTNAME=	egcs-1.1.1
PKGNAME=	pgcc-1.1.1
d13 10
a22 6
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/
EXTRACT_SUFX=	.tar.bz2
d28 1
a28 1
PATCHFILES=	egcs-1.1.1-pgcc-1.1.1.diff.gz
d32 2
d40 1
a40 1
EGCS_REV=	pgcc-2.91.60
d44 2
a45 2
#GNUHOST=	${ARCH}-unknown-freebsdelf${OSREL}
GNUHOST=	${ARCH}-unknown-freebsdelf
d47 1
a47 2
#GNUHOST=	${ARCH}-unknown-freebsd${OSREL}
GNUHOST=	${ARCH}-unknown-freebsd
d55 4
a58 2
		--with-gxx-include-dir=${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}/include/g++
CONFIGURE_TARGET=	${GNUHOST}
d62 5
d68 6
a73 6
	@@(cd ${WRKSRC}/gcc/config/${ARCH}/ ; \
	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)
a76 1
	${TOUCH} ${PREFIX}/info/dir
d82 17
a98 13
	${PREFIX}/bin/g++filt ${PREFIX}/bin/g77 ${PREFIX}/bin/gcov \
	${PREFIX}/bin/protoize ${PREFIX}/bin/unprotoize \
	${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 ; \
		do strip $$prog ; \
		done)
	ln -f ${PREFIX}/bin/gcc ${PREFIX}/bin/egcc
	ln -f ${PREFIX}/bin/g++ ${PREFIX}/bin/eg++
d100 1
a100 1
		${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}
d102 5
a106 1
		${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}/libstdc++.a
@


1.14
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.13 1998/12/14 12:07:48 obrien Exp $
d49 1
a49 1
CONFIGURE_ARGS=	--with-gnu-as --with-gnu-ld ${GNUHOST} \
d51 1
@


1.13
log
@get this right
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.12 1998/12/14 10:28:21 obrien Exp $
d28 3
a30 2
BUILD_DEPENDS=  bzip2:${PORTSDIR}/archivers/bzip2  \
		autoconf:${PORTSDIR}/devel/autoconf
a33 3
EXTRACT_CMD=	bzip2
EXTRACT_BEFORE_ARGS=	-dc
EXTRACT_AFTER_ARGS=	| /usr/bin/tar -xf -
@


1.12
log
@Yuck, this thing BUILD_DEPENDS on autoconf.

Noticed by:	Maxim Sobolev <max@@vega.pfts.com>
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.11 1998/12/13 09:40:43 obrien Exp $
d36 1
a36 1
EGCS_REV=	egcs-2.91.60
@


1.11
log
@PGCC, the Pentium optimizing version of GCC is back.....
It is now based on EGCS.
@
text
@d2 4
a5 4
# Ports collection makefile for:	egcs
# Version required: 			1998-09-14
# Date created:				9 Jan 1998
# Whom:					John Polstra <jdp@@polstra.com>
d7 1
a7 1
# $Id: Makefile,v 1.41 1998/12/05 04:00:40 obrien Exp $
d28 2
a29 1
BUILD_DEPENDS=  bzip2:${PORTSDIR}/archivers/bzip2
@


1.10
log
@remove unneded port. egcs is the successor.
@
text
@d1 5
a5 4
# New ports collection makefile for:	pgcc-current  - Pentium gcc
# Version required:	gcc-2.7.2 + Pentium patches current developement
# Date created:		Mi 18 Dez 1996 00:26:20 MET
# Whom:			Andreas Klemm <andreas@@klemm.gtn.com>
d7 1
a7 1
# $Id: Makefile,v 1.9 1997/10/17 05:32:43 andreas Exp $
d10 2
a11 2
DISTNAME=	gcc-2.7.2
PKGNAME=	pgcc-2.7.2c
d13 41
a53 26
MASTER_SITES=	ftp://ftp.cygnus.com/pub/egcs/snapshots/1997-09-24/ \
		ftp://ftp.ninemoons.com/pub/egcs/snapshots/1997-09-24/ \
		ftp://gd.tuwien.ac.at/gnu/egcs/snapshots/1997-09-24/ \
		ftp://ftp.ilog.fr/pub/Mirrors/egcs/snapshots/1997-09-24/ \
		ftp://ftp.goof.com/pub/pcg/egcs/snapshots/1997-09-24/ \
		http://www.goof.com/pcg/data/egcs/snapshots/1997-09-24/
DISTFILES=	egcs-970924.tar.gz

MAINTAINER=	andreas@@FreeBSD.ORG

PATCH_SITES=	http://www.goof.com/pcg/data/source/ \
                ftp://ftp.maisel.int-evry.fr/pub/linux/pentium/source/

PATCHFILES=	egcs-970924-pgcc-970924.diff.gz \
		pgcc-970924-971008.diff.gz

FETCH_DEPENDS=	${PREFIX}/bin/autoconf:${PORTSDIR}/devel/autoconf

BROKEN=		"problems during patch, PLIST needs closer look"
WRKSRC=		${WRKDIR}/egcs-970924
PATCH=		patch -p1
HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX} --with-gnu-as --with-gnu-ld \
		pentium-freebsd

MAN1=		gcc.1 g++.1 cccp.1
d56 10
a65 10
	cd ${WRKSRC} && autoconf
	cd ${WRKSRC} && ./configure
	cd ${WRKSRC} && ${MAKE} maintainer-clean

do-build:
	cd ${WRKSRC} && ${MAKE} bootstrap

do-install:
	cd ${WRKSRC} \
	&& ${MAKE} install CC="stage2/xgcc -Bstage2/" CFLAGS="-pipe -O2"
d68 26
a93 3
	${MV} ${PREFIX}/bin/c++ ${PREFIX}/bin/pc++
	${MV} ${PREFIX}/bin/g++ ${PREFIX}/bin/pg++
	${MV} ${PREFIX}/bin/gcc ${PREFIX}/bin/pgcc
d95 1
a95 1
.include <bsd.port.mk>
@


1.9
log
@Need help with this port as well, don't have the time
to fix it today. Asked Thomas (Gellekum) for help ...
Only this friday to fix it. The patching stage fails ...
The mess started with the new organization starting from
the egcs source base ...
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.8 1997/10/17 05:30:26 andreas Exp $
@


1.8
log
@My last changes
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.7 1997/10/04 14:53:09 andreas Exp $
d30 1
@


1.7
log
@cosmetic changes using portlint, a really nice tool ;-)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.6 1997/07/27 09:09:41 andreas Exp $
d12 7
a18 1
MASTER_SITES=	${MASTER_SITE_GNU}
d22 5
a26 8
PATCH_SITES=	ftp://ftp.goof.com/pub/pcg/source/ \
		ftp://ftp.maisel.int-evry.fr/pub/linux/pentium/source/ \
		ftp://ftp.pmi.saitama-med.ac.jp/pub/pcg/

PATCHFILES=	gcc-2.7.2-970628.diff.gz \
		pgcc-970628-970706.diff.gz \
		pgcc-970706-970713.diff.gz \
		pgcc-970713-970721.diff.gz
d30 2
a31 1
PATCH_DIST_STRIP=	-p1 -N -E
@


1.6
log
@- Upgraded Pentium GCC Developer Version to latest snapshot release 970721
- Changed PATCH_SITES, added some more mirrors and now use ftp sites
- Autoconf is needed in FETCH_DEPENDS, since I have to re-create
  the configure script just before the pre-configure target
- pre-configure target now does the suggested maintainer-clean
- post-install renames c++, g++, gcc to pc++, pg++ and pgcc
  to avoid conflicting usage with the systems default compiler.
- updated PLIST
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.5 1997/07/20 16:03:14 andreas Exp $
d14 5
a18 3
PATCH_SITES=    ftp://ftp.goof.com/pub/pcg/source/ \
                ftp://ftp.maisel.int-evry.fr/pub/linux/pentium/source/ \
                ftp://ftp.pmi.saitama-med.ac.jp/pub/pcg/
a23 2

MAINTAINER=	andreas@@FreeBSD.ORG
@


1.5
log
@removed mirror site which doesn't seem to be valid anymore
Submitted by:	Ryuichiro ARAKI <raraki@@saitama-med.ac.jp>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.4 1997/06/10 16:36:36 andreas Exp $
d14 8
a21 15
# note this is an http site 
PATCH_SITES=	http://www.nightflight.com/~pcg/data/ \
		http://www.goof.com/pcg/data/ \
		http://www.iti.cs.tu-bs.de/soft/www.goof.com/pcg/data/ \
		http://linux.cis.nctu.edu.tw/pcg/data/

PATCHFILES=	gcc-2.7.2-970222.diff.gz \
		pgcc-970222-970308.diff.gz \
		pgcc-970308-970329.diff.gz \
		pgcc-970329-970404.diff.gz \
		pgcc-970404-970426.diff.gz \
		pgcc-970426-970502.diff.gz \
		pgcc-970502-970509.diff.gz
#		This one makes configure fail:
#		pgcc-970509-970522.diff.gz
d25 2
d34 5
d43 7
a49 1
	cd ${WRKSRC} && ${MAKE} install CC="stage2/xgcc -Bstage2/" CFLAGS="-pipe -O2"
@


1.4
log
@reordered ftp sites (USA sites first)
removed patch-ac (dunno how this patch made it again into
my patches directory, thanks Satoshi for telling me !)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1997/06/08 12:58:59 andreas Exp $
a17 1
		http://www.pmi.saitama-med.ac.jp/pcg/data/ \
@


1.3
log
@update pgcc-current port.
Please note, that I left out the very last diff, because after
that configure doesn't work properly anymore.
PR:
Reviewed by:
Submitted by:
Obtained from:
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.2 1996/12/24 05:29:43 asami Exp $
d15 1
a15 2
PATCH_SITES=	http://www.iti.cs.tu-bs.de/soft/www.goof.com/pcg/data/ \
		http://www.nightflight.com/~pcg/data/ \
d17 1
@


1.2
log
@Minor cleanup (shorten PKGNAME, remove unnecessary WRKSRC).
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1996/12/18 16:40:16 andreas Exp $
d15 5
a19 2
PATCH_SITES=    http://www.nightflight.com/~pcg/data/
PATCHFILES=	gcc-2.7.2-961122.diff.gz
d21 11
a31 1
MAINTAINER=	andreas@@klemm.gtn.com
d35 3
a37 1
CONFIGURE_ARGS=	--prefix=${PREFIX} --with-gnu-as --with-gnu-ld pentium-freebsd
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
d10 1
a10 1
PKGNAME=	pgcc-2.7.2-current
a19 1
WRKSRC=		${WRKDIR}/${DISTNAME}
@


1.1.1.1
log
@pgcc-current is a developer release of gcc 2.7.2 with pentium
optimizations. The motivation to make a separate pgcc port is, to
provide two versions, an official release, which is missing the
leading edge of developement and an interesting current version,
which fixes some things and might breake (or not) others.

Fact is, that one is able to compile and run a complete FreeBSD-current
kernel without trouble and so closes 2 PR's.

>Number:         1221
>Category:       bino

and possibly
>Number:         1222
>Category:       ports (should be tested by the submitter.
@
text
@@
