NSPR installs its own pkgconfig file now so we don't need to create one

Thanks to Armin for the heads up. Sorry it took me so long to get round to it

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10375 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Andrew Benton 2012-06-29 18:51:00 +00:00
parent 6a79dc7242
commit 2ccd0914a3

View File

@ -99,19 +99,7 @@ make</userinput></screen>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install &amp;&amp;
cat &gt; /usr/lib/pkgconfig/nspr.pc &lt;&lt; "HERE_DOC"
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include/nspr
Name: NSPR
Description: The Netscape Portable Runtime
Version: &nspr-version;.0
Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 -lpthread
Cflags: -I${includedir}
HERE_DOC</userinput></screen>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
@ -147,12 +135,6 @@ HERE_DOC</userinput></screen>
<command>sed -i 's#$(LIBRARY) ##' config/rules.mk</command>: This disables
installing the static libraries.
</para>
<para>
<command>cat &gt; /usr/lib/pkgconfig/nspr.pc ...</command>: This creates a
pkg-config file to help other programs find the nspr libraries.
</para>
</sect2>
<sect2 role="content">