Subject: Re: siag & $PREFIX/doc
To: Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>
From: Simon Burge <simonb@netbsd.org>
List: tech-pkg
Date: 10/14/1999 09:59:52
Hubert Feyrer wrote:

> On Wed, 13 Oct 1999, Simon Burge wrote:
> > Module Name:	pkgsrc
> > Committed By:	simonb
> > Date:		Wed Oct 13 23:14:52 UTC 1999
> > 
> > Modified Files:
> > 	pkgsrc/misc/siag: Makefile
> > 
> > Log Message:
> > Don't kill the entire install if the rmdir ${PREFIX}/doc fails during
> > post-install - some other package (eg libslang-1.3.8) may have stuff in
> > that directory already.
> 
> there shouldn't be a $PREFIX/doc directory, and I wouldn't mind to see it
> rm -fr'd unconditionally. if something puts stuff there, that should be
> fixed.

In my case, my home system has libslang-1.3.8 installed from February
this year, and it did install something in $PREFIX/doc.  It seemed a
little unreasonable that just because the policy has changed between
then and now that an install of the current siag failed.

The "proper" fix would probably be to change siag to install directly
into $PREFIX/share/doc, and not use the "install into $PREFIX/doc and
move it to $PREFIX/share/doc" hackery that's there now...

Simon.