pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/45256: lang/gcc46 not working properly on Solaris
The following reply was made to PR pkg/45256; it has been noted by GNATS.
From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc:
Subject: Re: pkg/45256: lang/gcc46 not working properly on Solaris
Date: Tue, 16 Aug 2011 21:17:31 +0200
--AhhlLboLdkugWU4S
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Mon, Aug 15, 2011 at 07:45:00AM +0000,
joern.clausen%uni-bielefeld.de@localhost wrote:
> >Number: 45256
> >Category: pkg
> >Synopsis: lang/gcc46 not working properly on Solaris
Can you please try the attached diff (against pkgsrc-current)?
(From Kai-Uwe Eckhardt based on gcc44 changes by hans@)
(I'm not exactly sure where to put the binutils/libelf lines,
move them around if you end up with missing dependencies.)
Thomas
--AhhlLboLdkugWU4S
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="gcc46.diff"
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/gcc46/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 13 Aug 2011 14:06:22 -0000 1.2
+++ Makefile 16 Aug 2011 19:16:08 -0000
@@ -39,6 +39,14 @@
.include "options.mk"
# Determine whether to use binutils
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ARGS+= --without-gnu-ld --with-ld=/usr/bin/ld
+. if !exists(/usr/bin/gas)
+CONFIGURE_ARGS+= --without-gnu-as --with-as=/usr/bin/as
+. else
+CONFIGURE_ARGS+= --with-gnu-as --with-as=/usr/bin/gas
+.endif
+.endif
# REPLACE_AWK+= gcc/testsuite/gcc.test-framework/test-framework.awk
\
# gcc/mkmap-symver.awk \
@@ -110,12 +118,11 @@
CONFIGURE_ARGS+= --with-ld=${PREFIX}/bin/gnu-ld
CONFIGURE_ARGS+= --with-libelf=${PREFIX}
MAKE_ENV+= ac_cv_func_clock_gettime=yes
+.include "../../devel/binutils/buildlink3.mk"
+.include "../../devel/libelf/buildlink3.mk"
.endif
.if ${OPSYS} == "Linux"
CONFIGURE_ARGS+= --disable-libquadmath --disable-libquadmath-support
-.else
-.include "../../devel/binutils/buildlink3.mk"
-.include "../../devel/libelf/buildlink3.mk"
.endif
CONFIGURE_ENV+= CONFIG_SHELL=${CONFIG_SHELL}
--AhhlLboLdkugWU4S--
Home |
Main Index |
Thread Index |
Old Index