Subject: Re: TOOLS_PREFIX and tools framework and missing tool
To: Johnny C. Lam <jlam@pkgsrc.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 12/28/2005 09:34:48
On Wed, 28 Dec 2005, Johnny C. Lam wrote:

> The question is why does the packaging fail.

It just fails because the resulting file is listed in the PLIST and 
because makepsres never created it, the tarball is not made.

The workaround of making that file optional could be fine, like:

.if exists(${TOOLS_PATH.makepsres})
PLIST_SUBST+=	MAKEPSRES=""
.else
PLIST_SUBST+=	MAKEPSRES="@comment "
.endif

>  Could makepsres be run from an 
> INSTALL script instead?  Then as a compromise, we could check for the 
> existence of makepsres in the INSTALL script and remove the generated 
> databases in the DEINSTALL script.

That does make more sense. I don't know makepsres, but it looks like the 
resulting file could be different than what is actually provided on system 
using the lyx package.

There is a PR about this that says "native" XFree86 3 doesn't provide 
makepsres. I think we still support XFree86 version 3.

  Jeremy C. Reed

  	  	 	 technical support & remote administration
 	  	 	 http://www.pugetsoundtechnology.com/