head 1.3; access; symbols pkgsrc-2016Q4:1.2.0.22 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.20 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.18 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.16 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.14 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.12 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.10 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.8 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.6 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.4 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.2 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.1.0.20 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.18 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.16 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.14 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.12 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.10 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.8 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.6 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.4 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.2 pkgsrc-2011Q4-base:1.1; locks; strict; comment @# @; 1.3 date 2016.12.29.22.46.30; author maya; state dead; branches; next 1.2; commitid Ow92GGJ72no0PVzz; 1.2 date 2014.05.08.02.03.58; author pho; state Exp; branches; next 1.1; commitid W8hPwSNVgdE11Gzx; 1.1 date 2011.10.18.17.55.27; author hans; state Exp; branches; next ; desc @@ 1.3 log @Remove gcc45,46,47 and libs as discussed in pkgsrc-users GCC_REQD for these versions now resolves to gcc48 due to a previous commit. Please file a bug report if you are having trouble with GCC 4.8. @ text @$NetBSD: patch-ac,v 1.2 2014/05/08 02:03:58 pho Exp $ Add gcc libdir to a programs rpath so that _this gcc's_ support libraries are found. Note that there must not be a whitespace between $(LINKER_RPATH_FLAG) and the path. Otherwise the flag may be misinterpreted by linker (e.g. Apple's ld). --- gcc/Makefile.in.orig 2004-06-17 15:56:58.000000000 -0600 +++ gcc/Makefile.in @@@@ -1944,6 +1944,7 @@@@ c-omp.o : c-omp.c $(CONFIG_H) $(SYSTEM_H # Language-independent files. DRIVER_DEFINES = \ + -DLINK_LIBGCC_SPEC="\"%D $(LINKER_RPATH_FLAG)$(exec_prefix)/lib\"" \ -DSTANDARD_STARTFILE_PREFIX=\"$(unlibsubdir)/\" \ -DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \ -DSTANDARD_LIBEXEC_PREFIX=\"$(libexecdir)/gcc/\" \ @ 1.2 log @Remove the whitespace between $(LINKER_RPATH_FLAG) and the path. Otherwise the flag may be misinterpreted by linker (e.g. Apple's ld) @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 2011/10/18 17:55:27 hans Exp $ @ 1.1 log @Add patch-ac from lang/gcc44. Without it, programs built with this gcc lack the rpath to libgcc, causing all kinds of trouble. @ text @d1 6 a6 1 $NetBSD: patch-ac,v 1.2 2011/02/25 13:34:56 hans Exp $ d14 1 a14 1 + -DLINK_LIBGCC_SPEC="\"%D $(LINKER_RPATH_FLAG) $(exec_prefix)/lib\"" \ @