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 10:07:40 -0500 (CDT)
On Tue, 1 Apr 2014, Martin Husemann wrote:
> Is this the right way to test for it?
>
> .if !empty(MACHINE_PLATFORM:MNetBSD-[0-6].*-*) \
> && empty(MACHINE_PLATFORM:MNetBSD-6.99-*)
> CONFIG_SHELL= /bin/ksh
> .endif
I think you want "6.99.*-*" in the second match...
Either as given, or with my suggested modification, I get the following
on netbsd-5/i386:
make: "/x/pkgsrc/cross/binutils-mips-current/Makefile" line 25: Malformed
conditional (!empty(MACHINE_PLATFORM:MNetBSD-[0-6].*-*) &&
empty(MACHINE_PLATFORM:MNetBSD-6.99.*-*))
make: Fatal errors encountered -- cannot continue
Even though shown as a single line, the line reference is to the second
"empty()" test.
Also, need:
.include "../../mk/bsd.prefs.mk"
somewhere before the above test, then the conditionals work.
--
|/"\ 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