head	1.6;
access;
symbols
	RELEASE_8_3_0:1.6
	RELEASE_9_0_0:1.6
	RELEASE_7_4_0:1.6
	RELEASE_8_2_0:1.6
	RELEASE_6_EOL:1.6
	RELEASE_8_1_0:1.5
	RELEASE_7_3_0:1.5
	RELEASE_8_0_0:1.5
	RELEASE_7_2_0:1.4
	RELEASE_7_1_0:1.4
	RELEASE_6_4_0:1.4
	RELEASE_5_EOL:1.4
	RELEASE_7_0_0:1.4
	RELEASE_6_3_0:1.4
	PRE_XORG_7:1.4
	RELEASE_4_EOL:1.4
	RELEASE_6_2_0:1.4
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.3
	RELEASE_5_3_0:1.3
	RELEASE_4_10_0:1.3
	RELEASE_5_2_1:1.3
	RELEASE_5_2_0:1.3
	RELEASE_4_9_0:1.3
	RELEASE_5_1_0:1.3
	RELEASE_4_8_0:1.3
	RELEASE_5_0_0:1.3
	RELEASE_4_7_0:1.3
	RELEASE_4_6_2:1.3
	RELEASE_4_6_1:1.3
	RELEASE_4_6_0:1.3
	RELEASE_5_0_DP1:1.3
	RELEASE_4_5_0:1.3
	RELEASE_4_4_0:1.3
	RELEASE_4_3_0:1.3
	RELEASE_4_2_0:1.3
	RELEASE_4_1_1:1.3
	RELEASE_4_1_0:1.3
	RELEASE_3_5_0:1.3
	RELEASE_4_0_0:1.3
	RELEASE_3_4_0:1.3
	RELEASE_3_3_0:1.2
	RELEASE_3_2_0:1.1
	RELEASE_3_1_0:1.1
	RELEASE_2_2_8:1.1
	RELEASE_3_0_0:1.1
	RELEASE_2_2_7:1.1
	RELEASE_2_2_6:1.1
	RELEASE_2_2_5:1.1;
locks; strict;
comment	@# @;


1.6
date	2010.09.30.16.53.28;	author deischen;	state Exp;
branches;
next	1.5;

1.5
date	2009.07.19.03.38.31;	author deischen;	state Exp;
branches;
next	1.4;

1.4
date	2005.11.29.00.01.24;	author deischen;	state Exp;
branches;
next	1.3;

1.3
date	99.11.09.12.33.32;	author deischen;	state Exp;
branches;
next	1.2;

1.2
date	99.06.24.11.11.09;	author sheldonh;	state Exp;
branches;
next	1.1;

1.1
date	97.09.25.08.47.49;	author asami;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Update to the 2010 version of GNAT-GPL.
@
text
@--- gcc/Makefile.in.orig	2010-09-28 11:10:55.000000000 -0400
+++ gcc/Makefile.in	2010-09-28 11:13:07.000000000 -0400
@@@@ -3944,7 +3944,7 @@@@
 # Install the driver last so that the window when things are
 # broken is small.
 install: install-common $(INSTALL_HEADERS) \
-    install-cpp install-man install-info install-@@POSUB@@ \
+    install-cpp install-man install-@@POSUB@@ \
     install-driver
 
 # Handle cpp installation.
@


1.5
log
@Update to the 2009 gpl edition.

Borrow some makefile foo from lang/gnat-gcc43.
@
text
@d1 3
a3 3
--- gcc/Makefile.in.orig	2009-06-18 08:32:18.000000000 -0400
+++ gcc/Makefile.in	2009-06-18 08:32:34.000000000 -0400
@@@@ -3923,7 +3923,7 @@@@
@


1.4
log
@Update the antiquated version of the GNAT compiler to the GPL-2005
version.

Note that this version now produces executables that are
covered by the GPL as opposed to the previous version which was
covered by the modified GPL.

Also note that the GNAT sources in the stock GCC-4 tree are
not under this restriction.  A new port based on the sources
in GCC-4 will come when I get the time.
@
text
@d1 3
a3 3
--- gcc/Makefile.in.orig	Wed Nov 23 23:55:21 2005
+++ gcc/Makefile.in	Thu Nov 24 10:47:11 2005
@@@@ -2871,7 +2871,7 @@@@
d6 1
a6 1
 install: install-common $(INSTALL_HEADERS) $(INSTALL_LIBGCC) \
