From bfa1248d36cd879f0a117b933c55d09087f2cf61 Mon Sep 17 00:00:00 2001 From: Andrew Benton Date: Fri, 17 Feb 2012 13:32:38 +0000 Subject: [PATCH] Pth tweaks git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9449 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- general/genlib/pth.xml | 35 ++++++++++++++++++++++++----------- template/README | 3 +++ 2 files changed, 27 insertions(+), 11 deletions(-) diff --git a/general/genlib/pth.xml b/general/genlib/pth.xml index 402dee422a..93eee1aa9e 100644 --- a/general/genlib/pth.xml +++ b/general/genlib/pth.xml @@ -4,8 +4,10 @@ %general-entities; - - + + @@ -62,7 +64,6 @@ User Notes: - @@ -78,10 +79,11 @@ Install Pth by running the following commands: -./configure --prefix=/usr && +sed -i 's#$(LOBJS): Makefile#$(LOBJS): pth_p.h Makefile#' Makefile.in && +./configure --prefix=/usr --disable-static --mandir=/usr/share/man && make - To test the results, issue: make check. + To test the results, issue: make test. Now, as the root user: @@ -90,7 +92,21 @@ make install -v -m755 -d /usr/share/doc/pth-&pth-version; && install -v -m644 README PORTING SUPPORT TESTS \ /usr/share/doc/pth-&pth-version; + + + Command Explanations + + sed -i 's#$(LOBJS) ...: This sed fixes a race + condition in the Makefile. It allows you to run make with + multiple jobs (eg, make -j4) . + + : This option stops it compiling a + static version of the library. + + : This option puts the man + pages in /usr/share/man and not /usr/man. @@ -103,7 +119,7 @@ install -v -m644 README PORTING SUPPORT TESTS \ pth-config - libpth.{so,a} + libpth.so /usr/share/doc/pth-&pth-version; @@ -127,18 +143,15 @@ install -v -m644 README PORTING SUPPORT TESTS \ - libpth.{so,a} + libpth.so contains the API functions used by the GNU Portable Threads Library. - libpth.{so,a} + libpth.so - - - diff --git a/template/README b/template/README index 980b53a97e..1e9cf4bf75 100644 --- a/template/README +++ b/template/README @@ -5,3 +5,6 @@ This is a generic template. Makes a copy of the file and edit as needed. +don't forget to: + +svn propset svn:keywords "LastChangedBy Date" path/to/new/page.xml