From c0220ed5ba7ba1e225c98fa61ada101103548bf3 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 30 Jan 2013 20:28:37 +0000 Subject: 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 --- chapter06/ncurses.xml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'chapter06') diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index 47dd473ba..ab9ba7dd3 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -57,6 +57,7 @@ --mandir=/usr/share/man \ --with-shared \ --without-debug \ + --enable-pc-files \ --enable-widec @@ -76,16 +77,13 @@ - @@ -119,9 +117,10 @@ wide-character libraries by means of symlinks and linker scripts: for lib in ncurses form panel menu ; do - rm -vf /usr/lib/lib${lib}.so - echo "INPUT(-l${lib}w)" >/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)" > /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 @@ -149,8 +148,11 @@ cp -v -R doc/* /usr/share/doc/ncurses-&ncurses-version; the package again with the following commands: 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 -- cgit v1.2.3-54-g00ecf