Subject: info files and USE_X11?
To: None <tech-pkg@netbsd.org>
From: None <mcmahill@mtl.mit.edu>
List: tech-pkg
Date: 10/31/1998 20:56:16
I'm finishing up packaging GNU plotutils and have a questions  Since X11
is used, I have

USE_X11=	yes


I also have

INFO_FILES=	plotutils.info

and then in pkg/PLIST,
@unexec %D/bin/install-info --delete %D/info/plotutils.info %D/info/dir
info/plotutils.info
@exec %D/bin/install-info %D/info/plotutils.info %D/info/dir


So, this builds fine, installs fine, I see the lines corresponding to the
info file go by:

===>  plotutils-2.1.5 depends on installed package: gtexinfo-3.12 -
gtexinfo-3.12  found
[snip]
/usr/pkg/bin/install-info --info-dir=/usr/X11R6/info 
/usr/X11R6/info/plotutils.info
[snip]


however, when I tried 'make deinstall', I get:

===> Deinstalling for plotutils-2.1.5
/usr/X11R6/bin/install-info: not found
pkg_delete: unexec command for `/usr/X11R6/bin/install-info --delete
/usr/X11R6/info/plotutils.info /usr/X11R6/info/dir' failed


Is this due to a problem I created, or is it a bug in the .mk files for
packages?  My .mk's are a week or 2 old.  Or is it a pkg_delete bug?

Thoughts anyone?


--Dan