diff options
author | andreas <andreas@FreeBSD.org> | 1997-07-27 17:09:43 +0800 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 1997-07-27 17:09:43 +0800 |
commit | 3f3bff09ec85e7c339bb1cb1c2144b3066ee9ae6 (patch) | |
tree | 0d373109fa206ef7399f5188fda26fbe6cfdde2b /lang | |
parent | 40a158d29c0b6b05fc247b6a9408fc66608a2d4d (diff) | |
download | freebsd-ports-gnome-3f3bff09ec85e7c339bb1cb1c2144b3066ee9ae6.tar.gz freebsd-ports-gnome-3f3bff09ec85e7c339bb1cb1c2144b3066ee9ae6.tar.zst freebsd-ports-gnome-3f3bff09ec85e7c339bb1cb1c2144b3066ee9ae6.zip |
- 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
Diffstat (limited to 'lang')
-rw-r--r-- | lang/pgcc/Makefile | 40 | ||||
-rw-r--r-- | lang/pgcc/distinfo | 12 | ||||
-rw-r--r-- | lang/pgcc/pkg-plist | 6 |
3 files changed, 30 insertions, 28 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> diff --git a/lang/pgcc/distinfo b/lang/pgcc/distinfo index fd992e1b2734..51a8d415bf6a 100644 --- a/lang/pgcc/distinfo +++ b/lang/pgcc/distinfo @@ -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 diff --git a/lang/pgcc/pkg-plist b/lang/pgcc/pkg-plist index 05ad175c1268..46afe5d737c6 100644 --- a/lang/pgcc/pkg-plist +++ b/lang/pgcc/pkg-plist @@ -1,6 +1,6 @@ -bin/c++ -bin/g++ -bin/gcc +bin/pc++ +bin/pg++ +bin/pgcc bin/gcov bin/pentium-freebsd-gcc bin/protoize |