Subject: how to resolve removal of shared directories?
To: None <pkgsrc-users@NetBSD.org>
From: Klaus Heinz <k.heinz@oktsieben.kh-22.de>
List: pkgsrc-users
Date: 10/21/2007 14:54:57
Hi,

x11/py-gtk2 and devel/py-gobject-shared both use the directory
include/pygtk-2.0/.

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

in their Makefiles.

ciao
     Klaus