[MacPorts] #40228: cmake: add FindLua52.cmake

MacPorts noreply at macports.org
Sun Sep 22 11:03:07 PDT 2013


#40228: cmake: add FindLua52.cmake
--------------------------+----------------------
  Reporter:  mojca@…      |      Owner:  css@…
      Type:  enhancement  |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  cmake wxLua  |
--------------------------+----------------------

Comment (by mojca@…):

 Waiting for 2.8.12 sounds perfectly fine (even though I have a hard time
 believing that this patch would be included in 2.8.12 given that RC3 is
 already out; if I was the developer I wouldn't dare changing the name of
 the module from RC3 to main release).

 In any case fixing this in 2.8.11/12 only makes sense if the solution will
 be the same as in the to-be-released version. It's pointless to add one
 file now and realize that a completely different solution will be used in
 the released version.

 Probably the main problem is that upstream software (like `wxLua`) expects
 the module to have a specific name (`wxLua` looks for `FindLua52.cmake`
 for example). I totally agree that it makes more sense to have version-
 agnostic `FindLua.cmake` rather than a separate module for each version.
 This `FindLua52.cmake` was just my quick-and-dirty solution to make the
 compilation work in the first place (lacking the experience to write a
 version-independent one).

 Meanwhile I will try to open a ticket in the tracker for wxLua.

-- 
Ticket URL: <https://trac.macports.org/ticket/40228#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list