head	1.5;
access;
symbols
	pkgsrc-2013Q2:1.5.0.50
	pkgsrc-2013Q2-base:1.5
	pkgsrc-2012Q4:1.5.0.48
	pkgsrc-2012Q4-base:1.5
	pkgsrc-2011Q4:1.5.0.46
	pkgsrc-2011Q4-base:1.5
	pkgsrc-2011Q2:1.5.0.44
	pkgsrc-2011Q2-base:1.5
	pkgsrc-2009Q4:1.5.0.42
	pkgsrc-2009Q4-base:1.5
	pkgsrc-2008Q4:1.5.0.40
	pkgsrc-2008Q4-base:1.5
	pkgsrc-2008Q3:1.5.0.38
	pkgsrc-2008Q3-base:1.5
	cube-native-xorg:1.5.0.36
	cube-native-xorg-base:1.5
	pkgsrc-2008Q2:1.5.0.34
	pkgsrc-2008Q2-base:1.5
	pkgsrc-2008Q1:1.5.0.32
	pkgsrc-2008Q1-base:1.5
	pkgsrc-2007Q4:1.5.0.30
	pkgsrc-2007Q4-base:1.5
	pkgsrc-2007Q3:1.5.0.28
	pkgsrc-2007Q3-base:1.5
	pkgsrc-2007Q2:1.5.0.26
	pkgsrc-2007Q2-base:1.5
	pkgsrc-2007Q1:1.5.0.24
	pkgsrc-2007Q1-base:1.5
	pkgsrc-2006Q4:1.5.0.22
	pkgsrc-2006Q4-base:1.5
	pkgsrc-2006Q3:1.5.0.20
	pkgsrc-2006Q3-base:1.5
	pkgsrc-2006Q2:1.5.0.18
	pkgsrc-2006Q2-base:1.5
	pkgsrc-2006Q1:1.5.0.16
	pkgsrc-2006Q1-base:1.5
	pkgsrc-2005Q4:1.5.0.14
	pkgsrc-2005Q4-base:1.5
	pkgsrc-2005Q3:1.5.0.12
	pkgsrc-2005Q3-base:1.5
	pkgsrc-2005Q2:1.5.0.10
	pkgsrc-2005Q2-base:1.5
	pkgsrc-2005Q1:1.5.0.8
	pkgsrc-2005Q1-base:1.5
	pkgsrc-2004Q4:1.5.0.6
	pkgsrc-2004Q4-base:1.5
	pkgsrc-2004Q3:1.5.0.4
	pkgsrc-2004Q3-base:1.5
	pkgsrc-2004Q2:1.5.0.2
	pkgsrc-2004Q2-base:1.5
	pkgsrc-2004Q1:1.4.0.2
	pkgsrc-2004Q1-base:1.4
	pkgsrc-2003Q4:1.3.0.2
	pkgsrc-2003Q4-base:1.3;
locks; strict;
comment	@# @;


1.5
date	2004.04.10.15.47.08;	author seb;	state dead;
branches;
next	1.4;

1.4
date	2003.12.08.18.33.53;	author drochner;	state Exp;
branches;
next	1.3;

1.3
date	2003.07.16.18.19.37;	author drochner;	state Exp;
branches;
next	1.2;

1.2
date	2003.07.08.15.04.55;	author drochner;	state dead;
branches;
next	1.1;

1.1
date	2003.07.06.12.15.06;	author drochner;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Make all gcc3-* packages use a single distinfo file from gcc3/distinfo and
a single patch directory from gcc3/patches/.
Also Move gcc3-c/{Makefile.common,language.mk} into gcc3/.
@
text
@$NetBSD: patch-ae,v 1.4 2003/12/08 18:33:53 drochner Exp $

