Kees Bakker wrote:
> Hi,
> 
> The cmake installation in Fink changes the default for CMAKE_FIND_FRAMEWORK
>  from "First" into "Last".
> 
> This was a bad idea. Can we revert that change, please?
> 
> I have the following reasons to ask for this revert.
> 
> 1. The documentation of cmake (in the Fink installation and on the Internet)
>    says that the default is "First".
> 
> 2. Using the Fink cmake is very confusing if you don't know that the default
>    was changed to "Last". (Hell, cmake by itself is already a monster, let 
> alone
>    if you run into something like this.)
> 
> 3. The behaviour of FIND_PATH for "First" and "Last" is not the same. Trying
>    to avoid wasted CPU cycles is good, but not if the behaviour of cmake is
>    changed.
> 
> 4. The cmake installation DMG from www.cmake.org has the default set to 
> "First".

Do you have a concrete example where the value "LAST" for 
CMAKE_FIND_FRAMEWORK leads to serious trouble?

I am sorry, but none of your points convinces me that "this was a bad
idea". I concede that there is a lack of documentation, and I will look
at this. But without a concrete example where it is harmful I don't see 
any reason to change this setting.

I have been struggling to get cmake well-behaved in the Fink
environment for many years, long before cmake was even aware of the 
existence of frameworks. I do not want to go back to a situation
where the 3rd party random junk that is typically installed in
/Library/Frameworks/ interferes with building Fink packages.

Currently there are around 260 Fink packages (not counting variants and
splitoffs) that use the cmake build system, with the current default of
CMAKE_FIND_FRAMEWORK that has been set to LAST since 2 years. Without a 
good reason, I do not want to risk breaking any of these packages.

-- 
Martin



------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to