Subject: TOOLS_PREFIX and tools framework and missing tool
To: None <firstname.lastname@example.org>
From: Jeremy C. Reed <email@example.com>
Date: 12/27/2005 18:43:45
1) I was looking at pkgsrc/mk/tools/replace.mk (and in revision 1.133) and
the line for x11-clients has "imake"
. if defined(X11_TYPE) && !empty(X11_TYPE:MXFree86)
(The following lines have xorg-clients.)
May I change the line above to:
I am not sure if this is a copy-and-paste error or if it is meant to be
2) Also what should happen if a tool is missing? I added a bogus entry to
end of _TOOLS.x11-clients and then added it to USE_TOOLS in a package.
Nothing failed, although TOOLS_PATH.jcrtest was properly defined.
Should the tools framework check if TOOLS_PATH.jcrtest exists?
I am looking at this because I am about to commit the one addition of
"makepsres" to that _TOOLS.x11-clients. It may be useful for the package
build to fail when the TOOLS_PATH.makepsres is missing (when
USE_TOOLS+=makepsres and X11_TYPE is native) instead of failing later
during or after build.
Jeremy C. Reed
Media Relations and Publishing Services