Ignore:
Timestamp:
01/30/2013 08:28:37 PM (11 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
2ca8941, a3b2bed
Parents:
1105cc6
Message:

Change ncurses instructions to create and install .pc files.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10113 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/ncurses.xml

    r1105cc6 rc0220ed  
    5858            --with-shared           \
    5959            --without-debug         \
     60            --enable-pc-files       \
    6061            --enable-widec</userinput></screen>
    6162
     
    7778      </varlistentry>
    7879
    79       <!--
    8080      <varlistentry>
    81         <term><parameter>- -without-cxx-binding</parameter></term>
    82         <listitem>
    83           <para>This optional switch causes the
    84           <filename class="libraryfile">libncurses++w.a</filename> library
    85           not to be built. Nothing in LFS and BLFS uses this library.</para>
    86         </listitem>
    87       </varlistentry>
    88       -->
     81        <term><parameter>--enable-pc-files</parameter></term>
     82        <listitem>
     83          <para>This switch generates and installs .pc files for pkg-config.
     84          </para>
     85        </listitem>
     86      </varlistentry>
    8987
    9088    </variablelist>
     
    120118
    121119<screen><userinput remap="install">for lib in ncurses form panel menu ; do
    122     rm -vf /usr/lib/lib${lib}.so
    123     echo "INPUT(-l${lib}w)" &gt;/usr/lib/lib${lib}.so
    124     ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a
     120    rm -vf                    /usr/lib/lib${lib}.so
     121    echo "INPUT(-l${lib}w)" &gt; /usr/lib/lib${lib}.so
     122    ln -sfv lib${lib}w.a      /usr/lib/lib${lib}.a
     123    ln -sfv ${lib}w.pc        /usr/lib/pkgconfig/${lib}.pc
    125124done
    126125
     
    150149
    151150<screen role="nodump"><userinput>make distclean
    152 ./configure --prefix=/usr --with-shared --without-normal \
    153   --without-debug --without-cxx-binding
     151./configure --prefix=/usr    \
     152            --with-shared    \
     153            --without-normal \
     154            --without-debug  \
     155            --without-cxx-binding
    154156make sources libs
    155157cp -av lib/lib*.so.5* /usr/lib</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.