Changeset 5f8327e


Ignore:
Timestamp:
11/03/2023 06:35:09 AM (11 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, 12.1-rc1, 12.2, 12.2-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/update-glibc
Children:
93311f4
Parents:
80321c6
git-author:
Xi Ruoyao <xry111@…> (11/03/2023 06:31:32 AM)
git-committer:
Xi Ruoyao <xry111@…> (11/03/2023 06:35:09 AM)
Message:

gawk: Fix "gawk-&gawk-version; is a remnant from Chapter 7" again

We'd fixed #5180 by forcing LN='ln -f'. But this has stopped to work
with gawk-5.2.2 (and 5.3.0) because now the building system explicitly
checks the existence of gawk-&gawk-version; and refuses to update it if
it exists.

Now removing the file before "make install" seems the easiest solution.

Link: https://git.savannah.gnu.org/cgit/gawk.git/commit/?id=11762f4c0685

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/gawk.xml

    r80321c6 r5f8327e  
    6060    <para>Install the package:</para>
    6161
    62 <screen><userinput remap="install">make LN='ln -f' install</userinput></screen>
     62<screen><userinput remap="install">rm -f /usr/bin/gawk-&gawk-version;
     63make install</userinput></screen>
    6364
    6465    <variablelist>
    65       <title>The meaning of the overridden make variable:</title>
     66      <title>The meaning of the command:</title>
    6667
    6768      <varlistentry>
    68         <term><envar>LN='ln -f'</envar></term>
     69        <term><envar>rm -f /usr/bin/gawk-&gawk-version;</envar></term>
    6970        <listitem>
    70            <para>This variable ensures that the previous hard link installed
     71           <para>The building system will not recreate the hard link
     72           <filename>gawk-&gawk-version;</filename> if it already exists.
     73           Remove it to ensure that the previous hard link installed
    7174           in <xref linkend='ch-tools-gawk'/> is updated here.</para>
    7275       </listitem>
Note: See TracChangeset for help on using the changeset viewer.