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


1.11
date	2010.09.30.16.53.28;	author deischen;	state Exp;
branches;
next	1.10;

1.10
date	2009.07.19.03.38.31;	author deischen;	state Exp;
branches;
next	1.9;

1.9
date	2006.12.26.16.53.47;	author deischen;	state Exp;
branches;
next	1.8;

1.8
date	2005.11.29.00.01.24;	author deischen;	state Exp;
branches;
next	1.7;

1.7
date	2002.12.01.19.10.48;	author deischen;	state Exp;
branches;
next	1.6;

1.6
date	2002.02.09.08.40.28;	author kevlo;	state Exp;
branches;
next	1.5;

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

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

1.3
date	99.06.24.11.11.12;	author sheldonh;	state Exp;
branches;
next	1.2;

1.2
date	98.01.18.09.08.41;	author steve;	state Exp;
branches;
next	1.1;

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


desc
@@


1.11
log
@Update to the 2010 version of GNAT-GPL.
@
text
@--- gcc/ada/gcc-interface/Makefile.in.orig	2010-05-30 06:46:25.000000000 -0400
+++ gcc/ada/gcc-interface/Makefile.in	2010-09-28 11:03:31.000000000 -0400
@@@@ -1166,7 +1166,7 @@@@
   GNATLIB_SHARED = gnatlib-shared-dual
 
   EH_MECHANISM=-gcc
-  THREADSLIB= -lpthread
+  THREADSLIB= $(PTHREAD_LIBS)
   GMEM_LIB = gmemlib
   LIBRARY_VERSION := $(LIB_VERSION)
 endif
@


1.10
log
@Update to the 2009 gpl edition.

Borrow some makefile foo from lang/gnat-gcc43.
@
text
@d1 3
a3 3
--- gcc/ada/gcc-interface/Makefile.in.orig	2009-05-19 07:11:52.000000000 -0400
+++ gcc/ada/gcc-interface/Makefile.in	2009-06-18 08:40:38.000000000 -0400
@@@@ -1083,7 +1083,7 @@@@
a9 1
   PREFIX_OBJS = $(PREFIX_REAL_OBJS)
d11 1
@


1.9
log
@Update to gnat GPL 2006.
@
text
@d1 3
a3 4
--- gcc/ada/Makefile.in.orig	Tue May  2 19:26:32 2006
+++ gcc/ada/Makefile.in	Mon Dec 25 11:10:56 2006
@@@@ -895,7 +895,7 @@@@
   mlib-tgt.adb<mlib-tgt-linux.adb
d6 2
a7 1
-  THREADSLIB= -lc_r
a11 9
@@@@ -1413,7 +1413,7 @@@@
 # go into the directory.  The pthreads emulation is built in the threads
 # subdirectory and copied.
 LIBGNAT_SRCS = ada.h adaint.c adaint.h argv.c cio.c cstreams.c \
-  errno.c exit.c cal.c ctrl_c.c env.c env.h \
+  errno.c exit.c cal.c ctrl_c.c env.c env.h types.h \
   raise.h raise.c sysdep.c aux-io.c init.c initialize.c seh_init.c \
   final.c tracebak.c tb-alvms.c tb-alvxw.c tb-gcc.c expect.c mkdir.c \
   socket.c gsocket.h targext.c $(EXTRA_LIBGNAT_SRCS)
@


1.8
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/ada/Makefile.in.orig	Tue May 17 09:22:45 2005
+++ gcc/ada/Makefile.in	Mon Nov 28 10:24:38 2005
@@@@ -893,7 +893,7 @@@@
d12 2
a13 1
@@@@ -1410,7 +1410,7 @@@@
d16 5
a20 6
   errno.c exit.c cal.c ctrl_c.c \
-  raise.h raise.c sysdep.c aux-io.c init.c initialize.c seh_init.c \
+  raise.h raise.c sysdep.c aux-io.c init.c initialize.c seh_init.c types.h \
   final.c tracebak.c tb-alvms.c tb-alvxw.c expect.c mkdir.c socket.c gsocket.h \
   $(EXTRA_LIBGNAT_SRCS)
 
@


1.7
log
@Update to the latest released version of GNAT (3.15p).  Also use a
new bootstrap compiler and fix so that it builds under -current.

Approved by:	portmgr
@
text
@d1 20
a20 31
*** ada/Makefile.in.orig	Thu Oct 24 04:02:15 2002
--- ada/Makefile.in	Fri Nov 22 09:12:11 2002
***************
*** 820,825 ****
--- 820,845 ----
    endif
  endif
  
