Author: igor
Date: Fri May 31 06:18:45 2013
New Revision: 11227
Log:
Disable static libmng
Modified:
trunk/BOOK/general/graphlib/libmng.xml
Modified: trunk/BOOK/general/graphlib/libmng.xml
==============================================================================
--- trunk/BOOK/general/graphlib/libmng.xml Fri May 31 05:59:31 2013
(r11226)
+++ trunk/BOOK/general/graphlib/libmng.xml Fri May 31 06:18:45 2013
(r11227)
@@ -82,7 +82,8 @@
<para>Now, as the <systemitem class="username">root</systemitem>
user:</para>
-<screen role="root"><userinput>make prefix=/usr install &&
+<screen role="root"><userinput>sed -i '/^install\|cp.*libmng.a/ s/libmng.a//'
Makefile &&
+make prefix=/usr install &&
install -v -m644 doc/man/*.3 /usr/share/man/man3 &&
install -v -m644 doc/man/*.5 /usr/share/man/man5 &&
install -v -m755 -d /usr/share/doc/libmng-&libmng-version; &&
@@ -100,6 +101,9 @@
<para><command>sed -i -e 's/unroll-loops/& -fPIC/' Makefile</command>:
Add a gcc option to make the build compatible with x86_64 systems.</para>
+ <para><command>sed -i '/^install\|cp.*libmng.a/ s/libmng.a//'
Makefile</command>
+ This command disables installing the static library.</para>
+
<para><command>install ...</command>: The documentation files are not
installed by the installation procedure, so they are copied
manually.</para>
@@ -115,7 +119,7 @@
<seglistitem>
<seg>None</seg>
- <seg>libmng.{so,a}</seg>
+ <seg>libmng.so</seg>
<seg>/usr/share/doc/libmng-&libmng-version;</seg>
</seglistitem>
</segmentedlist>
@@ -126,13 +130,13 @@
<?dbhtml list-presentation="table"?>
<varlistentry id="libmng-lib">
- <term><filename class='libraryfile'>libmng.{so,a}</filename></term>
+ <term><filename class='libraryfile'>libmng.so</filename></term>
<listitem>
<para>provides functions for programs wishing to read and write
MNG files which are animation files without the patent problems
associated
with certain other formats.</para>
<indexterm zone="libmng libmng-lib">
- <primary sortas="c-libmng">libmng.{so,a}</primary>
+ <primary sortas="c-libmng">libmng.so</primary>
</indexterm>
</listitem>
</varlistentry>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page