It is exactly the same paths under FreeBSD 7.0-RELEASE. I know it doesn't prove anything concerning 7.1 but it haven't changed since the beta.<br><br>Cheers,<br>Félix<br><br><div class="gmail_quote">On Wed, Oct 22, 2008 at 3:06 PM, E. Wing <span dir="ltr"><<a href="mailto:ewmailing@gmail.com">ewmailing@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Sorry, I've been a bit buried recently and I know there are some other<br>
Lua patches pending. But I think this is reasonable to add if FreeBSD<br>
is really going to do this. I doubt the addition will break anything<br>
for other platforms.<br>
<br>
But since 7.1 is still beta, do you have it in authority that this is<br>
what FreeBSD is going to settle on? No sense adding it if they are<br>
going to change their minds.<br>
<br>
As for the duplication list, it was originally because many of these<br>
paths were not included by CMake or they were not consistent among<br>
different platforms. I think this has been fixed, but I haven't<br>
verified it so I haven't removed it in case it breaks somebody.<br>
<br>
It later got into kind of a documentation/tutorial thing where (new)<br>
people started looking at that to get a sense of understanding/comfort<br>
at what was going on, especially when their files were not found for a<br>
reason they didn't understand. Maybe it wasn't the most appropriate<br>
use of the field, but that's what happened.<br>
<br>
<br>
Thanks,<br>
Eric<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
On 10/22/08, Alexander Neundorf <<a href="mailto:a.neundorf-work@gmx.net">a.neundorf-work@gmx.net</a>> wrote:<br>
> On Wednesday 22 October 2008, Félix C. Morency wrote:<br>
>> Hi,<br>
>><br>
>> It appears that FreeBSD 7.1 (beta) installs Lua5.1 in the following<br>
>> default<br>
>> path:<br>
>><br>
>> /usr/local/lib/lua51/<br>
>><br>
>> The current FindLua51 module doesn't search in this path and this results<br>
>> in a not found library. Some goes for Lua5.0.<br>
>><br>
>> I attached two patches (one for 5.0 and one for 5.1) that add the correct<br>
>> path suffix for the library to be found under FreeBSD 7.1 (beta).<br>
><br>
> Nice straight-forward patches.<br>
> Eric, what do you think ?<br>
><br>
> I had a quick look at FindLua5?.cmake and noticed that in the FIND_LIBRARY()<br>
> calls all the default dirs are listed again,<br>
> e.g. /usr/local, /opt, /opt/local etc. (see<br>
> Modules/Platforms/UnixPaths.cmake<br>
> for the full list of default search directories). Can they be removed there<br>
> ?<br>
> I don't feel like doing this, Eric should be better qualified for this.<br>
><br>
> Alex<br>
><br>
</div></div></blockquote></div><br>