summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2014-10-30 21:54:03 +0000
committermef <mef@pkgsrc.org>2014-10-30 21:54:03 +0000
commit6eda7e97996cecd83a98b60daeacfe747ad10ba4 (patch)
tree233f29739d0810af863650cdbdc6e0dd78bcff95
parent7fa4129b6566d4fa204f51567a7e660eb0c714f7 (diff)
downloadpkgsrc-6eda7e97996cecd83a98b60daeacfe747ad10ba4.tar.gz
PR pkg/49308 'CONFIG_SHELL= ksh' is only necessary for NetBSD-[5-6]* and 6.99.*
-rw-r--r--cross/freemint-binutils/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/cross/freemint-binutils/Makefile b/cross/freemint-binutils/Makefile
index e2bd5337d72..d269ffc1e3a 100644
--- a/cross/freemint-binutils/Makefile
+++ b/cross/freemint-binutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2014/01/19 07:23:49 ryoon Exp $
+# $NetBSD: Makefile,v 1.3 2014/10/30 21:54:03 mef Exp $
DISTNAME= binutils-2.24
PKGNAME= cross-freemint-${DISTNAME}
@@ -30,6 +30,15 @@ INFO_FILES= yes
INSTALLATION_DIRS+= bin ${FREEMINT_PREFIX}
+# 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
+
pre-configure:
${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}