fixed the a2ps afm/make_fonts_map.sh script to work with coreutils-5.93 (thanks Alexander)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5618 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Andrew Benton 2006-01-31 18:29:32 +00:00
parent 4677cbcfca
commit 86bb9db595

View File

@ -91,6 +91,7 @@
commands:</para>
<screen><userinput>sed -i "s|emacs||" contrib/Makefile.in &amp;&amp;
sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh &amp;&amp;
sed -i "s|/usr/local/share|/usr/share|" configure &amp;&amp;
sed -i "s|char \*malloc ();|/* &amp; */|" \
lib/path-concat.c &amp;&amp;
@ -127,6 +128,12 @@ mv fonts.map.new fonts.map</userinput></screen>
<application>Emacs</application> for <application>Vi</application> as your
primary editor, skip this step.</para>
<para><command>sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh</command>:
The make_fonts_map.sh script to uses an option that is invalid with the
version of sort installed as part of <application>Coreutils-5.93</application>.
If you are using an older version of <application>Coreutils</application>,
skip this step.</para>
<para><command>sed -i -e "s|/usr/local/share|/usr/share|" configure</command>:
This command modifies the configure script to search for
<application>Ghostscript</application> fonts at the location where they were