pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cross/binutils-mips-current Add an hack to avoid /bin/...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5fe6c52c1295
branches:  trunk
changeset: 632635:5fe6c52c1295
user:      obache <obache%pkgsrc.org@localhost>
date:      Wed Apr 02 12:49:25 2014 +0000

description:
Add an hack to avoid /bin/sh bug in NetBSD-6 release or prior.
PR pkg/48695.

diffstat:

 cross/binutils-mips-current/hacks.mk |  15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r daf4464b8c10 -r 5fe6c52c1295 cross/binutils-mips-current/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cross/binutils-mips-current/hacks.mk      Wed Apr 02 12:49:25 2014 +0000
@@ -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



Home | Main Index | Thread Index | Old Index