[blfs-book] r10375 - trunk/BOOK/general/genlib

andy at linuxfromscratch.org andy at linuxfromscratch.org
Fri Jun 29 11:51:04 PDT 2012


Author: andy
Date: 2012-06-29 12:51:00 -0600 (Fri, 29 Jun 2012)
New Revision: 10375

Modified:
   trunk/BOOK/general/genlib/nspr.xml
Log:
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

Modified: trunk/BOOK/general/genlib/nspr.xml
===================================================================
--- trunk/BOOK/general/genlib/nspr.xml	2012-06-29 18:34:50 UTC (rev 10374)
+++ trunk/BOOK/general/genlib/nspr.xml	2012-06-29 18:51:00 UTC (rev 10375)
@@ -99,19 +99,7 @@
       Now, as the <systemitem class="username">root</systemitem> user:
     </para>
 
-<screen role="root"><userinput>make install &&
-cat > /usr/lib/pkgconfig/nspr.pc << "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 @@
       <command>sed -i 's#$(LIBRARY) ##' config/rules.mk</command>: This disables
       installing the static libraries.
     </para>
-
-    <para>
-      <command>cat > /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">




More information about the blfs-book mailing list