- 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
This commit is contained in:
Andreas Klemm 1997-07-27 09:09:43 +00:00
parent 8f42b83b58
commit 0eba4f421a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=7425
3 changed files with 29 additions and 27 deletions

View file

@ -3,7 +3,7 @@
# Date created: Mi 18 Dez 1996 00:26:20 MET
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
# $Id: Makefile,v 1.4 1997/06/10 16:36:36 andreas Exp $
# $Id: Makefile,v 1.5 1997/07/20 16:03:14 andreas Exp $
#
DISTNAME= gcc-2.7.2
@ -11,24 +11,19 @@ PKGNAME= pgcc-2.7.2c
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU}
# 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/
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-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
PATCHFILES= gcc-2.7.2-970628.diff.gz \
pgcc-970628-970706.diff.gz \
pgcc-970706-970713.diff.gz \
pgcc-970713-970721.diff.gz
MAINTAINER= andreas@FreeBSD.ORG
FETCH_DEPENDS= ${PREFIX}/bin/autoconf:${PORTSDIR}/devel/autoconf
PATCH_DIST_STRIP= -p1 -N -E
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --with-gnu-as --with-gnu-ld \
@ -36,10 +31,21 @@ CONFIGURE_ARGS= --prefix=${PREFIX} --with-gnu-as --with-gnu-ld \
MAN1= gcc.1 g++.1 cccp.1
pre-configure:
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"
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
.include <bsd.port.mk>

View file

@ -1,9 +1,5 @@
MD5 (gcc-2.7.2.tar.gz) = d32bb8fd2fc1d575a4f8b812ff77ec22
MD5 (gcc-2.7.2-970222.diff.gz) = 5223394df1ee4e012318a00c17095b61
MD5 (pgcc-970222-970308.diff.gz) = 30c71d36c429033b3b119f7b174e22bf
MD5 (pgcc-970308-970329.diff.gz) = 339be95887298848ed7d7b269d8ad979
MD5 (pgcc-970329-970404.diff.gz) = 55826af52cfb7bca3c1b613ff98de14f
MD5 (pgcc-970404-970426.diff.gz) = 3135020e49cf5950b4459f75ade59825
MD5 (pgcc-970426-970502.diff.gz) = 0b4cbed6711a745dfdb1f96d24be1a62
MD5 (pgcc-970502-970509.diff.gz) = e2971ab853115395ce24210d8e5d4b08
MD5 (pgcc-970509-970522.diff.gz) = 2594b16422d7b0f89f3ecd8f150c0815
MD5 (gcc-2.7.2-970628.diff.gz) = c6c03ff078a7254fd26da6ffbbf30d29
MD5 (pgcc-970628-970706.diff.gz) = 489086e00d594ee65aaaf5978da9800a
MD5 (pgcc-970706-970713.diff.gz) = 48d40bbcdd965250abea0260fb9f1255
MD5 (pgcc-970713-970721.diff.gz) = db76e7b05db16ecf289a4ea3bf966a48

View file

@ -1,6 +1,6 @@
bin/c++
bin/g++
bin/gcc
bin/pc++
bin/pg++
bin/pgcc
bin/gcov
bin/pentium-freebsd-gcc
bin/protoize