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 | a1e01b87578fcf13a93dccac7d9dc76ec0985adc (patch) | |
tree | 0567f161eb09d1279c437a78ff39118db52c97c0 /cross | |
parent | c8e0f8762181ef16b8b18d3656d8779546ca29fe (diff) | |
download | pkgsrc-a1e01b87578fcf13a93dccac7d9dc76ec0985adc.tar.gz |
Add an hack to avoid /bin/sh bug in NetBSD-6 release or prior.
PR pkg/48695.
Diffstat (limited to 'cross')
-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 |