diff options
author | mef <mef@pkgsrc.org> | 2014-10-30 21:54:03 +0000 |
---|---|---|
committer | mef <mef@pkgsrc.org> | 2014-10-30 21:54:03 +0000 |
commit | 440cc4765654ef4885186260a6a99bc49a85d298 (patch) | |
tree | 233f29739d0810af863650cdbdc6e0dd78bcff95 /cross | |
parent | d728e69caf5683ff8b696b33ff39f5c487f5b53f (diff) | |
download | pkgsrc-440cc4765654ef4885186260a6a99bc49a85d298.tar.gz |
PR pkg/49308 'CONFIG_SHELL= ksh' is only necessary for NetBSD-[5-6]* and 6.99.*
Diffstat (limited to 'cross')
-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} |