diff options
author | Andreas Klemm <andreas@FreeBSD.org> | 1997-07-27 09:09:43 +0000 |
---|---|---|
committer | Andreas Klemm <andreas@FreeBSD.org> | 1997-07-27 09:09:43 +0000 |
commit | 0eba4f421a79c375226023d24464987072b4d330 (patch) | |
tree | e9cafb6801473ebe81ac444d3cf818b0faf7653a /lang/pgcc/Makefile | |
parent | 8f42b83b58bba4e44845b4314eac4879c3d48cd4 (diff) | |
download | ports-0eba4f421a79c375226023d24464987072b4d330.tar.gz ports-0eba4f421a79c375226023d24464987072b4d330.zip |
Notes
Diffstat (limited to 'lang/pgcc/Makefile')
-rw-r--r-- | lang/pgcc/Makefile | 40 |
1 files changed, 23 insertions, 17 deletions
diff --git a/lang/pgcc/Makefile b/lang/pgcc/Makefile index e8d7df7eef9b..fc7d44367f25 100644 --- a/lang/pgcc/Makefile +++ b/lang/pgcc/Makefile @@ -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/ - -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 +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 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> |