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