Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3 apply/fix some more NetBSD_DISABLED* usage in ...



details:   https://anonhg.NetBSD.org/src/rev/de83b96ac1f8
branches:  trunk
changeset: 372877:de83b96ac1f8
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jan 02 00:55:45 2023 +0000

description:
apply/fix some more NetBSD_DISABLED* usage in binutils.

this should fix issues seen with r/o source trees.


note that the generated makefiles have weird bugs where the configure
script edits the Makefile's AM_V_CCLD usage to insert "+ " and that
makes the "@echo ..." that is AM_V_CCLD not be interpreted by make,
but by shell and causing this to appear:  'sh: @echo: not found'.
this only causes build output to be weird, not the build to be wrong.

diffstat:

 external/gpl3/binutils.old/dist/bfd/doc/Makefile.am |  2 ++
 external/gpl3/binutils.old/dist/bfd/doc/Makefile.in |  4 +++-
 external/gpl3/binutils/dist/bfd/Makefile.in         |  4 ++++
 external/gpl3/binutils/dist/bfd/doc/local.mk        |  4 ++++
 external/gpl3/binutils/dist/ld/Makefile.in          |  2 +-
 5 files changed, 14 insertions(+), 2 deletions(-)

diffs (83 lines):

diff -r 62614ce96251 -r de83b96ac1f8 external/gpl3/binutils.old/dist/bfd/doc/Makefile.am
--- a/external/gpl3/binutils.old/dist/bfd/doc/Makefile.am       Sun Jan 01 21:27:14 2023 +0000
+++ b/external/gpl3/binutils.old/dist/bfd/doc/Makefile.am       Mon Jan 02 00:55:45 2023 +0000
@@ -343,6 +343,8 @@
        echo "#endif" >> $@
 
 bfdver.texi: $(srcdir)/Makefile.in
+       @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_bfdver.texi:
        @echo "creating $@"; \
        echo "@set VERSION $(VERSION)" > bfdver.texi; \
        if test -n "$(PKGVERSION)"; then \
diff -r 62614ce96251 -r de83b96ac1f8 external/gpl3/binutils.old/dist/bfd/doc/Makefile.in
--- a/external/gpl3/binutils.old/dist/bfd/doc/Makefile.in       Sun Jan 01 21:27:14 2023 +0000
+++ b/external/gpl3/binutils.old/dist/bfd/doc/Makefile.in       Mon Jan 02 00:55:45 2023 +0000
@@ -539,7 +539,7 @@
 
 bfd.info: bfd.texi $(bfd_TEXINFOS)
        @echo "NOT REBUILDING $@"
-NetBSD_DISABLED_bfd.info: bfd.texinfo $(bfd_TEXINFOS)
+NetBSD_DISABLED_bfd.info:
        $(AM_V_MAKEINFO)restore=: && backupdir="$(am__leading_dot)am$$$$" && \
        rm -rf $$backupdir && mkdir $$backupdir && \
        if ($(MAKEINFO) --version) >/dev/null 2>&1; then \
@@ -1155,6 +1155,8 @@
        echo "#endif" >> $@
 
 bfdver.texi: $(srcdir)/Makefile.in
+       @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_bfdver.texi:
        @echo "creating $@"; \
        echo "@set VERSION $(VERSION)" > bfdver.texi; \
        if test -n "$(PKGVERSION)"; then \
diff -r 62614ce96251 -r de83b96ac1f8 external/gpl3/binutils/dist/bfd/Makefile.in
--- a/external/gpl3/binutils/dist/bfd/Makefile.in       Sun Jan 01 21:27:14 2023 +0000
+++ b/external/gpl3/binutils/dist/bfd/Makefile.in       Mon Jan 02 00:55:45 2023 +0000
@@ -1781,6 +1781,8 @@
        @: > doc/$(am__dirstamp)
 
 doc/bfd.info: doc/bfd.texi $(doc_bfd_TEXINFOS)
+       @zecho "NOT REBUILDING $@"
+NetBSD_DISABLED_doc/bfd.info:
        @test -f doc/$(am__dirstamp) || $(MAKE) $(AM_MAKEFLAGS) doc/$(am__dirstamp)
        $(AM_V_MAKEINFO)restore=: && backupdir="$(am__leading_dot)am$$$$" && \
        rm -rf $$backupdir && mkdir $$backupdir && \
@@ -2520,6 +2522,8 @@
        $(AM_V_GEN)$(REGEN_TEXI)
 
 doc/bfdver.texi: $(srcdir)/Makefile.in
+       @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_bfdver.texi:
        $(AM_V_GEN)\
        $(MKDIR_P) $(@D); \
        echo "@set VERSION $(VERSION)" > $@; \
diff -r 62614ce96251 -r de83b96ac1f8 external/gpl3/binutils/dist/bfd/doc/local.mk
--- a/external/gpl3/binutils/dist/bfd/doc/local.mk      Sun Jan 01 21:27:14 2023 +0000
+++ b/external/gpl3/binutils/dist/bfd/doc/local.mk      Mon Jan 02 00:55:45 2023 +0000
@@ -125,9 +125,13 @@
 # We use bfdt.texi, rather than bfd.texi, to avoid conflicting with
 # bfd.texi on an 8.3 filesystem.
 %D%/bfdt.stamp: $(srcdir)/bfd.c $(srcdir)/%D%/doc.str $(MKDOC) %D%/$(am__dirstamp)
+       @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_bfdt.stamp:
        $(AM_V_GEN)$(REGEN_TEXI)
 
 %D%/bfdver.texi: $(srcdir)/Makefile.in
+       @echo "NOT REBUILDING $@"
+NetBSD_DISABLED_bfdver.texi:
        $(AM_V_GEN)\
        $(MKDIR_P) $(@D); \
        echo "@set VERSION $(VERSION)" > $@; \
diff -r 62614ce96251 -r de83b96ac1f8 external/gpl3/binutils/dist/ld/Makefile.in
--- a/external/gpl3/binutils/dist/ld/Makefile.in        Sun Jan 01 21:27:14 2023 +0000
+++ b/external/gpl3/binutils/dist/ld/Makefile.in        Mon Jan 02 00:55:45 2023 +0000
@@ -1664,7 +1664,7 @@
 
 ld.info: ld.texi $(ld_TEXINFOS)
        @echo "NOT REBUILDING $@"
-NetBSD_DISABLED_ld.info: ld.texinfo $(ld_TEXINFOS)
+NetBSD_DISABLED_ld.info:
        $(AM_V_MAKEINFO)restore=: && backupdir="$(am__leading_dot)am$$$$" && \
        rm -rf $$backupdir && mkdir $$backupdir && \
        if ($(MAKEINFO) --version) >/dev/null 2>&1; then \



Home | Main Index | Thread Index | Old Index