John Merryweather Cooper on Wed, 6 Feb 2002 20:07:14 +0100 (CET)(envelope-from owner-apsfilter-current@apsfilter.org)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Bug in FreeBSD apsfilter-7.2.1--/etc/apsfilter/basedir point



On 2002.02.06 10:30 Michael Loßin wrote:
> On 06-Feb-02 John Merryweather Cooper wrote:
> > Subject says it all.  :)  Even if I change the basedir symlink to
> point
> > to ${LOCALBASE}/share/apsfilter, on the very next invocation of
> SETUP
> > the basedir symlink is set to point to itself.  :)
> 
> That's not a bug, that's a feature :)
> 
> No really, SETUP re-creates the link to point to the correct
> directory, and if that messes up your particular setup, I guess
> you've done a mistake during configuration.
> 
> You're not supposed to change the link by hand, since the
> respective directories are determined by ./configure:
> 
> ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man
> 
> is what I use on my Linux box, so I use /usr/share/apsfilter
> as the base directory.
> 
> Every time SETUP is called, the link /etc/apsfilter/basedir
> will be forced to point to /usr/share/apsfilter (which is the
> correct destination).
> 
> I don't know why there's any need for you to change that behaviour,
> and if the link turns out to point to itself, there's something
> seriously wrong anyway.
> 
> Which configure options do you use to create such a mess? :)
> 
> 
> Michael
> 

I built it from the print/apsfilter port in the FreeBSD ports tree.  
Looking at the top-level Makefile in the ports tree, it appears to run 
apsfilter's configure without arguments.  :)
-- 
          _
   | |V| / '                       ||  MacroHard --                   \
\_| | | \_,                       ||     the perfection of form over |
----------------------------------||     substance, marketing over   |
Web:  http://www.borgsdemons.com  ||     performance, and greed over |
AIM:  johnmcooper                 ||     design . . .                |
=====================================================================/
Public Key:  http://www.borgsdemons.com/Personal/pgpkey.asc          |
=====================================================================\