+ ifeq ($(strip $(filter-out %86 freebsd%,$(arch) $(osys))),)
+   LIBGNAT_TARGET_PAIRS = \
+   a-intnam.ads<4fintnam.ads \
+   s-inmaop.adb<7sinmaop.adb \
+   s-intman.adb<5fintman.adb \
+   s-mastop.adb<5omastop.adb \
+   s-osinte.adb<5fosinte.adb \
+   s-osinte.ads<5fosinte.ads \
+   s-osprim.adb<7sosprim.adb \
+   s-taprop.adb<5ftaprop.adb \
+   s-taspri.ads<7staspri.ads \
+   s-tpopsp.adb<7stpopsp.adb \
+   system.ads<5fsystem.ads
+ 
+   SHARED_MAJOR = 1
+   soext = .so.$(SHARED_MAJOR)
+   THREADSLIB=-pthread
+   LIBRARY_VERSION := $(strip $(shell grep Library_Version $(fsrcpfx)gnatvsn.ads | sed -e 's/.*GNAT Lib v\(.*\)[ "].*/\1/'))
+ endif
+ 
  ifeq ($(strip $(filter-out mips sgi irix%,$(targ))),)
    ifeq ($(strip $(filter-out mips sgi irix6%,$(targ))),)
      LIBGNAT_TARGET_PAIRS = \
@


1.6
log
@Update to version 3.14p

PR: 34670
Submitted by: Joe Marcus Clarke <marcus@@marcuscom.com>
@
text
@d1 31
a31 37
--- ada/Makefile.in.orig	Thu May  3 07:01:07 2001
+++ ada/Makefile.in	Mon Feb  4 13:15:17 2002
@@@@ -1109,6 +1109,25 @@@@
 	$(CC) -c $(CFLAGS) -gnatpg $(ADA_INCLUDES) $<
 endif
 
+ifeq ($(strip $(filter-out %86 freebsd%,$(arch) $(osys))),)
+    LIBGNAT_TARGET_PAIRS = \
+    a-intnam.ads<4fintnam.ads \
+    s-inmaop.adb<7sinmaop.adb \
+    s-intman.adb<5fintman.adb \
+    s-mastop.adb<5omastop.adb \
+    s-osinte.adb<5fosinte.adb \
+    s-osinte.ads<5fosinte.ads \
+    s-osprim.adb<7sosprim.adb \
+    s-taprop.adb<5ftaprop.adb \
+    s-taspri.ads<7staspri.ads \
+    s-tpopsp.adb<7stpopsp.adb \
+    system.ads<5fsystem.ads
+
+    SHARED_MAJOR = 1
+    soext = .so.$(SHARED_MAJOR)
+    LIBRARY_VERSION := $(strip $(shell grep Library_Version $(fsrcpfx)gnatvsn.ads | sed -e 's/.*GNAT Lib v\(.*\)[ "].*/\1/'))
+endif
+
 ifeq ($(strip $(filter-out mips sgi irix%,$(targ))),)
   ifeq ($(strip $(filter-out mips sgi irix6%,$(targ))),)
     LIBGNAT_TARGET_PAIRS = \
@@@@ -1997,7 +2016,7 @@@@
 		$(GNATRTL_NONTASKING_OBJS) $(LIBGNAT_OBJS) $(misclib) -lm
 	cd rts; ../../xgcc -B../../ -shared $(TARGET_LIBGCC2_CFLAGS) \
 		-o libgnarl-$(LIBRARY_VERSION)$(soext) $(SO_OPTS)libgnarl-$(LIBRARY_VERSION)$(soext) \
-		$(GNATRTL_TASKING_OBJS) -l$(threadslib)
+		$(GNATRTL_TASKING_OBJS) $(threadslib)
 	cd rts; $(LN) libgnat-$(LIBRARY_VERSION)$(soext) libgnat$(soext)
 	cd rts; $(LN) libgnarl-$(LIBRARY_VERSION)$(soext) libgnarl$(soext)
 
@


1.5
log
@Update to the latest public release 3.13p.

Thanks to Samuel Tardieu <sam@@inf.enst.fr> for instigating this
update and providing some of the changes.
@
text
@d1 37
a37 49
*** ada/Makefile.in.orig	Wed Jul 19 15:08:56 2000
--- ada/Makefile.in	Sun Oct 15 01:09:35 2000
***************
*** 976,981 ****
--- 976,1002 ----
    endif
  endif
  
+ ifeq ($(strip $(filter-out %86 freebsd%,$(arch) $(osys))),)
+   LIBGNAT_TARGET_PAIRS = \
+   a-intnam.ads<4fintnam.ads \
+   s-inmaop.adb<7sinmaop.adb \
+   s-intman.adb<5fintman.adb \
+   s-mastop.adb<5omastop.adb \
+   s-osinte.adb<5fosinte.adb \
+   s-osinte.ads<5fosinte.ads \
+   s-osprim.adb<7sosprim.adb \
+   s-taprop.adb<5ftaprop.adb \
+   s-taspri.ads<7staspri.ads \
+   s-tpopsp.adb<7stpopsp.adb \
+   s-traceb.adb<5wtraceb.adb \
+   system.ads<5fsystem.ads
+ 
+   threadslib=
+   LIBRARY_VERSION := $(strip $(shell grep Library_Version $(fsrcpfx)gnatvsn.ads | sed -e 's/.*GNAT Lib v\(.*\)[ "].*/\1/'))
+   SHARED_MAJOR = 1
+   soext = .so.$(SHARED_MAJOR)
+ endif
+ 
  ifeq ($(strip $(filter-out mips sgi irix%,$(targ))),)
    ifeq ($(strip $(filter-out mips sgi irix6%,$(targ))),)
      LIBGNAT_TARGET_PAIRS = \