--- gcc/ada/Makefile.in.orig	2003-07-04 13:53:53.000000000 -0600
+++ gcc/ada/Makefile.in
@@@@ -1028,6 +1028,30 @@@@ ifeq ($(strip $(filter-out cygwin32% min
   EXTRA_GNATRTL_NONTASKING_OBJS = g-regist.o
 endif
 
+ifeq ($(strip $(filter-out %86 netbsdelf%,$(arch) $(osys))),)
+  LIBGNAT_TARGET_PAIRS = \
+    a-numaux.adb<86numaux.adb \
+    a-numaux.ads<86numaux.ads \
+    a-intnam.ads<4netbsdintnam.ads \
+    s-inmaop.adb<7sinmaop.adb \
+    s-intman.adb<5netbsdintman.adb \
+    s-mastop.adb<5omastop.adb \
+    s-osinte.adb<5netbsdosinte.adb \
+    s-osinte.ads<5netbsdosinte.ads \
+    s-osprim.adb<5posprim.adb \
+    s-parame.adb<5netbsdparame.adb \
+    s-taprop.adb<5netbsdtaprop.adb \
+    s-tasinf.ads<5ftasinf.ads \
+    s-taspri.ads<7staspri.ads \
+    s-tpopse.adb<5netbsdtpopse.adb \
+    s-tpopsp.adb<7netbsdtpopsp.adb \
+    system.ads<5netbsdsystem.ads
+
+  THREADSLIB=-pthread
+  EXTRA_GNATRTL_TASKING_OBJS=adasignal.o ada_lwp_self.o
+
+endif
+
 # The runtime library for gnat comprises two directories.  One contains the
 # Ada source files that the compiler (gnat1) needs -- these files are listed
 # by ADA_INCLUDE_SRCS -- and the other contains the object files and their
@@@@ -1609,7 +1633,7 @@@@ gnattools2: ../stamp-tools
 	  TOOLSCASE=native \
 	  ../../gnatchop$(exeext) ../../gnat$(exeext) ../../gnatkr$(exeext) \
 	  ../../gnatls$(exeext) ../../gnatprep$(exeext) \
-	  ../../gnatpsta$(exeext) ../../gnatxref$(exeext) \
+	  ../../gnatxref$(exeext) \
           ../../gnatfind$(exeext) ../../gnatname$(exeext)
 
 # These tools are only built for the native version.
@


1.4
log
@add tasking support, developed by John R. Shannon, submitted by
PR pkg/23627
This requires native pthreads, so it is for -current only.
@
text
@d1 1
a1 1
$NetBSD$
@


1.3
log
@Don't build gnatpsta. It does some questionable things which don't
work on mips and powerpc at least.
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9091.
The fix therein (which was applied to the 3.3 branch does not really fix
the underlying problem, and is for powerpc only.
While I'm not an ada expert and this pkg wasn't used for more than
bootstrapping itself, I'd consider gnatpsta dispensable.
@
text
@d3 34
a36 3
--- gcc/ada/Makefile.in.orig	2003-07-11 23:20:40.000000000 +0200
+++ gcc/ada/Makefile.in	2003-07-11 23:23:22.000000000 +0200
@@@@ -1609,7 +1609,7 @@@@
@


1.2
log
@some cleanup:
-USE_NEW_TEXINFO, saves some patches
-symlink libiberty.a into build tree instead of buildlink/lib,
 saves some patches
-put common make rules into Makefile.common (for all) and
 buildaddon.mk (for all but the base "c" pkg)
@
text
@d1 1
a1 1
$NetBSD: patch-ae,v 1.1 2003/07/06 12:15:06 drochner Exp $
d3 9
a11 5
--- gcc/ada/Makefile.in.orig	2003-03-27 22:48:10.000000000 +0100
+++ gcc/ada/Makefile.in	2003-07-06 13:06:33.000000000 +0200
@@@@ -183,6 +183,8 @@@@
 #version=`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < $(srcdir)/version.c`
 #mainversion=`sed -e 's/.*\"\([0-9]*\.[0-9]*\).*/\1/' < $(srcdir)/version.c`
d13 1
a13 22
+prefix = @@prefix@@
+
 # Directory where sources are, from where we are.
 srcdir = @@srcdir@@
 VPATH = @@srcdir@@
@@@@ -242,14 +244,14 @@@@
 ALL_CPPFLAGS = $(CPPFLAGS) $(X_CPPFLAGS) $(T_CPPFLAGS)
 
 # This is where we get libiberty.a from.
-LIBIBERTY = ../../libiberty/libiberty.a
+LIBIBERTY = ${prefix}/lib/libiberty.a
 
 # How to link with both our special library facilities
 # and the system's installed libraries.
 LIBS = $(INTLLIBS) $(LIBIBERTY) $(SYSLIBS)
 LIBDEPS = $(INTLDEPS) $(LIBIBERTY)
 TOOLS_LIBS = ../../prefix.o ../../version.o $(LIBGNAT) \
-	../../../libiberty/libiberty.a $(SYSLIBS)
+	${prefix}/lib/libiberty.a $(SYSLIBS)
 
 # Specify the directories to be searched for header files.
 # Both . and srcdir are used, in that order,
@


1.1
log
@Split the gcc3 pkg into per-language pieces.
Needs some cleanup and integration; eventually lang/gcc3 can turn into
a meta-pkg.
@
text
@d1 1
a1 1
$NetBSD$
@

