aboutsummaryrefslogtreecommitdiff
path: root/devel/mipsel-linux-gcc
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-02-06 04:06:15 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-02-06 04:06:15 +0000
commit2a949d17338ad161641e70e7ce648de1f7b3a58a (patch)
treea3d7122e2e2481fc68f915b0bdf9b24d68924916 /devel/mipsel-linux-gcc
parentd154ecf7f1b26a0b336d07ffa6e678681b38b121 (diff)
downloadports-2a949d17338ad161641e70e7ce648de1f7b3a58a.tar.gz
ports-2a949d17338ad161641e70e7ce648de1f7b3a58a.zip
Notes
Diffstat (limited to 'devel/mipsel-linux-gcc')
-rw-r--r--devel/mipsel-linux-gcc/Makefile4
-rw-r--r--devel/mipsel-linux-gcc/files/patch-gcc-config-fp-bit.h (renamed from devel/mipsel-linux-gcc/files/patch-gcc::config::fp-bit.h)0
-rw-r--r--devel/mipsel-linux-gcc/files/patch-libiberty-strerror.c13
-rw-r--r--devel/mipsel-linux-gcc/files/patch-libiberty-strsignal.c11
-rw-r--r--devel/mipsel-linux-gcc/pkg-plist5
5 files changed, 32 insertions, 1 deletions
diff --git a/devel/mipsel-linux-gcc/Makefile b/devel/mipsel-linux-gcc/Makefile
index 3d0d650132b2..a3ea110fd3f2 100644
--- a/devel/mipsel-linux-gcc/Makefile
+++ b/devel/mipsel-linux-gcc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gcc
PORTVERSION= 2.97
+PORTREVISION= 1
CATEGORIES= devel
#MASTER_SITES= ftp://ftp.agendacomputing.com/pub/dev/snow/snap-02212000/src/
MASTER_SITES= ${MASTER_SITE_LOCAL}
@@ -32,11 +33,12 @@ CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//} \
--enable-multilib \
--disable-shared
+ONLY_FOR_ARCHS= i386 alpha
MAKE_ENV= PATH=${PREFIX}/bin:${PATH}
USE_GMAKE= yes
USE_LIBTOOL= yes
LIBTOOLFILES= configure gcc/configure
-MAN1= ${PKGNAMEPREFIX}g++.1 ${PKGNAMEPREFIX}gcc.1
+MAN1= ${PKGNAMEPREFIX}g++.1 ${PKGNAMEPREFIX}gcc.1 cpp.1 gcov.1
GCC_REV= 2.97
diff --git a/devel/mipsel-linux-gcc/files/patch-gcc::config::fp-bit.h b/devel/mipsel-linux-gcc/files/patch-gcc-config-fp-bit.h
index 69f81099ee05..69f81099ee05 100644
--- a/devel/mipsel-linux-gcc/files/patch-gcc::config::fp-bit.h
+++ b/devel/mipsel-linux-gcc/files/patch-gcc-config-fp-bit.h
diff --git a/devel/mipsel-linux-gcc/files/patch-libiberty-strerror.c b/devel/mipsel-linux-gcc/files/patch-libiberty-strerror.c
new file mode 100644
index 000000000000..e6532458c516
--- /dev/null
+++ b/devel/mipsel-linux-gcc/files/patch-libiberty-strerror.c
@@ -0,0 +1,13 @@
+--- libiberty/strerror.c.orig Mon May 29 13:45:32 2000
++++ libiberty/strerror.c Wed Dec 11 21:03:00 2002
+@@ -465,8 +465,8 @@
+
+ #else
+
+-extern int sys_nerr;
+-extern char *sys_errlist[];
++extern const int sys_nerr;
++extern const char *sys_errlist[];
+
+ #endif
+
diff --git a/devel/mipsel-linux-gcc/files/patch-libiberty-strsignal.c b/devel/mipsel-linux-gcc/files/patch-libiberty-strsignal.c
new file mode 100644
index 000000000000..fa635baf14b1
--- /dev/null
+++ b/devel/mipsel-linux-gcc/files/patch-libiberty-strsignal.c
@@ -0,0 +1,11 @@
+--- libiberty/strsignal.c.orig Mon May 29 13:45:32 2000
++++ libiberty/strsignal.c Wed Dec 11 21:04:43 2002
+@@ -247,7 +247,7 @@
+ #else
+
+ #ifdef NSIG
+-static int sys_nsig = NSIG;
++static const int sys_nsig = NSIG;
+ #else
+ #ifdef _NSIG
+ static int sys_nsig = _NSIG;
diff --git a/devel/mipsel-linux-gcc/pkg-plist b/devel/mipsel-linux-gcc/pkg-plist
index 296cc5d8dc3f..c222c3669c2a 100644
--- a/devel/mipsel-linux-gcc/pkg-plist
+++ b/devel/mipsel-linux-gcc/pkg-plist
@@ -3,9 +3,12 @@
%%GCC_TARG%%/bin/g++
%%GCC_TARG%%/bin/gcc
bin/%%GCC_TARG%%-c++
+bin/%%GCC_TARG%%-c++filt
bin/%%GCC_TARG%%-cpp
bin/%%GCC_TARG%%-g++
bin/%%GCC_TARG%%-gcc
+bin/gccbug
+bin/gcov
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/cc1
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/cc1plus
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/collect2
@@ -28,6 +31,8 @@ lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/libgcc.a
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/single/libgcc.a
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/specs
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/tradcpp0
+lib/libiberty.a
+share/locale/sv/LC_MESSAGES/gcc.mo
@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/single
@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include
@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%