xorg-cf-files installs a set of default imake .cf files and ignores all
parameters passed to configure.
to set ProjectRoot to /usr
to set ProjectRoot to /usr/X11R7
rather than hardcoding the (obsolete) /usr/X11R6 default.
Similarily, stuff like Freetype2Dir, ExpatDir, ExpatLibDir, ..... (all defined
in X11.tmpl) should be set correctly by the configure script rather than
forcing old defaults on everyone, now that we have a tool that can do better.
Created attachment 4361 [details] [review]
Partial patch (this sets just ProjectRoot and MotifDir correctly)
Attaching partial patch; this patch sets only ProjectRoot and MotifDir; the
other settings should be handled the same way
There's a bug in the patch I've attached (shouldn't have run configure to test
after patching ;) ), it should (obviously) remove site.def and X11.tmpl rather
than patching them to the values I used for testing.
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
The change to set ProjectRoot in site.def(.in) from --prefix was already
made a while ago by:
Author: Matthieu Herrb <email@example.com>
Date: Sat Apr 15 15:55:25 2006 +0000
rman is not built by modular tree.
DefaultRGBDatabase is now in share/X11
Generate site.def from site.def.in to set ProjectRoot to $prefix
Remove Bugzilla #6607. ok ajax.
I've just committed another fix to change the default MotifDir from
/usr/X11R6 to ProjectRoot, so it inherits the --prefix setting.