Add a sed to SConstruct in serf (upstream patch) to correct a wrong generation

of the .pc file

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12521 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Pierre Labastie 2014-01-05 17:31:12 +00:00
parent 35b7221ffc
commit 5bff14acbb

View File

@ -95,9 +95,10 @@
commands:
</para>
<screen><userinput>sed -i "/Append/s:RPATH=libdir,::" SConstruct &amp;&amp;
sed -i "/Default/s:lib_static,::" SConstruct &amp;&amp;
sed -i "/Alias/s:install_static,::" SConstruct &amp;&amp;
<screen><userinput>sed -i "/Append/s:RPATH=libdir,::" SConstruct &amp;&amp;
sed -i "/Default/s:lib_static,::" SConstruct &amp;&amp;
sed -i "/Alias/s:install_static,::" SConstruct &amp;&amp;
sed -i '/get.*_LIBS/s:)):, '\'\''&amp;:' SConstruct &amp;&amp;
scons PREFIX=/usr</userinput></screen>
<para>
@ -116,9 +117,10 @@ scons PREFIX=/usr</userinput></screen>
<title>Command Explanations</title>
<para>
<command>sed -i "..."</command>: First command removes the runtime path
from a shared library and the last two commands disable building and
installing of the static library.
<command>sed -i "..."</command>: The first command removes the runtime
path from a shared library, the next two commands disable building and
installing of the static library, and the last one corrects a bug
in the generated pkg-config file.
</para>
</sect2>