From c1b2c648aa6c5a3636b4a893f8d42c888355e9a1 Mon Sep 17 00:00:00 2001 From: Greg Schafer Date: Wed, 7 Jan 2004 02:15:05 +0000 Subject: Chapter 6 - Gawk: Removed the Gawk Libexecdir Patch. Closes Bug 303. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3154 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/gawk.xml | 32 +++----------------------------- 1 file changed, 3 insertions(+), 29 deletions(-) (limited to 'chapter06/gawk.xml') diff --git a/chapter06/gawk.xml b/chapter06/gawk.xml index a25cfaec5..1bba52e53 100644 --- a/chapter06/gawk.xml +++ b/chapter06/gawk.xml @@ -13,35 +13,9 @@ Estimated required disk space: &gawk-compsize; Installation of Gawk -First apply a patch to fix the following issues: - - -Gawk's default location for some of its executables is -$prefix/libexec/awk. This location doesn't comply -with the FHS, which never even mentions a directory called -libexec. The patch makes it possible to pass a ---libexecdir switch to the configure script, so that we -can use a more appropriate location for the grcat and -pwcat binaries: -/usr/lib/gawk. - -Gawk's default data directory is -$prefix/share/awk. But package-specific -directories should be named using the package name and version number -(for example: gawk-7.7.2.) and not simply the package -name, as there may be different versions of a package installed on the system. -The patch changes the name of the data directory to the correct -$prefix/share/gawk-&gawk-version;. - -The patch also ensures that this data directory, including its -contents, is removed on a make uninstall. - - -patch -Np1 -i ../&gawk-patch; - -Now prepare Gawk for compilation: - -./configure --prefix=/usr --libexecdir=/usr/lib/gawk +Prepare Gawk for compilation: + +./configure --prefix=/usr --libexecdir=/usr/lib Compile the package: -- cgit v1.2.3-54-g00ecf