pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cross cross/*-binutils: allow unknown --enable-nls con...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5e145addc5d
branches:  trunk
changeset: 428239:b5e145addc5d
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Apr 26 09:47:39 2020 +0000

description:
cross/*-binutils: allow unknown --enable-nls configure option

The top-level configure script does not know this option, but it calls
several sub-configures that all know it.

diffstat:

 cross/aarch64-none-elf-binutils/Makefile        |   4 ++--
 cross/arm-none-eabi-binutils/Makefile           |   4 ++--
 cross/avr-binutils/Makefile                     |   3 ++-
 cross/cross-binutils/Makefile                   |   3 ++-
 cross/freemint-binutils/Makefile                |   7 ++++---
 cross/h8300-elf-binutils/Makefile               |   7 ++++---
 cross/mingw-binutils/Makefile                   |   3 ++-
 cross/mingw-w64-x86_64-binutils/Makefile.common |   4 ++--
 cross/nios2-binutils/Makefile                   |   3 ++-
 cross/or1k-none-elf-binutils/Makefile           |   9 +++++----
 cross/pdp11-aout-binutils/Makefile              |  11 ++++++-----
 cross/powerpc-none-elf-binutils/Makefile        |   9 +++++----
 cross/ppc-morphos-binutils/Makefile             |   3 ++-
 cross/xtensa-esp32-elf-binutils/Makefile        |  11 ++++++-----
 cross/xtensa-lx106-elf-binutils/Makefile        |  11 ++++++-----
 15 files changed, 52 insertions(+), 40 deletions(-)

diffs (truncated from 303 to 300 lines):

diff -r 3ad3ec7d4f65 -r b5e145addc5d cross/aarch64-none-elf-binutils/Makefile
--- a/cross/aarch64-none-elf-binutils/Makefile  Sun Apr 26 09:41:49 2020 +0000
+++ b/cross/aarch64-none-elf-binutils/Makefile  Sun Apr 26 09:47:39 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2020/03/20 17:52:42 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2020/04/26 09:47:39 rillig Exp $
 
 DISTNAME=      binutils-2.31.1
 PKGNAME=       cross-aarch64-none-elf-${DISTNAME}
@@ -14,7 +14,7 @@
 USE_LIBTOOL=           yes
 USE_TOOLS+=            gmake makeinfo
 GNU_CONFIGURE=         yes
-GNU_CONFIGURE_STRICT=  no # has several sub-configures
+GNU_CONFIGURE_STRICT=  no # several sub-configures know --enable-nls
 
 ARMELF_PREFIX=         ${PREFIX}/cross-aarch64-none-elf
 
diff -r 3ad3ec7d4f65 -r b5e145addc5d cross/arm-none-eabi-binutils/Makefile
--- a/cross/arm-none-eabi-binutils/Makefile     Sun Apr 26 09:41:49 2020 +0000
+++ b/cross/arm-none-eabi-binutils/Makefile     Sun Apr 26 09:47:39 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2020/03/17 21:33:24 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2020/04/26 09:47:39 rillig Exp $
 
 DISTNAME=      binutils-2.32
 PKGNAME=       cross-arm-none-eabi-${DISTNAME}
@@ -14,7 +14,7 @@
 USE_LIBTOOL=           yes
 USE_TOOLS+=            gmake makeinfo
 GNU_CONFIGURE=         yes
-GNU_CONFIGURE_STRICT=  no # several sub-configures don't know --enable-nls
+GNU_CONFIGURE_STRICT=  no # several sub-configures know --enable-nls
 
 ARMELF_PREFIX=         ${PREFIX}/cross-arm-none-eabi
 
diff -r 3ad3ec7d4f65 -r b5e145addc5d cross/avr-binutils/Makefile
--- a/cross/avr-binutils/Makefile       Sun Apr 26 09:41:49 2020 +0000
+++ b/cross/avr-binutils/Makefile       Sun Apr 26 09:47:39 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2018/07/16 12:56:48 mef Exp $
+# $NetBSD: Makefile,v 1.30 2020/04/26 09:47:39 rillig Exp $
 
 DISTNAME=              binutils-2.30
 PKGNAME=               ${DISTNAME:S/^/avr-/}
@@ -14,6 +14,7 @@
 USE_TOOLS+=            gmake
 USE_LIBTOOL=           yes
 GNU_CONFIGURE=         yes
+GNU_CONFIGURE_STRICT=  no # several sub-configures know --enable-nls
 USE_PKGLOCALEDIR=      yes
 USE_GNU_CONFIGURE_HOST=        no
 
diff -r 3ad3ec7d4f65 -r b5e145addc5d cross/cross-binutils/Makefile
--- a/cross/cross-binutils/Makefile     Sun Apr 26 09:41:49 2020 +0000
+++ b/cross/cross-binutils/Makefile     Sun Apr 26 09:47:39 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2020/01/18 23:30:15 rillig Exp $
+# $NetBSD: Makefile,v 1.6 2020/04/26 09:47:39 rillig Exp $
 #
 # GNU binutils configured to hold `as many targets as the cross system is
 # capable of using'.  Configures and builds everything except gas, which
@@ -21,6 +21,7 @@
 USE_LIBTOOL=           yes
 
 GNU_CONFIGURE=         yes
+GNU_CONFIGURE_STRICT=  no # several sub-configures know --enable-nls
 GNU_CONFIGURE_PREFIX=  ${PREFIX}/cross
 CONFIGURE_ARGS+=       --with-windres
 CONFIGURE_ARGS+=       --enable-64-bit-bfd
diff -r 3ad3ec7d4f65 -r b5e145addc5d cross/freemint-binutils/Makefile
--- a/cross/freemint-binutils/Makefile  Sun Apr 26 09:41:49 2020 +0000
+++ b/cross/freemint-binutils/Makefile  Sun Apr 26 09:47:39 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2019/06/08 10:53:27 rillig Exp $
+# $NetBSD: Makefile,v 1.6 2020/04/26 09:47:40 rillig Exp $
 
 DISTNAME=      binutils-2.24
 PKGNAME=       cross-freemint-${DISTNAME}
@@ -17,8 +17,9 @@
 
 FREEMINT_PREFIX=       ${PREFIX}/cross-freemint
 
-USE_TOOLS+=    gmake makeinfo
-GNU_CONFIGURE= yes
+USE_TOOLS+=            gmake makeinfo
+GNU_CONFIGURE=         yes
+GNU_CONFIGURE_STRICT=  no # several sub-configures know --enable-nls
 
 OBJDIR=                        ../build
 CONFIGURE_DIRS=                ${OBJDIR}
diff -r 3ad3ec7d4f65 -r b5e145addc5d cross/h8300-elf-binutils/Makefile
--- a/cross/h8300-elf-binutils/Makefile Sun Apr 26 09:41:49 2020 +0000
+++ b/cross/h8300-elf-binutils/Makefile Sun Apr 26 09:47:39 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2016/10/19 12:31:25 ryoon Exp $
+# $NetBSD: Makefile,v 1.6 2020/04/26 09:47:40 rillig Exp $
 
 DISTNAME=      binutils-2.27
 PKGNAME=       cross-h8300-elf-${DISTNAME}
@@ -13,8 +13,9 @@
 
 H8300_PREFIX=  ${PREFIX}/cross-h8300-elf
 
-USE_TOOLS+=    gmake makeinfo
-GNU_CONFIGURE= yes
+USE_TOOLS+=            gmake makeinfo
+GNU_CONFIGURE=         yes
+GNU_CONFIGURE_STRICT=  no # several sub-configures know --enable-nls
 
 OBJDIR=                        ../build
 CONFIGURE_DIRS=                ${OBJDIR}
diff -r 3ad3ec7d4f65 -r b5e145addc5d cross/mingw-binutils/Makefile
--- a/cross/mingw-binutils/Makefile     Sun Apr 26 09:41:49 2020 +0000
+++ b/cross/mingw-binutils/Makefile     Sun Apr 26 09:47:39 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2020/03/20 11:57:25 nia Exp $
+# $NetBSD: Makefile,v 1.10 2020/04/26 09:47:40 rillig Exp $
 
 DISTNAME=      binutils-2.18
 PKGNAME=       mingw-${DISTNAME:S/-src//}
@@ -12,6 +12,7 @@
 COMMENT=       GNU binutils for win32 cross-development
 
 GNU_CONFIGURE=         yes
+GNU_CONFIGURE_STRICT=  no # several sub-configures know --enable-nls
 USE_TOOLS+=            pax
 INFO_FILES=            yes
 
diff -r 3ad3ec7d4f65 -r b5e145addc5d cross/mingw-w64-x86_64-binutils/Makefile.common
--- a/cross/mingw-w64-x86_64-binutils/Makefile.common   Sun Apr 26 09:41:49 2020 +0000
+++ b/cross/mingw-w64-x86_64-binutils/Makefile.common   Sun Apr 26 09:47:39 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.5 2020/04/26 06:40:27 rillig Exp $
+# $NetBSD: Makefile.common,v 1.6 2020/04/26 09:47:40 rillig Exp $
 #
 # used by cross/mingw-w64-x86_64-binutils/Makefile
 # used by cross/mingw-w64-i686-binutils/Makefile
@@ -15,7 +15,7 @@
 DISTINFO_FILE= ${.CURDIR}/../../cross/mingw-w64-x86_64-binutils/distinfo
 
 GNU_CONFIGURE=         yes
-GNU_CONFIGURE_STRICT=  no # has sub-configures
+GNU_CONFIGURE_STRICT=  no # several sub-configures know --enable-nls
 GNU_CONFIGURE_PREFIX=  ${PREFIX}/cross/${MINGW_TARGET}
 CONFIGURE_ARGS+=       --target=${MINGW_TARGET}
 CONFIGURE_ARGS+=       --disable-nls
diff -r 3ad3ec7d4f65 -r b5e145addc5d cross/nios2-binutils/Makefile
--- a/cross/nios2-binutils/Makefile     Sun Apr 26 09:41:49 2020 +0000
+++ b/cross/nios2-binutils/Makefile     Sun Apr 26 09:47:39 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2020/01/18 23:30:16 rillig Exp $
+# $NetBSD: Makefile,v 1.17 2020/04/26 09:47:40 rillig Exp $
 
 DISTNAME=              binutils-2.24
 PKGNAME=               ${DISTNAME:S/^/nios2-/}
@@ -17,6 +17,7 @@
 USE_LANGUAGES=         c c++
 USE_LIBTOOL=           yes
 GNU_CONFIGURE=         yes
+GNU_CONFIGURE_STRICT=  no # several sub-configures know --enable-nls
 USE_GNU_CONFIGURE_HOST=        no
 INFO_FILES=            # empty
 
diff -r 3ad3ec7d4f65 -r b5e145addc5d cross/or1k-none-elf-binutils/Makefile
--- a/cross/or1k-none-elf-binutils/Makefile     Sun Apr 26 09:41:49 2020 +0000
+++ b/cross/or1k-none-elf-binutils/Makefile     Sun Apr 26 09:47:39 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2019/07/15 05:59:13 maya Exp $
+# $NetBSD: Makefile,v 1.2 2020/04/26 09:47:40 rillig Exp $
 
 DISTNAME=      binutils-2.32
 PKGNAME=       cross-or1k-none-elf-${DISTNAME}
@@ -11,9 +11,10 @@
 COMMENT=       Cross binutils for bare metal OpenRISC 1000 ELF
 LICENSE=       gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
 
-USE_LIBTOOL=   yes
-USE_TOOLS+=    gmake makeinfo
-GNU_CONFIGURE= yes
+USE_LIBTOOL=           yes
+USE_TOOLS+=            gmake makeinfo
+GNU_CONFIGURE=         yes
+GNU_CONFIGURE_STRICT=  no # several sub-configures know --enable-nls
 
 ORELF_PREFIX=          ${PREFIX}/cross-or1k-none-elf
 
diff -r 3ad3ec7d4f65 -r b5e145addc5d cross/pdp11-aout-binutils/Makefile
--- a/cross/pdp11-aout-binutils/Makefile        Sun Apr 26 09:41:49 2020 +0000
+++ b/cross/pdp11-aout-binutils/Makefile        Sun Apr 26 09:47:39 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/07/30 19:45:00 ryoon Exp $
+# $NetBSD: Makefile,v 1.4 2020/04/26 09:47:40 rillig Exp $
 
 DISTNAME=      binutils-2.31.1
 PKGNAME=       cross-pdp11-aout-${DISTNAME}
@@ -11,11 +11,12 @@
 COMMENT=       Cross binutils for PDP-11 a.out
 LICENSE=       gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
 
-USE_LIBTOOL=   yes
-USE_TOOLS+=    gmake makeinfo
-GNU_CONFIGURE= yes
+USE_LIBTOOL=           yes
+USE_TOOLS+=            gmake makeinfo
+GNU_CONFIGURE=         yes
+GNU_CONFIGURE_STRICT=  no # several sub-configures know --enable-nls
 
-PDP11AOUT_PREFIX=              ${PREFIX}/cross-pdp11-aout
+PDP11AOUT_PREFIX=      ${PREFIX}/cross-pdp11-aout
 
 OBJDIR=                        ../build
 CONFIGURE_DIRS=                ${OBJDIR}
diff -r 3ad3ec7d4f65 -r b5e145addc5d cross/powerpc-none-elf-binutils/Makefile
--- a/cross/powerpc-none-elf-binutils/Makefile  Sun Apr 26 09:41:49 2020 +0000
+++ b/cross/powerpc-none-elf-binutils/Makefile  Sun Apr 26 09:47:39 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/03/30 16:26:40 riastradh Exp $
+# $NetBSD: Makefile,v 1.2 2020/04/26 09:47:40 rillig Exp $
 
 DISTNAME=      binutils-2.32
 PKGNAME=       cross-powerpc-none-elf-${DISTNAME}
@@ -11,9 +11,10 @@
 COMMENT=       Cross binutils for bare metal PowerPC ELF
 LICENSE=       gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
 
-USE_LIBTOOL=   yes
-USE_TOOLS+=    gmake makeinfo
-GNU_CONFIGURE= yes
+USE_LIBTOOL=           yes
+USE_TOOLS+=            gmake makeinfo
+GNU_CONFIGURE=         yes
+GNU_CONFIGURE_STRICT=  no # several sub-configures know --enable-nls
 
 POWERPCELF_PREFIX=     ${PREFIX}/cross-powerpc-none-elf
 
diff -r 3ad3ec7d4f65 -r b5e145addc5d cross/ppc-morphos-binutils/Makefile
--- a/cross/ppc-morphos-binutils/Makefile       Sun Apr 26 09:41:49 2020 +0000
+++ b/cross/ppc-morphos-binutils/Makefile       Sun Apr 26 09:47:39 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/04/14 20:53:21 js Exp $
+# $NetBSD: Makefile,v 1.2 2020/04/26 09:47:41 rillig Exp $
 
 DISTNAME=      sdk-source-20191111
 PKGNAME=       ppc-morphos-binutils-2.33.1
@@ -13,6 +13,7 @@
 
 WRKSRC=                        ${WRKDIR}/sdk-source/binutils/binutils-${PKGVERSION_NOREV}
 GNU_CONFIGURE=         yes
+GNU_CONFIGURE_STRICT=  no # several sub-configures know --enable-nls
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            xzcat gtar patch gmake makeinfo
 
diff -r 3ad3ec7d4f65 -r b5e145addc5d cross/xtensa-esp32-elf-binutils/Makefile
--- a/cross/xtensa-esp32-elf-binutils/Makefile  Sun Apr 26 09:41:49 2020 +0000
+++ b/cross/xtensa-esp32-elf-binutils/Makefile  Sun Apr 26 09:47:39 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2019/05/27 17:31:14 tnn Exp $
+# $NetBSD: Makefile,v 1.3 2020/04/26 09:47:41 rillig Exp $
 
 DISTNAME=      binutils-2.32
 PKGREVISION=   1
@@ -16,10 +16,11 @@
 COMMENT=       Cross binutils for Espressif ESP32 bare metal environment
 LICENSE=       gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
 
-INFO_FILES=    yes
-GNU_CONFIGURE= yes
-USE_LIBTOOL=   yes
-USE_TOOLS+=    gmake makeinfo
+INFO_FILES=            yes
+GNU_CONFIGURE=         yes
+GNU_CONFIGURE_STRICT=  no # several sub-configures know --enable-nls
+USE_LIBTOOL=           yes
+USE_TOOLS+=            gmake makeinfo
 
 OBJDIR=                        ../build
 CONFIGURE_DIRS=                ${OBJDIR}
diff -r 3ad3ec7d4f65 -r b5e145addc5d cross/xtensa-lx106-elf-binutils/Makefile
--- a/cross/xtensa-lx106-elf-binutils/Makefile  Sun Apr 26 09:41:49 2020 +0000
+++ b/cross/xtensa-lx106-elf-binutils/Makefile  Sun Apr 26 09:47:39 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/04/17 00:18:51 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2020/04/26 09:47:41 rillig Exp $
 
 DISTNAME=      binutils-gdb-xtensa-2.31_20190405
 PKGNAME=       ${DISTNAME:C/binutils-gdb-xtensa/xtensa-lx106-elf-binutils/}
@@ -12,10 +12,11 @@
 COMMENT=       Cross binutils for Espressif ESP8266 bare metal environment
 LICENSE=       gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
 
-INFO_FILES=    yes
-GNU_CONFIGURE= yes
-USE_LIBTOOL=   yes
-USE_TOOLS+=    gmake makeinfo perl
+INFO_FILES=            yes
+GNU_CONFIGURE=         yes
+GNU_CONFIGURE_STRICT=  no # several sub-configures know --enable-nls
+USE_LIBTOOL=           yes
+USE_TOOLS+=            gmake makeinfo perl



Home | Main Index | Thread Index | Old Index