head 1.7; access; symbols pkgsrc-2015Q1:1.6.0.30 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.28 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.26 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.24 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.22 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.20 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.18 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.16 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.14 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.12 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.10 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.8 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.6 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.4 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.2 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.5.0.68 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.66 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.64 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.62 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.60 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.58 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.56 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.54 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.52 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.50 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.48 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.46 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.44 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.42 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.40 pkgsrc-2008Q1:1.5.0.38 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.36 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.34 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.32 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.30 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.28 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.26 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.24 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.22 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.20 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.18 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.16 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.14 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.12 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.10 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.8 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.5.0.6 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.5.0.4 pkgsrc-2003Q4-base:1.5 netbsd-1-6-1:1.5.0.2 netbsd-1-6-1-base:1.5 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.1 netbsd-1-5-RELEASE:1.1 netbsd-1-4-PATCH003:1.1; locks; strict; comment @# @; 1.7 date 2015.04.25.10.33.29; author wiz; state dead; branches; next 1.6; commitid CG2XaBpeRQKMwXiy; 1.6 date 2011.07.15.08.47.22; author asau; state Exp; branches; next 1.5; 1.5 date 2002.09.09.03.23.07; author dmcmahill; state Exp; branches; next 1.4; 1.4 date 2002.08.12.01.53.40; author dmcmahill; state dead; branches; next 1.3; 1.3 date 2002.03.28.10.11.52; author jmc; state Exp; branches; next 1.2; 1.2 date 2002.01.03.20.40.42; author tron; state Exp; branches; next 1.1; 1.1 date 2000.09.15.23.58.48; author tron; state Exp; branches; next ; desc @@ 1.7 log @Finish move of lang/gcc to lang/gcc2. Let me know if I broke something. @ text @$NetBSD: patch-ac,v 1.6 2011/07/15 08:47:22 asau Exp $ --- libiberty/Makefile.in.orig 2011-07-12 16:13:20.000000000 +0400 +++ libiberty/Makefile.in 2011-07-12 16:41:39.000000000 +0400 @@@@ -57,7 +57,7 @@@@ LIBCFLAGS = $(CFLAGS) RANLIB = @@RANLIB@@ -PICFLAG = +PICFLAG = -fPIC -DPIC MAKEOVERRIDES = @@@@ -155,9 +155,9 @@@@ install: install_to_$(INSTALL_DEST) install-subdir install_to_libdir: all - $(INSTALL_DATA) $(TARGETLIB) $(libdir)$(MULTISUBDIR)/$(TARGETLIB)n - ( cd $(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n ) - mv -f $(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(libdir)$(MULTISUBDIR)/$(TARGETLIB) + $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n + ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n ) + mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB) @@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install install_to_tooldir: all @ 1.6 log @Staged installation support. (Also converts to static packaging list.) @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 2002/09/09 03:23:07 dmcmahill Exp $ @ 1.5 log @- pull in the last bit of changes to sync this up with the netbsd-1-6-RELEASE gcc. - enable building shared libstdc++ - add a -R to LDFLAGS in Makefile.gcc to point to the shared libs this pkg installs @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- ../gcc-2.95.3/libiberty/Makefile.in.orig Thu Aug 29 20:05:50 2002 +++ ../gcc-2.95.3/libiberty/Makefile.in @@@@ -57,7 +57,7 @@@@ CFLAGS = @@CFLAGS@@ d14 13 @ 1.4 log @pull in most recent patches to gcc-2.95.3 from the netbsd-1-6 branch. Includes fixes for sparc, alpha, and others. Should help in keeping pkgsrc running on 1.5.* systems. The patches which mirror those in the main netbsd source tree have been all put into a single distribution patch file. This makes it much easier to maintain and easier to easily see which patches are specific to pkgsrc. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2002/03/28 10:11:52 jmc Exp $ d3 5 a7 10 --- ../gcc-2.95.3/gcc/config/alpha/alpha.c.orig 2000/07/26 00:18:10 1.1.1.1 +++ ../gcc-2.95.3/gcc/config/alpha/alpha.c 2001/06/18 16:10:27 1.2 @@@@ -275,7 +275,7 @@@@ static int const cache_latency[][4] = { { 3, 30, -1 }, /* ev4 -- Bcache is a guess */ - { 2, 12, 38 }, /* ev5 -- Bcache from PC164 LMbench numbers */ + { 3, 12, 38 }, /* ev5 -- Bcache from PC164 LMbench numbers */ { 3, 13, -1 }, /* ev6 -- Ho hum, doesn't exist yet */ }; d9 2 a10 3 @@@@ -3375,7 +3375,8 @@@@ /* Write a version stamp. Don't write anything if we are running as a cross-compiler. Otherwise, use the versions in /usr/include/stamp.h. */ d12 1 a12 5 -#ifdef HAVE_STAMP_H +#if !defined(CROSS_COMPILE) && !defined(_WIN32) && !defined(__linux__) && \ + !defined(VMS) && !defined(__NetBSD__) #include #endif @ 1.3 log @Update patch set against a sync of source from gnusrc/dist/toolchain. Not very many overall changes. Main ones include 1. Support for powerpc, arm32 and vax 2. Makefile.gcc can now be included by anything which depends on gcc versions. If the version installed isn't 2.95.3 it'll add itself as a BUILD_DEPENDS. (XXX: any of the makefile's in pkgsrc should be checked and change to use this) 3. Remove special PLIST.NetBSD-sparc as it's no longer needed 4. Change post-extract loop to pick up any arch files from FILESDIR without having to hardcode all the archs 5. Remove arch restrictions as this should work on any arch supported by the main source tree as of 03/28/02 6. Add PKGREVISION as this clearly isn't stock 2.95.3 (it doesn't change gcc --version so version checks won't care). @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update "gcc" package to version 2.95.3. This is a bug fix release of version 2.95.2. This package includes all changes to "gcc" from the new toolchain in NetBSD-current. The only tested (and enabled) platform is "NetBSD-*-i386" so far. @ text @d3 2 a4 2 --- ../gcc-2.95.3/gcc/config/alpha/alpha.c.orig Mon Aug 2 21:46:08 1999 +++ ../gcc-2.95.3/gcc/config/alpha/alpha.c Thu Jan 3 20:37:53 2002 @ 1.1 log @- Add patches from NetBSD-current to fix build on i386 ELF systems. - Install into "${LOCALBASE}/gcc-2.95.2" to avoid that e.g. "bsd.pkg.mk" picks up the new compiler by accident. - Add a file "${LOCALBASE}/etc/gcc-2.95.2.mk" which makes it possible to use the new "gcc" like this: make MAKECONF=/usr/pkg/etc/gcc-2.95.2.mk @ text @d3 21 a23 26 --- ../gcc-2.95.2/gcc/config/i386/xm-netbsd.h.orig Sat Sep 16 00:17:42 2000 +++ ../gcc-2.95.2/gcc/config/i386/xm-netbsd.h Sat Sep 16 00:17:42 2000 @@@@ -0,0 +1,23 @@@@ +/* Configuration file for i386 hosts running NetBSD. + Copyright (C) 1999 Free Software Foundation, Inc. + +This file is part of GNU CC. + +GNU CC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU CC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU CC; see the file COPYING. If not, write to +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ + +#include +#include + @