Change lex wrappeer script to a symbolic link

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10533 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2014-04-08 03:02:51 +00:00
parent ee648fdd8c
commit c5368d73fa
2 changed files with 10 additions and 13 deletions

View File

@ -38,6 +38,11 @@
<listitem> <listitem>
<para>2014-04-08</para> <para>2014-04-08</para>
<itemizedlist> <itemizedlist>
<listitem>
<para>[bdubbs] - Change lex rwapper script to a symbolic
link. Completes
<ulink url="&lfs-ticket-root;3523">#3523</ulink>.</para>
</listitem>
<listitem> <listitem>
<para>[bdubbs] - Update to linux-3.14. Fixes <para>[bdubbs] - Update to linux-3.14. Fixes
<ulink url="&lfs-ticket-root;3523">#3523</ulink>.</para> <ulink url="&lfs-ticket-root;3523">#3523</ulink>.</para>
@ -47,7 +52,7 @@
<ulink url="&lfs-ticket-root;3526">#3526</ulink>.</para> <ulink url="&lfs-ticket-root;3526">#3526</ulink>.</para>
</listitem> </listitem>
<listitem> <listitem>
<para>[bdubbs] - Update to flex-2.5.39. Fixes <para>[bdubbs] - Update to flex-2.5.39. Addresses
<ulink url="&lfs-ticket-root;3527">#3527</ulink>.</para> <ulink url="&lfs-ticket-root;3527">#3527</ulink>.</para>
</listitem> </listitem>
<listitem> <listitem>

View File

@ -70,19 +70,11 @@
--> -->
<para>A few programs do not know about <command>flex</command> yet and <para>A few programs do not know about <command>flex</command> yet and
try to run its predecessor, <command>lex</command>. To support those try to run its predecessor, <command>lex</command>. To support those
programs, create a wrapper script named <filename>lex</filename> that programs, create a symbolic link named <filename>lex</filename> that
calls <filename>flex</filename> in <command>lex</command> emulation runs <filename>flex</filename> in <command>lex</command> emulation
mode:</para> mode:</para>
<screen><userinput remap="install">cat &gt; /usr/bin/lex &lt;&lt; "EOF" <screen><userinput remap="install">ln -s flex /usr/bin/lex</userinput></screen>
<literal>#!/bin/sh
# Begin /usr/bin/lex
exec /usr/bin/flex -l "$@"
# End /usr/bin/lex</literal>
EOF
chmod -v 755 /usr/bin/lex</userinput></screen>
</sect2> </sect2>
@ -95,7 +87,7 @@ chmod -v 755 /usr/bin/lex</userinput></screen>
<segtitle>Installed directories</segtitle> <segtitle>Installed directories</segtitle>
<seglistitem> <seglistitem>
<seg>flex, flex++ (link to flex), and lex</seg> <seg>flex, flex++ (link to flex), and lex (link to flex)</seg>
<seg>libfl.{a,so} and libfl_pic.{a,so}</seg> <seg>libfl.{a,so} and libfl_pic.{a,so}</seg>
<seg>/usr/share/doc/flex-&flex-version;</seg> <seg>/usr/share/doc/flex-&flex-version;</seg>
</seglistitem> </seglistitem>