pkgsrc-Bulk archive

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

Re: pkgsrc NetBSD 2.0.2/i386 bulk build results 2005-09-21



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.
 Thomas



Home | Main Index | Thread Index | Old Index