If UseInstalledOnCrossCompile YES is set then the installed programs are
searched in $(BINDIR) which is ProjectRoot/bin. If ProjectRoot is set to
something different then /usr/X11R6 the programs are not found.
introduce and use INSTALLED_BINDIR = InstalledProjectRoot/bin
InstalledProjectRoot will default to ProjectRoot but can be customized in host.def
We talked about this on today's release wranglers call and agree that it could
go in, but would like to see a patch. Most of it is very straightforward, with
the exception of changing the appropriate BINDIRs to INSTALLED_BINDIRs. It
would be best if you could create a patch, verify that it works for you, and
then attach it to this bug report.
Then, those who also use UseInstalled* will be able to test out the patch before
it is applied.
UseInstalledX11 and UseInstalled will require more drastic changes.
I will provide at least a patch for UseInstalledOnCrossCompile this weekend
Created attachment 700 [details] [review]
This patch only covers the UseInstalledOnCrossCompile situation.
It uses the already present X11ProjectRoot and the macro XBINDIR instead of
The patch for UseInstalled will require a lot of changes since it must set many
includedirs and more problematic, the configdir.
Another problem is version.def. the buildprocess tries to create it in the
ProjectRoot which will alter installed files during the build process which
will most likely fail if you're not root on the machine.
So UseInstalled is broken regardless how you set the ProjectRoot
Assign to myself.
I'm not sure what X11ProjectRoot was originally intended for.
It has been in the XFree86 repository since day one (when this repository was
created). And as usually there is no comment describing it :-((
However the fix seems to be sane. I will commit it. Anyway, I don't expect that
this variable is used much.