diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-02-06 12:06:15 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-02-06 12:06:15 +0800 |
commit | 6197dfeae860aca3f89768bfc48ce9be73dd1727 (patch) | |
tree | 364e9b85faf9d637c8d3d4a830bacbaa4cc9d65f /devel | |
parent | 44366cb30a5ccc140a574a01f8f1209658ef0f6b (diff) | |
download | freebsd-ports-gnome-6197dfeae860aca3f89768bfc48ce9be73dd1727.tar.gz freebsd-ports-gnome-6197dfeae860aca3f89768bfc48ce9be73dd1727.tar.zst freebsd-ports-gnome-6197dfeae860aca3f89768bfc48ce9be73dd1727.zip |
- Fix build under CURRENT
- Fix PLIST
- no objection from maintainer in 5 days
Diffstat (limited to 'devel')
-rw-r--r-- | devel/mipsel-linux-gcc/Makefile | 4 | ||||
-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.c | 13 | ||||
-rw-r--r-- | devel/mipsel-linux-gcc/files/patch-libiberty-strsignal.c | 11 | ||||
-rw-r--r-- | devel/mipsel-linux-gcc/pkg-plist | 5 |
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%% |