d9 1
a9 1
     lang.install-normal install-driver
@


1.3
log
@Upgrade GNAT to GNAT-3.12p, the latest public release from Ada Core
Technologies.
@
text
@d1 11
a11 57
*** ./Makefile.in.orig	Fri Nov  5 19:52:38 1999
--- ./Makefile.in	Sat Nov  6 10:07:16 1999
***************
*** 152,158 ****
  ENQUIRE_LDFLAGS = $(LDFLAGS)
  
  # Sed command to transform gcc to installed name.  Overwritten by configure.
! program_transform_name = -e s,x,x,
  program_transform_cross_name = -e s,^,$(target_alias)-,
  
  # Tools to use when building a cross-compiler.
--- 152,158 ----
  ENQUIRE_LDFLAGS = $(LDFLAGS)
  
  # Sed command to transform gcc to installed name.  Overwritten by configure.
! program_transform_name = -e s,^,ada,
  program_transform_cross_name = -e s,^,$(target_alias)-,
  
  # Tools to use when building a cross-compiler.
***************
*** 2151,2157 ****
  # Install the driver last so that the window when things are
  # broken is small.
  install-normal: install-common $(INSTALL_HEADERS) $(INSTALL_LIBGCC) \
!     install-man install-info lang.install-normal install-driver
  
  # 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
--- 2151,2157 ----
  # Install the driver last so that the window when things are
  # broken is small.
  install-normal: install-common $(INSTALL_HEADERS) $(INSTALL_LIBGCC) \
!     install-man lang.install-normal install-driver
  
  # 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
***************
*** 2241,2249 ****
  # Install gcov if it was compiled.
  	-if [ -f gcov$(exeext) ]; \
  	then \
! 	    rm -f $(bindir)/gcov$(exeext); \
! 	    $(INSTALL_PROGRAM) gcov$(exeext) $(bindir)/gcov$(exeext); \
! 	    chmod a+x $(bindir)/gcov$(exeext); \
  	fi
  
  # Install the driver program as $(target_alias)-gcc
--- 2241,2249 ----
  # Install gcov if it was compiled.
  	-if [ -f gcov$(exeext) ]; \
  	then \
! 	    rm -f $(bindir)/adagcov$(exeext); \
! 	    $(INSTALL_PROGRAM) gcov$(exeext) $(bindir)/adagcov$(exeext); \
! 	    chmod a+x $(bindir)/adagcov$(exeext); \
  	fi
  
  # Install the driver program as $(target_alias)-gcc
@


1.2
log
@Update 3.10p -> 3.11p:

      * Build requires a GNAT compiler, for which the maintainer has
	created a package. For now, provide two MASTER_SITEs from which
	it is available so that it'll find its way into the FreeBSD
	distfiles.

      * Uses variables in the PLIST to reduce diff sizes in future.

      * Doesn't install info files, which are virtually duplicates of
	the ones we already have.

      * AOUT support is on its wAy OUT. Do what we can, but don't blow
	any fuses.

      * Hand maintainership over to Daniel Eischen, at the request of
	the previous maintainer.

PR:	10093
Submitted by:	Daniel Eischen <eischen@@vigrid.com>
@
text
@d1 2
a2 2
*** ./Makefile.in.orig	Wed Jun 23 02:34:31 1999
--- ./Makefile.in	Wed Jun 23 02:35:29 1999
d37 21
@


1.1
log
@Upgrade to 3.09.  This port is no longer broken.

Note you need an existing gnat compiler to build this.  (A package will do.)

PR:		3687
Submitted by:	Maurice Castro <maurice@@planet.serc.rmit.edu.au> and
		Daniel M. Eischen <deischen@@iworks.InterWorks.org>
@
text
@d1 2
a2 3
diff -c orig/Makefile.in gcc/Makefile.in
*** orig/Makefile.in	Thu Mar 27 17:32:15 1997
--- gcc-2.7.2.1/Makefile.in	Fri Apr  4 19:55:09 1997
d4 2
a5 47
*** 189,200 ****
  local_prefix = /usr/local
  # Directory in which to put host dependent programs and libraries
  exec_prefix = $(prefix)
  # Directory in which to put the executable for the command `gcc'
  bindir = $(exec_prefix)/bin
  # Directory in which to put the directories used by the compiler.
  libdir = $(exec_prefix)/lib
  # Directory in which the compiler finds executables, libraries, etc.
