Author: pierre
Date: Sun Jan 5 09:31:12 2014
New Revision: 12521
Log:
Add a sed to SConstruct in serf (upstream patch) to correct a wrong generation
of the .pc file
Modified:
trunk/BOOK/networking/netlibs/serf.xml
Modified: trunk/BOOK/networking/netlibs/serf.xml
==============================================================================
--- trunk/BOOK/networking/netlibs/serf.xml Sun Jan 5 07:43:29 2014
(r12520)
+++ trunk/BOOK/networking/netlibs/serf.xml Sun Jan 5 09:31:12 2014
(r12521)
@@ -95,9 +95,10 @@
commands:
</para>
-<screen><userinput>sed -i "/Append/s:RPATH=libdir,::" SConstruct &&
-sed -i "/Default/s:lib_static,::" SConstruct &&
-sed -i "/Alias/s:install_static,::" SConstruct &&
+<screen><userinput>sed -i "/Append/s:RPATH=libdir,::" SConstruct &&
+sed -i "/Default/s:lib_static,::" SConstruct &&
+sed -i "/Alias/s:install_static,::" SConstruct &&
+sed -i '/get.*_LIBS/s:)):, '\'\''&:' SConstruct &&
scons PREFIX=/usr</userinput></screen>
<para>
@@ -116,9 +117,10 @@
<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>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page