diff options
author | mef <mef@pkgsrc.org> | 2014-10-30 21:41:57 +0000 |
---|---|---|
committer | mef <mef@pkgsrc.org> | 2014-10-30 21:41:57 +0000 |
commit | 7fa4129b6566d4fa204f51567a7e660eb0c714f7 (patch) | |
tree | 1859afb88411225bf7f582481d1ed201a7af5dc2 /cross/nios2-binutils | |
parent | 517a8724ad22a9f56424b58a3eb9ad614c12cb55 (diff) | |
download | pkgsrc-7fa4129b6566d4fa204f51567a7e660eb0c714f7.tar.gz |
'CONFIG_SHELL= ksh' is only necessary for NetBSD-[5-6]* and 6.99.*
Diffstat (limited to 'cross/nios2-binutils')
-rw-r--r-- | cross/nios2-binutils/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/cross/nios2-binutils/Makefile b/cross/nios2-binutils/Makefile index e1898ed8363..f13b76b9695 100644 --- a/cross/nios2-binutils/Makefile +++ b/cross/nios2-binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2014/10/23 10:30:10 mef Exp $ +# $NetBSD: Makefile,v 1.12 2014/10/30 21:48:47 mef Exp $ DISTNAME= binutils-2.24 PKGNAME= ${DISTNAME:S/^/nios2-/} @@ -20,9 +20,15 @@ GNU_CONFIGURE= yes USE_PKGLOCALEDIR= yes USE_GNU_CONFIGURE_HOST= no INFO_FILES= # empty -# ./configure.lineno: 3239: Syntax error: Missing '}' -# Makefile:2991: recipe for target 'configure-opcodes' failed -CONFIG_SHELL= ksh + +# follows to devel/binutils +# PR pkg/48504, ksh is sufficient for NetBSD 5.2 and NetBSD 6.1 +.include "../../mk/bsd.prefs.mk" +.if !empty(MACHINE_PLATFORM:MNetBSD-[5-6].*-*) && \ + empty(MACHINE_PLATFORM:MNetBSD-6.99.*-*) +USE_TOOLS+= ksh +CONFIG_SHELL= ksh +.endif NIOS2_TARGET= nios2-elf CONFIGURE_ARGS+= --disable-werror --target=${NIOS2_TARGET} --disable-nls |