***************
*** 1818,1824 ****
  		$(GNATRTL_NONTASKING_OBJS) $(LIBGNAT_OBJS) $(misclib) -lm
  	cd rts; ../../xgcc -B../../ -shared $(TARGET_LIBGCC2_CFLAGS) \
  		-o libgnarl-$(LIBRARY_VERSION)$(soext) $(SO_OPTS)libgnarl-$(LIBRARY_VERSION)$(soext) \
! 		$(GNATRTL_TASKING_OBJS) -l$(threadslib)
  
  gnatlib-shared-dual:
  	$(MAKE) $(FLAGS_TO_PASS) \
--- 1839,1845 ----
  		$(GNATRTL_NONTASKING_OBJS) $(LIBGNAT_OBJS) $(misclib) -lm
  	cd rts; ../../xgcc -B../../ -shared $(TARGET_LIBGCC2_CFLAGS) \
  		-o libgnarl-$(LIBRARY_VERSION)$(soext) $(SO_OPTS)libgnarl-$(LIBRARY_VERSION)$(soext) \
! 		$(GNATRTL_TASKING_OBJS) $(threadslib)
  
  gnatlib-shared-dual:
  	$(MAKE) $(FLAGS_TO_PASS) \
@


1.4
log
@Upgrade GNAT to GNAT-3.12p, the latest public release from Ada Core
Technologies.
@
text
@d1 2
a2 2
*** ./ada/Makefile.in.orig	Fri Sep 24 08:41:35 1999
--- ./ada/Makefile.in	Tue Nov  2 10:53:14 1999
d4 2
a5 2
*** 909,914 ****
--- 909,927 ----
d14 1
d19 9
a27 2
+   s-taspri.ads<5ftaspri.ads \
+   s-tpopsp.adb<7stpopsp.adb
d31 16
d48 2
a49 1
    threadsletter=A
@


1.3
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
*** ./ada/Makefile.in.orig	Wed Jul 29 21:00:07 1998
--- ./ada/Makefile.in	Mon Aug 31 09:16:59 1998
d4 2
a5 2
*** 779,784 ****
--- 779,797 ----
d23 2
a24 2
    LIBGNAT_TARGET_PAIRS = \
    a-emstop.adb<4gemstop.adb \
@


1.2
log
@Upgrade to version 3.10p and do a little portlint cleaning.

PR:		5138
Submitted by:	Daniel M. Eischen <deischen@@iworks.InterWorks.org>
@
text
@d1 2
a2 2
*** gcc-2.7.2.1/ada/Makefile.in.orig	Sun Nov 16 09:10:32 1997
--- gcc-2.7.2.1/ada/Makefile.in	Sun Nov 16 09:14:37 1997
d4 21
a24 29
*** 815,820 ****
--- 815,821 ----
  			fsu*   | FSU*)  letter=l;;\
  			native |    *)  letter=i;;\
  		  esac;;\
+ 	        *86*-freebsd*)		letter=f ;;\
  	        mips-sgi-irix*)		letter=g ;;\
  		hppa*-hp-hpux*)		letter=h ;;\
  		*-ibm-aix4*)		letter=c ;;\
***************
*** 865,870 ****
--- 866,872 ----
  		*-*-rtems* | *-rtems*  |\
  		*-go32-msdos | *-go32  |\
  		*86*-linux*            |\
+ 		*86*-freebsd*          |\
  		mips-sni-*	       |\
  		*) \
  		\
***************
*** 920,925 ****
--- 922,928 ----
  		*-*-rtems* | *-rtems*  |\
  		*-go32-msdos | *-go32  |\
                  *86*-linux*            |\
+ 		*86*-freebsd*          |\
  		mips-sni-*	       |\
  		*-*-cygwin32*          |\
  		*-*-mingw32*           |\
@


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/ada/Makefile.in gcc/ada/Makefile.in
*** orig/ada/Makefile.in	Thu Apr  3 12:40:23 1997
--- gcc-2.7.2.1/ada/Makefile.in	Thu Apr  3 12:41:49 1997
d4 29
a32 16
*** 956,962 ****
  	$(srcdir)/../move-if-change tmp-ttypef.ads ttypef.ads
  	touch stamp-ttypef
  
! ADA_INCLUDE_DIR = $(prefix)/adainclude
  ADA_RTL_OBJ_DIR = $(libsubdir)/adalib
  
  # Note: the strings below do not make sense for Ada strings in the OS/2
--- 956,962 ----
  	$(srcdir)/../move-if-change tmp-ttypef.ads ttypef.ads
  	touch stamp-ttypef
  
! ADA_INCLUDE_DIR = $(prefix)/include/adainclude
  ADA_RTL_OBJ_DIR = $(libsubdir)/adalib
  
  # Note: the strings below do not make sense for Ada strings in the OS/2
@
