summaryrefslogtreecommitdiff
path: root/cross/avr-binutils
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2014-10-30 21:41:57 +0000
committermef <mef@pkgsrc.org>2014-10-30 21:41:57 +0000
commit7fa4129b6566d4fa204f51567a7e660eb0c714f7 (patch)
tree1859afb88411225bf7f582481d1ed201a7af5dc2 /cross/avr-binutils
parent517a8724ad22a9f56424b58a3eb9ad614c12cb55 (diff)
downloadpkgsrc-7fa4129b6566d4fa204f51567a7e660eb0c714f7.tar.gz
'CONFIG_SHELL= ksh' is only necessary for NetBSD-[5-6]* and 6.99.*
Diffstat (limited to 'cross/avr-binutils')
-rw-r--r--cross/avr-binutils/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/cross/avr-binutils/Makefile b/cross/avr-binutils/Makefile
index 37738ca2b50..36e7384470e 100644
--- a/cross/avr-binutils/Makefile
+++ b/cross/avr-binutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2014/10/23 10:25:11 mef Exp $
+# $NetBSD: Makefile,v 1.26 2014/10/30 21:41:57 mef Exp $
DISTNAME= binutils-2.24
PKGNAME= ${DISTNAME:S/^/avr-/}
@@ -16,9 +16,15 @@ USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_GNU_CONFIGURE_HOST= no
-# ./configure.lineno: 3239: Syntax error: Missing '}'
-# Makefile:2991: recipe for target 'configure-opcodes' failed
+
+# 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
CONFIGURE_ARGS+= --disable-werror --target=avr --disable-nls