diff options
-rw-r--r-- | cross/freemint-binutils/Makefile | 11 |
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} |