summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2003-10-29 02:44:58 +0000
committerJames E. Housley <jeh@FreeBSD.org>2003-10-29 02:44:58 +0000
commit61b76bcfa0b8f24164aad3d9351bd3b38f5125bb (patch)
treea57130b6a0dc58449d1e2dc2203258a284bef886 /devel
parentMark broken on 5.x per the usual gcc3.3 reasons. (diff)
Update to gcc-3.2.3 and newlib-1.11.0
Notes
Notes: svn path=/head/; revision=92508
Diffstat (limited to 'devel')
-rw-r--r--devel/i386-rtems-g77/Makefile28
-rw-r--r--devel/i386-rtems-g77/distinfo6
-rw-r--r--devel/i386-rtems-g77/files/patch-aa4
-rw-r--r--devel/i386-rtems-g77/files/patch-ab60
-rw-r--r--devel/i386-rtems-g77/pkg-plist.arm-rtems10
-rw-r--r--devel/i386-rtems-g77/pkg-plist.i386-rtems4
-rw-r--r--devel/i386-rtems-g77/pkg-plist.m68k-rtems4
-rw-r--r--devel/i386-rtems-g77/pkg-plist.mips-rtems4
-rw-r--r--devel/i386-rtems-g77/pkg-plist.powerpc-rtems4
-rw-r--r--devel/i386-rtems-g77/pkg-plist.sh-rtems4
-rw-r--r--devel/i386-rtems-g77/pkg-plist.sparc-rtems4
11 files changed, 74 insertions, 58 deletions
diff --git a/devel/i386-rtems-g77/Makefile b/devel/i386-rtems-g77/Makefile
index 8e40f27380b4..3e0586f48abb 100644
--- a/devel/i386-rtems-g77/Makefile
+++ b/devel/i386-rtems-g77/Makefile
@@ -6,26 +6,34 @@
#
PORTNAME= g77
-PORTVERSION= 3.2.1
+PORTVERSION= 3.2.3
PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
${MASTER_SITE_SOURCEWARE:S/$/:gcc/}
MASTER_SITE_SUBDIR= newlib \
- gcc/releases/${G77NAME}/:gcc
+ releases/${G77NAME}/:gcc
DISTFILES= ${NEWLIBNAME}.tar.gz \
${G77NAME}.tar.gz:gcc
-PATCHFILES= ${G77NAME}-rtems-20021209.diff \
- ${NEWLIBNAME}-rtems-20030120.diff
+PATCHFILES= ${G77NAME}-rtems-20030507a.diff \
+ ${NEWLIBNAME}-rtems-20030605.diff
PATCH_SITES= ftp://ftp.rtems.com/pub/rtems/snapshots/c_tools/source/ \
http://rtems.thehousleys.net/
MAINTAINER= jeh@FreeBSD.org
-COMMENT= FSF F77-gcc-3.2.1 base-port for RTEMS development
+COMMENT= FSF F77-gcc-3.2.3 base-port for RTEMS development
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500113
+BROKEN= "Does not build"
+.endif
LCLTARGET?= i386-rtems
-G77NAME= gcc-3.2.1
+GCCVERSION= 3.2.3
+G77NAME= gcc-${GCCVERSION}
+PLIST_SUB+= "GCCVERSION=${GCCVERSION}"
NEWLIBNAME= newlib-1.11.0
MASTERDIR= ${.CURDIR}/../i386-rtems-g77
PLIST= ${PKGDIR}/pkg-plist.${LCLTARGET}
@@ -37,12 +45,14 @@ RUN_DEPENDS= ${LCLTARGET}-gcc:${PORTSDIR}/devel/${LCLTARGET}-gcc
PKGNAMEPREFIX= ${LCLTARGET}-
USE_GMAKE= yes
GNU_CONFIGURE= yes
-ALL_TARGET= all
+ALL_TARGET= all info
NO_CPUCFLAGS= yes
CONFIGURE_TARGET?= --target=${LCLTARGET}
CONFIGURE_ARGS?= --with-gnu-as --with-gnu-ld --with-newlib --verbose \
- --enable-languages="f77"
+ --enable-languages="f77" \
+ --with-libiconv-prefix=${LOCALBASE} \
+ --without-included-gettext
CONFIGURE_WRKSRC?= ${WRKDIR}/build-${LCLTARGET}
CONFIGURE_SCRIPT?= ../${G77NAME}/configure
@@ -65,4 +75,4 @@ do-install:
@(cd ${WRKDIR}/build-${LCLTARGET} && \
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/i386-rtems-g77/distinfo b/devel/i386-rtems-g77/distinfo
index 4c10cd3387a1..ec8a0a1daedb 100644
--- a/devel/i386-rtems-g77/distinfo
+++ b/devel/i386-rtems-g77/distinfo
@@ -1,4 +1,4 @@
MD5 (newlib-1.11.0.tar.gz) = 74de7de0c9624cd757df63f2ed17a9b4
-MD5 (gcc-3.2.1.tar.gz) = 82c26f362a6df7d2ba5b967606bd7d9a
-MD5 (gcc-3.2.1-rtems-20021209.diff) = 70d1c95af96ec4901261810909faeffa
-MD5 (newlib-1.11.0-rtems-20030120.diff) = bd3f5e9216a5ea4c66b397908d1e683c
+MD5 (gcc-3.2.3.tar.gz) = e951123b2dfd2288c3e9337024dc9e4c
+MD5 (gcc-3.2.3-rtems-20030507a.diff) = d4adda8ccba7ad57ee36b7720eadf19c
+MD5 (newlib-1.11.0-rtems-20030605.diff) = b1dfdabd92e241d835964c6ef86aa3c9
diff --git a/devel/i386-rtems-g77/files/patch-aa b/devel/i386-rtems-g77/files/patch-aa
index c74086e2f845..c46cfa95295a 100644
--- a/devel/i386-rtems-g77/files/patch-aa
+++ b/devel/i386-rtems-g77/files/patch-aa
@@ -1,5 +1,5 @@
---- gcc-3.2.1/Makefile.in.orig Mon Oct 7 16:47:05 2002
-+++ gcc-3.2.1/Makefile.in Sun Feb 2 20:20:51 2003
+--- gcc-3.2.3/Makefile.in.orig Mon Oct 7 16:47:05 2002
++++ gcc-3.2.3/Makefile.in Sun Feb 2 20:20:51 2003
@@ -678,9 +678,7 @@
install-autoconf \
install-automake \
diff --git a/devel/i386-rtems-g77/files/patch-ab b/devel/i386-rtems-g77/files/patch-ab
index bced888e2972..59ff3af2d4ea 100644
--- a/devel/i386-rtems-g77/files/patch-ab
+++ b/devel/i386-rtems-g77/files/patch-ab
@@ -1,5 +1,5 @@
---- gcc-3.2.1/gcc/Makefile.in.orig Mon Oct 14 17:04:16 2002
-+++ gcc-3.2.1/gcc/Makefile.in Sun Feb 2 22:07:09 2003
+--- gcc-3.2.3/gcc/Makefile.in.orig Tue Jan 28 16:54:07 2003
++++ gcc-3.2.3/gcc/Makefile.in Sat Sep 6 19:45:51 2003
@@ -405,7 +405,7 @@
# It is convenient for configure to add the assignment at the beginning,
@@ -18,7 +18,7 @@
# List of things which should already be built whenever we try to use xgcc
# to compile anything (without linking).
-@@ -2530,9 +2530,8 @@
+@@ -2531,9 +2531,8 @@
# Copy the compiler files into directories where they will be run.
# Install the driver last so that the window when things are
# broken is small.
@@ -30,57 +30,57 @@
# Handle cpp installation.
install-cpp: cpp$(exeext)
-@@ -2593,53 +2592,6 @@
+@@ -2581,53 +2580,6 @@
else true; \
fi; \
done
- for file in $(EXTRA_PASSES) $(EXTRA_PROGRAMS) $(USE_COLLECT2) ..; do \
- if [ x"$$file" != x.. ]; then \
-- rm -f $(libsubdir)/$$file; \
-- $(INSTALL_PROGRAM) $$file $(libsubdir)/$$file; \
+- rm -f $(DESTDIR)$(libsubdir)/$$file; \
+- $(INSTALL_PROGRAM) $$file $(DESTDIR)$(libsubdir)/$$file; \
- else true; fi; \
- done
- for file in $(EXTRA_PARTS) ..; do \
- if [ x"$$file" != x.. ]; then \
-- rm -f $(libsubdir)/$$file; \
-- $(INSTALL_DATA) $$file $(libsubdir)/$$file; \
-- chmod a-x $(libsubdir)/$$file; \
+- rm -f $(DESTDIR)$(libsubdir)/$$file; \
+- $(INSTALL_DATA) $$file $(DESTDIR)$(libsubdir)/$$file; \
+- chmod a-x $(DESTDIR)$(libsubdir)/$$file; \
- else true; fi; \
- done
-# Don't mess with specs if it doesn't exist yet.
- -if [ -f specs ] ; then \
-- rm -f $(libsubdir)/specs; \
-- $(INSTALL_DATA) specs $(libsubdir)/specs; \
-- chmod a-x $(libsubdir)/specs; \
+- rm -f $(DESTDIR)$(libsubdir)/specs; \
+- $(INSTALL_DATA) specs $(DESTDIR)$(libsubdir)/specs; \
+- chmod a-x $(DESTDIR)$(libsubdir)/specs; \
- fi
-# Install protoize if it was compiled.
- -if [ -f protoize$(exeext) ]; \
- then \
- if [ -f gcc-cross$(exeext) ] ; then \
-- rm -f $(bindir)/$(PROTOIZE_CROSS_NAME)$(exeext); \
-- $(INSTALL_PROGRAM) protoize$(exeext) $(bindir)/$(PROTOIZE_CROSS_NAME)$(exeext); \
-- rm -f $(bindir)/$(UNPROTOIZE_CROSS_NAME)$(exeext); \
-- $(INSTALL_PROGRAM) unprotoize$(exeext) $(bindir)/$(UNPROTOIZE_CROSS_NAME)$(exeext); \
+- rm -f $(DESTDIR)$(bindir)/$(PROTOIZE_CROSS_NAME)$(exeext); \
+- $(INSTALL_PROGRAM) protoize$(exeext) $(DESTDIR)$(bindir)/$(PROTOIZE_CROSS_NAME)$(exeext); \
+- rm -f $(DESTDIR)$(bindir)/$(UNPROTOIZE_CROSS_NAME)$(exeext); \
+- $(INSTALL_PROGRAM) unprotoize$(exeext) $(DESTDIR)$(bindir)/$(UNPROTOIZE_CROSS_NAME)$(exeext); \
- else \
-- rm -f $(bindir)/$(PROTOIZE_INSTALL_NAME)$(exeext); \
-- $(INSTALL_PROGRAM) protoize$(exeext) $(bindir)/$(PROTOIZE_INSTALL_NAME)$(exeext); \
-- rm -f $(bindir)/$(UNPROTOIZE_INSTALL_NAME)$(exeext); \
-- $(INSTALL_PROGRAM) unprotoize$(exeext) $(bindir)/$(UNPROTOIZE_INSTALL_NAME)$(exeext); \
+- rm -f $(DESTDIR)$(bindir)/$(PROTOIZE_INSTALL_NAME)$(exeext); \
+- $(INSTALL_PROGRAM) protoize$(exeext) $(DESTDIR)$(bindir)/$(PROTOIZE_INSTALL_NAME)$(exeext); \
+- rm -f $(DESTDIR)$(bindir)/$(UNPROTOIZE_INSTALL_NAME)$(exeext); \
+- $(INSTALL_PROGRAM) unprotoize$(exeext) $(DESTDIR)$(bindir)/$(UNPROTOIZE_INSTALL_NAME)$(exeext); \
- fi ; \
-- rm -f $(libsubdir)/SYSCALLS.c.X; \
-- $(INSTALL_DATA) SYSCALLS.c.X $(libsubdir)/SYSCALLS.c.X; \
-- chmod a-x $(libsubdir)/SYSCALLS.c.X; \
+- rm -f $(DESTDIR)$(libsubdir)/SYSCALLS.c.X; \
+- $(INSTALL_DATA) SYSCALLS.c.X $(DESTDIR)$(libsubdir)/SYSCALLS.c.X; \
+- chmod a-x $(DESTDIR)$(libsubdir)/SYSCALLS.c.X; \
- fi
-- -rm -f $(libsubdir)/cpp0$(exeext)
-- $(INSTALL_PROGRAM) cpp0$(exeext) $(libsubdir)/cpp0$(exeext)
-- -rm -f $(libsubdir)/tradcpp0$(exeext)
-- $(INSTALL_PROGRAM) tradcpp0$(exeext) $(libsubdir)/tradcpp0$(exeext)
+- -rm -f $(DESTDIR)$(libsubdir)/cpp0$(exeext)
+- $(INSTALL_PROGRAM) cpp0$(exeext) $(DESTDIR)$(libsubdir)/cpp0$(exeext)
+- -rm -f $(DESTDIR)$(libsubdir)/tradcpp0$(exeext)
+- $(INSTALL_PROGRAM) tradcpp0$(exeext) $(DESTDIR)$(libsubdir)/tradcpp0$(exeext)
-# Install gcov if it was compiled.
- -if [ -f gcov$(exeext) ]; \
- then \
-- rm -f $(bindir)/gcov$(exeext); \
-- $(INSTALL_PROGRAM) gcov$(exeext) $(bindir)/$(GCOV_INSTALL_NAME)$(exeext); \
+- rm -f $(DESTDIR)$(bindir)/gcov$(exeext); \
+- $(INSTALL_PROGRAM) gcov$(exeext) $(DESTDIR)$(bindir)/$(GCOV_INSTALL_NAME)$(exeext); \
- fi
- $(INSTALL_SCRIPT) gccbug $(bindir)/$(GCCBUG_INSTALL_NAME)
+ $(INSTALL_SCRIPT) gccbug $(DESTDIR)$(bindir)/$(GCCBUG_INSTALL_NAME)
# Install the driver program as $(target_alias)-gcc
diff --git a/devel/i386-rtems-g77/pkg-plist.arm-rtems b/devel/i386-rtems-g77/pkg-plist.arm-rtems
index 0977b7dd1ee6..0eaeb395b0e1 100644
--- a/devel/i386-rtems-g77/pkg-plist.arm-rtems
+++ b/devel/i386-rtems-g77/pkg-plist.arm-rtems
@@ -1,9 +1,15 @@
bin/arm-rtems-g77
-lib/gcc-lib/arm-rtems/3.2.1/f771
-lib/gcc-lib/arm-rtems/3.2.1/include/g2c.h
+lib/gcc-lib/arm-rtems/%%GCCVERSION%%/f771
+lib/gcc-lib/arm-rtems/%%GCCVERSION%%/include/g2c.h
arm-rtems/lib/thumb/libg2c.la
arm-rtems/lib/thumb/libg2c.a
arm-rtems/lib/thumb/libfrtbegin.a
+arm-rtems/lib/thumb/fpu/libg2c.la
+arm-rtems/lib/thumb/fpu/libg2c.a
+arm-rtems/lib/thumb/fpu/libfrtbegin.a
arm-rtems/lib/libg2c.la
arm-rtems/lib/libg2c.a
arm-rtems/lib/libfrtbegin.a
+arm-rtems/lib/fpu/libg2c.la
+arm-rtems/lib/fpu/libg2c.a
+arm-rtems/lib/fpu/libfrtbegin.a
diff --git a/devel/i386-rtems-g77/pkg-plist.i386-rtems b/devel/i386-rtems-g77/pkg-plist.i386-rtems
index 1053d4cc253b..b34b904e2a03 100644
--- a/devel/i386-rtems-g77/pkg-plist.i386-rtems
+++ b/devel/i386-rtems-g77/pkg-plist.i386-rtems
@@ -1,6 +1,6 @@
bin/i386-rtems-g77
-lib/gcc-lib/i386-rtems/3.2.1/f771
-lib/gcc-lib/i386-rtems/3.2.1/include/g2c.h
+lib/gcc-lib/i386-rtems/%%GCCVERSION%%/f771
+lib/gcc-lib/i386-rtems/%%GCCVERSION%%/include/g2c.h
i386-rtems/lib/soft-float/nofp/libg2c.la
i386-rtems/lib/soft-float/nofp/libg2c.a
i386-rtems/lib/soft-float/nofp/libfrtbegin.a
diff --git a/devel/i386-rtems-g77/pkg-plist.m68k-rtems b/devel/i386-rtems-g77/pkg-plist.m68k-rtems
index 9e9066689d0b..8c96ccdaef97 100644
--- a/devel/i386-rtems-g77/pkg-plist.m68k-rtems
+++ b/devel/i386-rtems-g77/pkg-plist.m68k-rtems
@@ -1,6 +1,6 @@
bin/m68k-rtems-g77
-lib/gcc-lib/m68k-rtems/3.2.1/f771
-lib/gcc-lib/m68k-rtems/3.2.1/include/g2c.h
+lib/gcc-lib/m68k-rtems/%%GCCVERSION%%/f771
+lib/gcc-lib/m68k-rtems/%%GCCVERSION%%/include/g2c.h
m68k-rtems/lib/m68000/libg2c.la
m68k-rtems/lib/m68000/libg2c.a
m68k-rtems/lib/m68000/libfrtbegin.a
diff --git a/devel/i386-rtems-g77/pkg-plist.mips-rtems b/devel/i386-rtems-g77/pkg-plist.mips-rtems
index 9363ce52bafb..4c31fa4701d2 100644
--- a/devel/i386-rtems-g77/pkg-plist.mips-rtems
+++ b/devel/i386-rtems-g77/pkg-plist.mips-rtems
@@ -1,6 +1,6 @@
bin/mips-rtems-g77
-lib/gcc-lib/mips-rtems/3.2.1/f771
-lib/gcc-lib/mips-rtems/3.2.1/include/g2c.h
+lib/gcc-lib/mips-rtems/%%GCCVERSION%%/f771
+lib/gcc-lib/mips-rtems/%%GCCVERSION%%/include/g2c.h
mips-rtems/lib/el/libg2c.la
mips-rtems/lib/el/libg2c.a
mips-rtems/lib/el/libfrtbegin.a
diff --git a/devel/i386-rtems-g77/pkg-plist.powerpc-rtems b/devel/i386-rtems-g77/pkg-plist.powerpc-rtems
index a56251f98d0e..6ed90ba7fe63 100644
--- a/devel/i386-rtems-g77/pkg-plist.powerpc-rtems
+++ b/devel/i386-rtems-g77/pkg-plist.powerpc-rtems
@@ -1,6 +1,6 @@
bin/powerpc-rtems-g77
-lib/gcc-lib/powerpc-rtems/3.2.1/f771
-lib/gcc-lib/powerpc-rtems/3.2.1/include/g2c.h
+lib/gcc-lib/powerpc-rtems/%%GCCVERSION%%/f771
+lib/gcc-lib/powerpc-rtems/%%GCCVERSION%%/include/g2c.h
powerpc-rtems/lib/m403/roe/libg2c.la
powerpc-rtems/lib/m403/roe/libg2c.a
powerpc-rtems/lib/m403/roe/libfrtbegin.a
diff --git a/devel/i386-rtems-g77/pkg-plist.sh-rtems b/devel/i386-rtems-g77/pkg-plist.sh-rtems
index 5cf300a26eef..f44dc3ffc6dd 100644
--- a/devel/i386-rtems-g77/pkg-plist.sh-rtems
+++ b/devel/i386-rtems-g77/pkg-plist.sh-rtems
@@ -1,6 +1,6 @@
bin/sh-rtems-g77
-lib/gcc-lib/sh-rtems/3.2.1/f771
-lib/gcc-lib/sh-rtems/3.2.1/include/g2c.h
+lib/gcc-lib/sh-rtems/%%GCCVERSION%%/f771
+lib/gcc-lib/sh-rtems/%%GCCVERSION%%/include/g2c.h
sh-rtems/lib/ml/m2/libg2c.la
sh-rtems/lib/ml/m2/libg2c.a
sh-rtems/lib/ml/m2/libfrtbegin.a
diff --git a/devel/i386-rtems-g77/pkg-plist.sparc-rtems b/devel/i386-rtems-g77/pkg-plist.sparc-rtems
index 54b9bdb43386..accb9336625f 100644
--- a/devel/i386-rtems-g77/pkg-plist.sparc-rtems
+++ b/devel/i386-rtems-g77/pkg-plist.sparc-rtems
@@ -1,6 +1,6 @@
bin/sparc-rtems-g77
-lib/gcc-lib/sparc-rtems/3.2.1/f771
-lib/gcc-lib/sparc-rtems/3.2.1/include/g2c.h
+lib/gcc-lib/sparc-rtems/%%GCCVERSION%%/f771
+lib/gcc-lib/sparc-rtems/%%GCCVERSION%%/include/g2c.h
sparc-rtems/lib/soft/v8/libg2c.la
sparc-rtems/lib/soft/v8/libg2c.a
sparc-rtems/lib/soft/v8/libfrtbegin.a