$x_includes, $x_libraries will always be empty. Therefore their value will be NONE. I attached a patch ...
Created attachment 4164 [details] [review] Fix/shows the problem
Created attachment 51581 [details] [review] remove the fallback path remove the fallback path all together sent to xorg-devel for review
commit d39337048d31245b69e1b72b98beb957f52ba4e6 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Sat Sep 24 21:05:27 2011 -0700 Remove broken fallback on non-pkg-config search for libXrender https://bugs.freedesktop.org/show_bug.cgi?id=5425 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.