Author: bdubbs
Date: Wed Jan 30 12:28:37 2013
New Revision: 10113

Log:
Change ncurses instructions to create and install .pc files.

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/ncurses.xml
   trunk/BOOK/general.ent

Modified: trunk/BOOK/chapter01/changelog.xml
==============================================================================
--- trunk/BOOK/chapter01/changelog.xml  Tue Jan 29 13:22:46 2013        (r10112)
+++ trunk/BOOK/chapter01/changelog.xml  Wed Jan 30 12:28:37 2013        (r10113)
@@ -35,6 +35,17 @@
       </itemizedlist>
     </listitem>
 -->
+
+    <listitem>
+      <para>2013-01-30</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Change ncurses instructions to create
+          and install .pc files.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2013-01-29</para>
       <itemizedlist>

Modified: trunk/BOOK/chapter06/ncurses.xml
==============================================================================
--- trunk/BOOK/chapter06/ncurses.xml    Tue Jan 29 13:22:46 2013        (r10112)
+++ trunk/BOOK/chapter06/ncurses.xml    Wed Jan 30 12:28:37 2013        (r10113)
@@ -57,6 +57,7 @@
             --mandir=/usr/share/man \
             --with-shared           \
             --without-debug         \
+            --enable-pc-files       \
             --enable-widec</userinput></screen>
 
     <variablelist>
@@ -76,16 +77,13 @@
         </listitem>
       </varlistentry>
 
-      <!--
       <varlistentry>
-        <term><parameter>- -without-cxx-binding</parameter></term>
+        <term><parameter>--enable-pc-files</parameter></term>
         <listitem>
-          <para>This optional switch causes the
-          <filename class="libraryfile">libncurses++w.a</filename> library
-          not to be built. Nothing in LFS and BLFS uses this library.</para>
+          <para>This switch generates and installs .pc files for pkg-config.
+          </para>
         </listitem>
       </varlistentry>
-      -->
 
     </variablelist>
 
@@ -119,9 +117,10 @@
     wide-character libraries by means of symlinks and linker scripts:</para>
 
 <screen><userinput remap="install">for lib in ncurses form panel menu ; do 
-    rm -vf /usr/lib/lib${lib}.so 
-    echo "INPUT(-l${lib}w)" &gt;/usr/lib/lib${lib}.so
-    ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a
+    rm -vf                    /usr/lib/lib${lib}.so 
+    echo "INPUT(-l${lib}w)" &gt; /usr/lib/lib${lib}.so
+    ln -sfv lib${lib}w.a      /usr/lib/lib${lib}.a
+    ln -sfv ${lib}w.pc        /usr/lib/pkgconfig/${lib}.pc
 done
 
 ln -sfv libncurses++w.a /usr/lib/libncurses++.a</userinput></screen>
@@ -149,8 +148,11 @@
       the package again with the following commands:</para>
 
 <screen role="nodump"><userinput>make distclean
-./configure --prefix=/usr --with-shared --without-normal \
-  --without-debug --without-cxx-binding
+./configure --prefix=/usr    \
+            --with-shared    \
+            --without-normal \
+            --without-debug  \
+            --without-cxx-binding
 make sources libs
 cp -av lib/lib*.so.5* /usr/lib</userinput></screen>
     </note>

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent      Tue Jan 29 13:22:46 2013        (r10112)
+++ trunk/BOOK/general.ent      Wed Jan 30 12:28:37 2013        (r10113)
@@ -1,5 +1,5 @@
-<!ENTITY version "SVN-20130129">
-<!ENTITY releasedate "January 29, 2013">
+<!ENTITY version "SVN-20130130">
+<!ENTITY releasedate "January 30, 2013">
 <!ENTITY copyrightdate "1999-2013"><!-- jhalfs needs a literal dash, not 
&ndash; -->
 <!ENTITY milestone "7.3">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or 
"x.y[-pre{x}]" -->
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to