diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2013-01-30 20:28:37 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2013-01-30 20:28:37 +0000 |
commit | c0220ed5ba7ba1e225c98fa61ada101103548bf3 (patch) | |
tree | 14ed642c199a7749320b927362f58659bddadff9 | |
parent | 1105cc6216127a7554eb35e590a7077922264ce4 (diff) |
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
-rw-r--r-- | chapter01/changelog.xml | 11 | ||||
-rw-r--r-- | chapter06/ncurses.xml | 24 | ||||
-rw-r--r-- | general.ent | 4 |
3 files changed, 26 insertions, 13 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 55f6fc392..c6e68dc50 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -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> 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</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)" >/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</userinput></screen> @@ -149,8 +148,11 @@ cp -v -R doc/* /usr/share/doc/ncurses-&ncurses-version;</userinput></screen> 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> diff --git a/general.ent b/general.ent index 8fb8f2f60..ffcf585b4 100644 --- a/general.ent +++ b/general.ent @@ -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 – --> <!ENTITY milestone "7.3"> <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" --> |