Subject: Re: pkgsrc NetBSD 2.0.2/i386 bulk build results 2005-09-21
To: Thomas Klausner <wiz@NetBSD.org>
From: Manuel Bouyer <firstname.lastname@example.org>
Date: 09/26/2005 12:12:46
On Fri, Sep 23, 2005 at 10:09:40PM +0200, Thomas Klausner wrote:
> 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:
> USE_PKGINSTALL= yes
> INSTALLATION_DIRS= lib/X11/fonts/misc
> This seems to work nicely.
But it doesn't need to remove lib/X11/fonts/misc at deinstall time, this
directory it part of the base X11 installation.
Manuel Bouyer <email@example.com>
NetBSD: 26 ans d'experience feront toujours la difference