Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Sep 2000 21:54:48 -0400 (EDT)
From:      jim@thehousleys.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21019: Port Update: *-rtems-gcj
Message-ID:  <200009040154.VAA01199@baby.int.thehousleys.net>

next in thread | raw e-mail | index | archive | help

>Number:         21019
>Category:       ports
>Synopsis:       Port Update: *-rtems-gcj
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 03 19:00:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     James E. Housley
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
The Housleys dot Net
>Environment:

	

>Description:

	Update the rtems java (gcj) ports to the latest patches
	from OARCorp.  This also remove some "extra" file problems.

>How-To-Repeat:

	

>Fix:

diff -ruN ../devel.old/i386-rtems-gcj/Makefile i386-rtems-gcj/Makefile
--- ../devel.old/i386-rtems-gcj/Makefile	Fri Aug 11 10:38:09 2000
+++ i386-rtems-gcj/Makefile	Fri Sep  1 22:34:44 2000
@@ -2,40 +2,40 @@
 # Date created:		9 June 2000
 # Whom:			James Housley <jim@thehousleys.net>
 #
-# $FreeBSD: ports/devel/i386-rtems-gcj/Makefile,v 1.3 2000/08/11 14:38:09 will Exp $
+# $FreeBSD: ports/devel/i386-rtems-gcj/Makefile,v 1.2 2000/08/11 04:57:18 will Exp $
 #
 
 PORTNAME=	gcj
 PORTVERSION=	2.95.2
 CATEGORIES=	devel
-MASTER_SITES=   ftp://ftp.oarcorp.com/pub/rtems/betas/rtems-4.5.0-beta/c_tools/source/ \
-		http://www.thehousleys.net/rtems-4.5.0b3/
+MASTER_SITES=   ftp://ftp.oarcorp.com/pub/rtems/snapshots/c_tools/source/ \
+		http://rtems.thehousleys.net/
 DISTFILES=	${JAVANAME}.tar.gz ${NEWLIBNAME}.tar.gz
-PATCHFILES=	${JAVANAME}-rtems-20000531.diff.gz \
-		${NEWLIBNAME}-rtems-20000606.diff.gz
-PATCH_SITES=	ftp://ftp.oarcorp.com/pub/rtems/betas/rtems-4.5.0-beta/c_tools/source/ \
-		http://www.thehousleys.net/rtems-4.5.0b3/
+PATCHFILES=	${JAVANAME}-rtems-20000724.diff.gz \
+		${NEWLIBNAME}-rtems-20000828.diff
+PATCH_SITES=	ftp://ftp.oarcorp.com/pub/rtems/snapshots/c_tools/source/ \
+		http://rtems.thehousleys.net/
 
 MAINTAINER=	jim@thehousleys.net
 
-BUILD_DEPENDS=	autoheader:${PORTSDIR}/devel/autoconf
-
 DIST_SUBDIR=	rtems
 
 LCLTARGET?=	i386-rtems
 
+PORTREVISION=	9
 JAVANAME=	gcc-2.95.2
 NEWLIBNAME=	newlib-1.8.2
 MASTERDIR=	${.CURDIR}/../i386-rtems-gcj
 PLIST=		${PKGDIR}/PLIST.${LCLTARGET}
 
-BUILD_DEPENDS=	${LCLTARGET}-gcc:${PORTSDIR}/devel/${LCLTARGET}-gcc
+BUILD_DEPENDS=	autoheader:${PORTSDIR}/devel/autoconf \
+		${LCLTARGET}-gcc:${PORTSDIR}/devel/${LCLTARGET}-gcc
 RUN_DEPENDS=	${LCLTARGET}-gcc:${PORTSDIR}/devel/${LCLTARGET}-gcc
 
 PKGNAMEPREFIX=	${LCLTARGET}-
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-ALL_TARGET=	all info
+ALL_TARGET=	all
 
 CONFIGURE_TARGET?=	--target=${LCLTARGET}
 CONFIGURE_ARGS?=	--with-gnu-as --with-gnu-ld --with-newlib --verbose \
diff -ruN ../devel.old/i386-rtems-gcj/files/md5 i386-rtems-gcj/files/md5
--- ../devel.old/i386-rtems-gcj/files/md5	Mon Jul 10 00:32:09 2000
+++ i386-rtems-gcj/files/md5	Fri Sep  1 22:37:39 2000
@@ -1,4 +1,4 @@
-MD5 (rtems/gcc-2.95.2-rtems-20000531.diff.gz) = e62392e923fcfb4b472b5440903c618e
 MD5 (rtems/gcc-2.95.2.tar.gz) = 1bf15194e6b99d088133b1d28176d949
-MD5 (rtems/newlib-1.8.2-rtems-20000606.diff.gz) = ab84b0f07d4c07756ac37861679e4f5d
 MD5 (rtems/newlib-1.8.2.tar.gz) = b4df8090127da174e42852dd200a42db