! libsubdir = $(libdir)/gcc-lib/$(target)/$(version)
  # Directory in which the compiler finds g++ includes.
  gxx_include_dir= $(libdir)/g++-include
  # Directory to search for site-specific includes.
--- 189,202 ----
  local_prefix = /usr/local
  # Directory in which to put host dependent programs and libraries
  exec_prefix = $(prefix)
+ # directory to hold compilers
+ compdir = $(prefix)/libexec/ada
  # Directory in which to put the executable for the command `gcc'
  bindir = $(exec_prefix)/bin
  # Directory in which to put the directories used by the compiler.
  libdir = $(exec_prefix)/lib
  # Directory in which the compiler finds executables, libraries, etc.
! libsubdir = $(libdir)
  # Directory in which the compiler finds g++ includes.
  gxx_include_dir= $(libdir)/g++-include
  # Directory to search for site-specific includes.
***************
*** 213,219 ****
  mandir = $(prefix)/man/man1
  # Directory in which to find other cross-compilation tools and headers.
  # Used in install-cross.
! tooldir = $(exec_prefix)/$(target)
  # Dir for temp files.
  tmpdir = /tmp
  
--- 215,221 ----
  mandir = $(prefix)/man/man1
  # Directory in which to find other cross-compilation tools and headers.
  # Used in install-cross.
! tooldir = $(exec_prefix)
  # Dir for temp files.
  tmpdir = /tmp
  
***************
*** 1141,1148 ****
d7 27
a33 86
  gcc.o: gcc.c $(CONFIG_H) multilib.h config.status $(lang_specs_files)
  	$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
    -DSTANDARD_STARTFILE_PREFIX=\"$(libdir)/\" \
!   -DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc-lib/\" \
    -DDEFAULT_TARGET_VERSION=\"$(version)\" \
    -DDEFAULT_TARGET_MACHINE=\"$(target)\" \
    -DTOOLDIR_BASE_PREFIX=\"$(exec_prefix)/\" \
--- 1143,1152 ----
  
  gcc.o: gcc.c $(CONFIG_H) multilib.h config.status $(lang_specs_files)
  	$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+   -DFREEBSD_NATIVE \
+   -DFREEBSD_PREFIX=\"$(prefix)\" \
    -DSTANDARD_STARTFILE_PREFIX=\"$(libdir)/\" \
!   -DSTANDARD_EXEC_PREFIX=\"$(libdir)/\" \
    -DDEFAULT_TARGET_VERSION=\"$(version)\" \
    -DDEFAULT_TARGET_MACHINE=\"$(target)\" \
    -DTOOLDIR_BASE_PREFIX=\"$(exec_prefix)/\" \
***************
*** 2055,2069 ****
  # Create the installation directory.
  install-dir:
  	-if [ -d $(libdir) ] ; then true ; else mkdir $(libdir) ; chmod a+rx $(libdir) ; fi
- 	-if [ -d $(libdir)/gcc-lib ] ; then true ; else mkdir $(libdir)/gcc-lib ; chmod a+rx $(libdir)/gcc-lib ; fi
  # This dir isn't currently searched by cpp.
  #	-if [ -d $(libdir)/gcc-lib/include ] ; then true ; else mkdir $(libdir)/gcc-lib/include ; chmod a+rx $(libdir)/gcc-lib/include ; fi
