From a1e01b87578fcf13a93dccac7d9dc76ec0985adc Mon Sep 17 00:00:00 2001 From: obache Date: Wed, 2 Apr 2014 12:49:25 +0000 Subject: Add an hack to avoid /bin/sh bug in NetBSD-6 release or prior. PR pkg/48695. --- cross/binutils-mips-current/hacks.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 cross/binutils-mips-current/hacks.mk (limited to 'cross/binutils-mips-current/hacks.mk') 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 -- cgit v1.2.3