diff options
author | obache <obache@pkgsrc.org> | 2014-04-02 12:49:25 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-04-02 12:49:25 +0000 |
commit | 6462073f716524f4ee65f09a6d61a40f23a194d9 (patch) | |
tree | 0567f161eb09d1279c437a78ff39118db52c97c0 /cross/binutils-mips-current | |
parent | a8a7ac2c55908cf8f300757a05070c0e5469212f (diff) | |
download | pkgsrc-6462073f716524f4ee65f09a6d61a40f23a194d9.tar.gz |
Add an hack to avoid /bin/sh bug in NetBSD-6 release or prior.
PR pkg/48695.
Diffstat (limited to 'cross/binutils-mips-current')
-rw-r--r-- | cross/binutils-mips-current/hacks.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cross/binutils-mips-current/hacks.mk b/cross/binutils-mips-current/hacks.mk new file mode 100644 index 00000000000..b51893f5569 --- /dev/null +++ b/cross/binutils-mips-current/hacks.mk @@ -0,0 +1,15 @@ +# $NetBSD: hacks.mk,v 1.1 2014/04/02 12:49:25 obache Exp $ + +.if !defined(BINUTILS_MIPS_CURRENT_HACKS_MK) +BINUTILS_MIPS_CURRENT_HACKS_MK= # defined + +# +# Hit a bug of /bin/sh in NetBSD-6 release or prior. +# PR pkg/48695 +# +.if !empty(MACHINE_PLATFORM:MNetBSD-[0-6].*-*) \ + && empty(MACHINE_PLATFORM:MNetBSD-6.99-*-*) +CONFIG_SHELL= /bin/ksh +.endif + +.endif # BINUTILS_MIPS_CURRENT_HACKS_MK |