+MD5 (rtems/gcc-2.95.2-rtems-20000724.diff.gz) = 124dd38318d144559a68bd85a3825f8b
+MD5 (rtems/newlib-1.8.2-rtems-20000828.diff) = 50cb8cd7b913573537265007b4869eff
diff -ruN ../devel.old/i386-rtems-gcj/patches/patch-aa i386-rtems-gcj/patches/patch-aa
--- ../devel.old/i386-rtems-gcj/patches/patch-aa	Mon Jul 10 00:32:09 2000
+++ i386-rtems-gcj/patches/patch-aa	Fri Sep  1 21:16:21 2000
@@ -1,21 +1,38 @@
---- gcc/Makefile.in.orig	Fri Aug 13 03:46:55 1999
-+++ gcc/Makefile.in	Mon Jun 12 22:04:15 2000
-@@ -2590,18 +2590,6 @@
- 
- # Install the man pages.
- install-man: installdirs $(srcdir)/gcc.1 $(srcdir)/cccp.1 lang.install-man
--	-if [ -f gcc-cross$(exeext) ] ; then \
--	  rm -f $(man1dir)/$(GCC_CROSS_NAME)$(manext); \
--	  $(INSTALL_DATA) $(srcdir)/gcc.1 $(man1dir)/$(GCC_CROSS_NAME)$(manext); \
--	  chmod a-x $(man1dir)/$(GCC_CROSS_NAME)$(manext); \
--	else \
--	  rm -f $(man1dir)/$(GCC_INSTALL_NAME)$(manext); \
--	  $(INSTALL_DATA) $(srcdir)/gcc.1 $(man1dir)/$(GCC_INSTALL_NAME)$(manext); \
--	  chmod a-x $(man1dir)/$(GCC_INSTALL_NAME)$(manext); \
--	fi
--	-rm -f $(man1dir)/cccp$(manext)
--	-$(INSTALL_DATA) $(srcdir)/cccp.1 $(man1dir)/cccp$(manext)
--	-chmod a-x $(man1dir)/cccp$(manext)
- 
- # Install the library.
- install-libgcc: libgcc.a installdirs
+--- Makefile.in.orig	Fri Sep  1 21:07:00 2000
++++ Makefile.in	Fri Sep  1 21:16:11 2000
+@@ -656,9 +656,7 @@
+ 	install-autoconf \
+ 	install-automake \
+ 	install-bash \
+-	install-bfd \
+ 	install-bzip2 \
+-	install-opcodes \
+ 	install-binutils \
+ 	install-bison \
+ 	install-byacc \
+@@ -689,11 +687,9 @@
+ 	install-itcl \
+ 	install-ld \
+ 	install-libgui \
+-	install-libiberty \
+ 	install-libtool \
+ 	install-m4 \
+ 	install-make \
+-	install-mmalloc \
+ 	install-patch \
+ 	install-perl \
+ 	install-prms \
+@@ -823,13 +819,11 @@
+ 	install-target-libio \
+ 	install-target-libstdc++ \
+ 	install-target-libg++ \
+-	install-target-newlib \
+ 	install-target-libf2c \
+ 	install-target-libchill \
+ 	install-target-libobjc \
+ 	install-target-winsup \
+ 	install-target-libgloss \
+-	install-target-libiberty \
+ 	install-target-bsp \
+ 	install-target-libjava \
+ 	install-target-zlib \
diff -ruN ../devel.old/i386-rtems-gcj/patches/patch-ab i386-rtems-gcj/patches/patch-ab
--- ../devel.old/i386-rtems-gcj/patches/patch-ab	Wed Dec 31 19:00:00 1969
+++ i386-rtems-gcj/patches/patch-ab	Fri Sep  1 21:15:51 2000
@@ -0,0 +1,84 @@
+--- gcc/Makefile.in.orig	Fri Aug 13 03:46:55 1999
++++ gcc/Makefile.in	Fri Sep  1 21:15:38 2000
+@@ -400,7 +400,7 @@
+ MAYBE_USE_COLLECT2 = @maybe_use_collect2@
+ # It is convenient for configure to add the assignment at the beginning,
+ # so don't override it here.
+-USE_COLLECT2 = collect2$(exeext)
++USE_COLLECT2 = 
+ 
+ # List of extra C and assembler files to add to libgcc1.a.
+ # Assembler files should have names ending in `.asm'.
+@@ -437,7 +437,7 @@
+ 
+ # A list of all the language-specific executables.
+ # This is overridden by configure.
+-COMPILERS = cc1$(exeext) @all_compilers@
++COMPILERS = @all_compilers@
+ 
+ # List of things which should already be built whenever we try to use xgcc
+ # to compile anything (without linking).
+@@ -2432,9 +2432,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.
+-install-normal: install-common $(INSTALL_HEADERS) $(INSTALL_LIBGCC) \
+-    $(INSTALL_CPP) install-man install-info intl.install lang.install-normal \
+-    install-driver
++install-normal: install-common \
++    intl.install lang.install-normal
+ 
+ # Do nothing while making gcc with a cross-compiler. The person who
+ # makes gcc for the target machine has to know how to put a complete
+@@ -2507,51 +2506,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; \
+-	  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; \
+-	  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; \
+-	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); \
+-	    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); \
+-	    fi ; \
+-	    rm -f $(libsubdir)/SYSCALLS.c.X; \
+-	    $(INSTALL_DATA) SYSCALLS.c.X $(libsubdir)/SYSCALLS.c.X; \
+-	    chmod a-x $(libsubdir)/SYSCALLS.c.X; \
+-	fi
+-	-rm -f $(libsubdir)/cpp$(exeext)
+-	$(INSTALL_PROGRAM) cpp$(exeext) $(libsubdir)/cpp$(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); \
+-	fi
+ 
+ # Install the driver program as $(target_alias)-gcc
+ # and also as either gcc (if native) or $(gcc_tooldir)/bin/gcc.


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009040154.VAA01199>