aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc28
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-03-04 17:19:23 +0800
committerobrien <obrien@FreeBSD.org>1998-03-04 17:19:23 +0800
commit1ef4fc0823db10ab1b7f59645507f3d5ee84c3a9 (patch)
treec249af4e2ac2b576144d780ba09fe0d52c8acaac /lang/gcc28
parent137bf25ba78a1e9fdd164686246c4ce421e37469 (diff)
downloadfreebsd-ports-gnome-1ef4fc0823db10ab1b7f59645507f3d5ee84c3a9.tar.gz
freebsd-ports-gnome-1ef4fc0823db10ab1b7f59645507f3d5ee84c3a9.tar.zst
freebsd-ports-gnome-1ef4fc0823db10ab1b7f59645507f3d5ee84c3a9.zip
Build the gcc28 we install with itself rather than /usr/bin/cc.
Renamed manpages to <binanary>28.1.gz to reduce namespace conflicts. Added bin/gcc28 and bin/g++28.
Diffstat (limited to 'lang/gcc28')
-rw-r--r--lang/gcc28/Makefile10
-rw-r--r--lang/gcc28/pkg-plist8
2 files changed, 13 insertions, 5 deletions
diff --git a/lang/gcc28/Makefile b/lang/gcc28/Makefile
index c4427e22284c..4f925af2a1c4 100644
--- a/lang/gcc28/Makefile
+++ b/lang/gcc28/Makefile
@@ -4,7 +4,7 @@
# Date created: 17 Jan 1998
# Whom: David O'Brien <obrien@NUXI.com>
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1998/01/16 10:15:13 obrien Exp $
#
DISTNAME= gcc-2.8.0
@@ -16,7 +16,8 @@ MAINTAINER= obrien@FreeBSD.org
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= i386-unknown-freebsd
-MAN1= cccp.1 g++.1 gcc.1
+ALL_TARGET= bootstrap
+MAN1= cccp28.1 g++28.1 gcc28.1
post-install:
@${RM} -f ${PREFIX}/bin/c++
@@ -29,5 +30,10 @@ post-install:
${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/2.8.0/cpp ; \
do strip $$prog ; \
done)
+ ln -f ${PREFIX}/bin/gcc ${PREFIX}/bin/gcc28
+ ln -f ${PREFIX}/bin/g++ ${PREFIX}/bin/g++28
+ ${MV} ${PREFIX}/man/man1/cccp.1 ${PREFIX}/man/man1/cccp28.1
+ ${MV} ${PREFIX}/man/man1/g++.1 ${PREFIX}/man/man1/g++28.1
+ ${MV} ${PREFIX}/man/man1/gcc.1 ${PREFIX}/man/man1/gcc28.1
.include <bsd.port.mk>
diff --git a/lang/gcc28/pkg-plist b/lang/gcc28/pkg-plist
index cbad9fbce9be..2a0678e68dec 100644
--- a/lang/gcc28/pkg-plist
+++ b/lang/gcc28/pkg-plist
@@ -1,8 +1,10 @@
bin/g++
+bin/g++28
bin/protoize
bin/unprotoize
bin/gcov
bin/gcc
+bin/gcc28
bin/i386-unknown-freebsd-gcc
@unexec install-info --delete
info/cpp.info
@@ -67,7 +69,7 @@ lib/gcc-lib/i386-unknown-freebsd/2.8.0/SYSCALLS.c.X
lib/gcc-lib/i386-unknown-freebsd/2.8.0/cpp
lib/gcc-lib/i386-unknown-freebsd/2.8.0/libgcc.a
lib/gcc-lib/i386-unknown-freebsd/2.8.0/libobjc.a
-man/man1/cccp.1.gz
-man/man1/g++.1.gz
-man/man1/gcc.1.gz
+man/man1/cccp28.1.gz
+man/man1/g++28.1.gz
+man/man1/gcc28.1.gz
i386-unknown-freebsd/include/assert.h