Subject: Re: pkgsrc NetBSD 2.0.2/i386 bulk build results 2005-09-21
To: Manuel Bouyer <firstname.lastname@example.org>
From: Thomas Klausner <wiz@NetBSD.org>
Date: 09/23/2005 22:09:40
On Thu, Sep 22, 2005 at 11:32:21PM +0200, Manuel Bouyer wrote:
> Well, it doens't work well. using fonts.mk cause fonts/xtel/fonts.scale
> to be deleted, but /usr/pkg/lib/X11/fonts/xtel remains because fonts.scale
> is removed after the PLIST is run.
> Remplacing @dirrm with a @unexec rm -rf doens't work well either,
> at pkg_delete it complains:
> rochebonne# pkg_delete xtel
> Executing `/bin/rm -rf /usr/X11R6/lib/X11/fonts/xtel'
> ===> Updating font databases
> cd: can't cd to /usr/X11R6/lib/X11/fonts/xtel
> I think it's better to use fonts.mk because mkfontdir probably needs to be
> run after the package is installed, but then I don't know how to cleanly
> get rid of the stale directory at pkg_delete time ...
> Any idea ?
profont solves this problem by setting:
This seems to work nicely.