! 	-if [ -d $(libdir)/gcc-lib/$(target) ] ; then true ; else mkdir $(libdir)/gcc-lib/$(target) ; chmod a+rx $(libdir)/gcc-lib/$(target) ; fi
! 	-if [ -d $(libdir)/gcc-lib/$(target)/$(version) ] ; then true ; else mkdir $(libdir)/gcc-lib/$(target)/$(version) ; chmod a+rx $(libdir)/gcc-lib/$(target)/$(version) ; fi
! 	-if [ -d $(libdir)/gcc-lib/$(target)/$(version)/include ] ; then true ; else mkdir $(libdir)/gcc-lib/$(target)/$(version)/include ; chmod a+rx $(libdir)/gcc-lib/$(target)/$(version)/include ; fi
  	-if [ -d $(bindir) ] ; then true ; else mkdir $(bindir) ; chmod a+rx $(bindir) ; fi
  	-if [ -d $(includedir) ] ; then true ; else mkdir $(includedir) ; chmod a+rx $(includedir) ; fi
  	-if [ -d $(tooldir) ] ; then true ; else mkdir $(tooldir) ; chmod a+rx $(tooldir) ; fi
  	-if [ -d $(assertdir) ] ; then true ; else mkdir $(assertdir) ; chmod a+rx $(assertdir) ; fi
  	-if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; chmod a+rx $(infodir) ; fi
  # We don't use mkdir -p to create the parents of mandir,
--- 2059,2073 ----
  # Create the installation directory.
  install-dir:
  	-if [ -d $(libdir) ] ; then true ; else mkdir $(libdir) ; chmod a+rx $(libdir) ; fi
  # This dir isn't currently searched by cpp.
  #	-if [ -d $(libdir)/gcc-lib/include ] ; then true ; else mkdir $(libdir)/gcc-lib/include ; chmod a+rx $(libdir)/gcc-lib/include ; fi
! #	-if [ -d $(libdir)/gcc-lib/$(target) ] ; then true ; else mkdir $(libdir)/gcc-lib/$(target) ; chmod a+rx $(libdir)/gcc-lib/$(target) ; fi
! #	-if [ -d $(libdir)/gcc-lib/$(target)/$(version) ] ; then true ; else mkdir $(libdir)/gcc-lib/$(target)/$(version) ; chmod a+rx $(libdir)/gcc-lib/$(target)/$(version) ; fi
! #	-if [ -d $(libdir)/gcc-lib/$(target)/$(version)/include ] ; then true ; else mkdir $(libdir)/gcc-lib/$(target)/$(version)/include ; chmod a+rx $(libdir)/gcc-lib/$(target)/$(version)/include ; fi
  	-if [ -d $(bindir) ] ; then true ; else mkdir $(bindir) ; chmod a+rx $(bindir) ; fi
  	-if [ -d $(includedir) ] ; then true ; else mkdir $(includedir) ; chmod a+rx $(includedir) ; fi
  	-if [ -d $(tooldir) ] ; then true ; else mkdir $(tooldir) ; chmod a+rx $(tooldir) ; fi
+ 	-if [ -d $(compdir) ] ; then true ; else mkdir $(compdir) ; chmod a+rx $(compdir) ; fi
  	-if [ -d $(assertdir) ] ; then true ; else mkdir $(assertdir) ; chmod a+rx $(assertdir) ; fi
  	-if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; chmod a+rx $(infodir) ; fi
  # We don't use mkdir -p to create the parents of mandir,
***************
*** 2077,2084 ****
  install-common: native install-dir $(EXTRA_PARTS) lang.install-common
  	for file in $(COMPILERS); do \
  	  if [ -f $$file ] ; then \
! 	    rm -f $(libsubdir)/$$file; \
! 	    $(INSTALL_PROGRAM) $$file $(libsubdir)/$$file; \
  	  else true; \
  	  fi; \
  	done
--- 2081,2088 ----
  install-common: native install-dir $(EXTRA_PARTS) lang.install-common
  	for file in $(COMPILERS); do \
  	  if [ -f $$file ] ; then \
! 	    rm -f $(compdir)/$$file; \
! 	    $(INSTALL_PROGRAM) $$file $(compdir)/$$file; \
  	  else true; \
  	  fi; \
  	done
***************
*** 2110,2117 ****
  	    $(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 the driver program as $(target)-gcc
  # and also as either gcc (if native) or $(tooldir)/bin/gcc.
--- 2114,2121 ----
  	    $(INSTALL_DATA) SYSCALLS.c.X $(libsubdir)/SYSCALLS.c.X; \
  	    chmod a-x $(libsubdir)/SYSCALLS.c.X; \
  	fi
! 	-rm -f $(compdir)/cpp$(exeext)
! 	$(INSTALL_PROGRAM) cpp$(exeext) $(compdir)/cpp$(exeext)
d35 2
a36 2
  # Install the driver program as $(target)-gcc
  # and also as either gcc (if native) or $(tooldir)/bin/gcc.
@

