pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/48695 (cross/binutils-mips-current fails configuring in "opcodes" subdirectory)
The following reply was made to PR pkg/48695; it has been noted by GNATS.
From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: martin%NetBSD.org@localhost
Subject: Re: pkg/48695 (cross/binutils-mips-current fails configuring in
"opcodes" subdirectory)
Date: Tue, 1 Apr 2014 17:08:24 -0500 (CDT)
On Tue, 1 Apr 2014, Martin Husemann wrote:
> I am confused, but it seems overall we seem to agree that
>
> CONFIG_SHELL=/bin/ksh
>
> for NetBSD-6 or older works. Obata-san, could you commit the proper
> conditional for that, please?
Here's what I eventually did to make it work for me:
+Index: cross/binutils-mips-current/Makefile
+===================================================================
+RCS file: /cvsroot/pkgsrc/cross/binutils-mips-current/Makefile,v
+retrieving revision 1.1
+diff -u -p -r1.1 Makefile
+--- cross/binutils-mips-current/Makefile 31 Mar 2014 09:46:57 -0000
1.1
++++ cross/binutils-mips-current/Makefile 1 Apr 2014 22:05:44 -0000
+@@ -16,11 +16,17 @@ HOMEPAGE= http://www.gnu.org/
+ COMMENT= binutils for NetBSD/playstation2
+ LICENSE= gnu-gpl-v3 AND gnu-lgpl-v3
+
++.include "../../mk/bsd.prefs.mk"
+ BUILDLINK_TRANSFORM+= rm:-Werror
+
+ USE_TOOLS+= gm4 pod2man yacc
+ USE_LIBTOOL= yes
+
++.if !empty(MACHINE_PLATFORM:MNetBSD-[0-6].*-*) \
++ && empty(MACHINE_PLATFORM:MNetBSD-6.99.*-*)
++CONFIG_SHELL= /bin/ksh
++.endif
++
+ GNU_CONFIGURE= yes
+ CONFIGURE_ARGS+= --enable-64-bit-bfd
+ CONFIGURE_ARGS+= --target=mips--netbsdelf
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index