Andreas Klemm on Sat, 2 Nov 2002 15:15:18 +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 Wed, Feb 06, 2002 at 11:07:08AM -0800, John Merryweather Cooper wrote:
> 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.  :)

I also noticed, that PREFIX is useless ....
Who is the culprit in this case ???
Normally it should simply work to tell in the ports Makefile
HAS_CONFIGURE ...
Do you know whats exactly wrong ???

	Andreas ///

-- 
Andreas Klemm                             /\/\/\/\/\/\/\/\/\/\/\
http://www.64bits.de                     <  Powered by FreeBSD  >
http://www.apsfilter.org/                 \   www.FreeBSD.org  /
http://people.FreeBSD.ORG/~andreas         \/\/\/\/\/\/\/\/\/\/