summaryrefslogtreecommitdiff
path: root/lang/pgcc/Makefile
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1996-12-18 16:40:16 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1996-12-18 16:40:16 +0000
commit9a84e6bfb5996ed0c55764056d20e30212fce7b1 (patch)
tree03a72c8b37a95d50a56d26e1970666160acc41d7 /lang/pgcc/Makefile
parentThe "17" means patchlevel 17, not "1.7". (diff)
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.
Notes
Notes: svn path=/head/; revision=5024
Diffstat (limited to 'lang/pgcc/Makefile')
-rw-r--r--lang/pgcc/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/lang/pgcc/Makefile b/lang/pgcc/Makefile
new file mode 100644
index 000000000000..801aacb74dba
--- /dev/null
+++ b/lang/pgcc/Makefile
@@ -0,0 +1,32 @@
+# 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>
+#
+# $Id$
+#
+
+DISTNAME= gcc-2.7.2
+PKGNAME= pgcc-2.7.2-current
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_GNU}
+
+# note this is an http site
+PATCH_SITES= http://www.nightflight.com/~pcg/data/
+PATCHFILES= gcc-2.7.2-961122.diff.gz
+
+MAINTAINER= andreas@klemm.gtn.com
+
+WRKSRC= ${WRKDIR}/${DISTNAME}
+PATCH_DIST_STRIP= -p1 -N -E
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX} --with-gnu-as --with-gnu-ld pentium-freebsd
+MAN1= gcc.1 g++.1 cccp.1
+
+do-build:
+ cd ${WRKSRC} && ${MAKE} bootstrap
+
+do-install:
+ cd ${WRKSRC} && ${MAKE} install CC="stage2/xgcc -Bstage2/" CFLAGS="-pipe -O2"
+
+.include <bsd.port.mk>