1996-12-18 16:40:16 +00:00
|
|
|
# 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>
|
|
|
|
#
|
1997-10-17 05:30:27 +00:00
|
|
|
# $Id: Makefile,v 1.7 1997/10/04 14:53:09 andreas Exp $
|
1996-12-18 16:40:16 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= gcc-2.7.2
|
1996-12-24 05:29:43 +00:00
|
|
|
PKGNAME= pgcc-2.7.2c
|
1996-12-18 16:40:16 +00:00
|
|
|
CATEGORIES= lang
|
1997-10-17 05:30:27 +00:00
|
|
|
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
|
1996-12-18 16:40:16 +00:00
|
|
|
|
1997-10-04 14:53:11 +00:00
|
|
|
MAINTAINER= andreas@FreeBSD.ORG
|
|
|
|
|
1997-10-17 05:30:27 +00:00
|
|
|
PATCH_SITES= http://www.goof.com/pcg/data/source/ \
|
|
|
|
ftp://ftp.maisel.int-evry.fr/pub/linux/pentium/source/
|
1997-07-27 09:09:43 +00:00
|
|
|
|
1997-10-17 05:30:27 +00:00
|
|
|
PATCHFILES= egcs-970924-pgcc-970924.diff.gz \
|
|
|
|
pgcc-970924-971008.diff.gz
|
1997-06-08 12:59:01 +00:00
|
|
|
|
1997-07-27 09:09:43 +00:00
|
|
|
FETCH_DEPENDS= ${PREFIX}/bin/autoconf:${PORTSDIR}/devel/autoconf
|
|
|
|
|
1997-10-17 05:30:27 +00:00
|
|
|
WRKSRC= ${WRKDIR}/egcs-970924
|
|
|
|
PATCH= patch -p1
|
1996-12-18 16:40:16 +00:00
|
|
|
HAS_CONFIGURE= yes
|
1997-06-08 12:59:01 +00:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --with-gnu-as --with-gnu-ld \
|
|
|
|
pentium-freebsd
|
|
|
|
|
1996-12-18 16:40:16 +00:00
|
|
|
MAN1= gcc.1 g++.1 cccp.1
|
|
|
|
|
1997-07-27 09:09:43 +00:00
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && autoconf
|
|
|
|
cd ${WRKSRC} && ./configure
|
|
|
|
cd ${WRKSRC} && ${MAKE} maintainer-clean
|
|
|
|
|
1996-12-18 16:40:16 +00:00
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && ${MAKE} bootstrap
|
|
|
|
|
|
|
|
do-install:
|
1997-07-27 09:09:43 +00:00
|
|
|
cd ${WRKSRC} \
|
|
|
|
&& ${MAKE} install CC="stage2/xgcc -Bstage2/" CFLAGS="-pipe -O2"
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MV} ${PREFIX}/bin/c++ ${PREFIX}/bin/pc++
|
|
|
|
${MV} ${PREFIX}/bin/g++ ${PREFIX}/bin/pg++
|
|
|
|
${MV} ${PREFIX}/bin/gcc ${PREFIX}/bin/pgcc
|
1996-12-18 16:40:16 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|