Subject: Re: how to resolve removal of shared directories?
To: None <pkgsrc-users@NetBSD.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: pkgsrc-users
Date: 10/21/2007 15:37:24
On Sun, Oct 21, 2007 at 02:54:57PM +0200, Klaus Heinz wrote:
> py-gtk2 tries to destroy the directory through
> 
>   @unexec ${RMDIR} %D/include/pygtk-2.0 2>/dev/null || ${TRUE}
> 
> in PLIST while py-gobject-shared simply uses "@dirrm include/pygtk-2.0",
> which obviously fails as long as py-gtk2 is still present.
> 
> Am I correct that this is the wrong way to do that? IMO, both packages
> should have a line
> 
>   REQD_DIRS+=	include/pygtk-2.0

Yes.

Alternatively just merge py-gobject-shared back into py-gobject and
remove the entry from py-gtk2.

Joerg