﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
313	Fix up Gawk install directory	gerard@…	gerard@…	"From: Erika Pacholleck <pchllck@nexgo.de>                                       
To: lfs-dev@linuxfromscratch.org                                                
Subject: gawk                                                                   
Date: Fri, 15 Mar 2002 17:59:30 +0100                                           

There needs to be an FHS note as far as I see:                                  
1. /usr/libexec is not compliant                                                
                                                                                
To accept the shared data in /usr/share/awk is not a good                       
choice as I see it. The general name awk should to my view                      
not be used where so many awk versions are ""on the market"",                     
what would for instance have happened if (assumption) our                       
previous mawk would have used the same way of just putting                      
shared data in awk under mawk -- we would have a mixture of                     
two different programs under a general name where at the                        
same time in /usr/bin we have a fixed link awk pointing to                      
one of them.                                                                    
Short: I think /usr/share/gawk is cleaner due to FHS general                    
line every package gets its own dir.                                            
                                                                                
I do this before configure:                                                     
cd awklib && sed \                                                              
  -e '^datadir/s/awk/gawk/'      \                                              
  -e '^libexedir/s/\/awk//'      \                                              
  Makefile.in > Makefile.in~     \                                              
  && mv Makefile.in~ Makefile.in \                                              
&& cd ..                                                                        
                                                                                
then configure + option --libexecdir=/usr/sbin (I know you                      
prefer bin) and nothing for datas, so I end up in                               
                                                                                
/usr/sbin/{gr,pw}cat                                                            
/usr/share/gawk/assert.awk ... round.awk                                        



--------


I'm not sure yet if I want it to be a seperate FHS note, or make it part of the
mandatory installation instructions. I don't like /usr/share/awk for the same
reasons and it makes a lot more sense to just change it in the main instructions
and make gawk a bit more sane.

Before we sed let's doublecheck we can't just pass a configure option (from the
looks of it we can't but double-check anyways, by the time we get around this a
new gawk may be out for all we know)."	defect	closed	normal		Book	CVS	normal	fixed		
