[MacPorts] #44062: root6: either make it work on 10.6 (or declare it broken)

MacPorts noreply at macports.org
Wed Jun 18 10:43:30 PDT 2014


#44062: root6: either make it work on 10.6 (or declare it broken)
----------------------+--------------------------------
  Reporter:  mojca@…  |      Owner:  macports-tickets@…
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:  snowleopard
      Port:  root6    |
----------------------+--------------------------------

Comment (by mojca@…):

 Chris, we definitely need to use `-Dx11=ON`. I would say that this should
 be fixed upstream, but it's trivial to add that flag to the port.

 The problem is that CMake then finds a lot of libraries from `/usr/`. Are
 you willing to play with options like we did for all other variants to
 make sure that all libraries eventually come from `${prefix}`? Maybe there
 is also some trick, a single `-DCMAKE_`''`SOMETHING`'' that would give
 preference to all libraries from `${prefix}` and we could explore that
 first. That is independent of 10.6 and I already spent waaaaaay too much
 time debugging 10.6.

   * I hope that a few extra `X11` flags could fix the issues with `X11`.
   * The CMake issue can be fixed "globally" by passing the variables with
 a trivial patch as suggested by Pere, but we still need to pass empty
 flags to the port once (and remove the default ones – I'm not sure how to
 do the removal). Unless Jeremy thinks that the libs could also be
 installed inside the SDK (that would be even better from our perspective,
 but not sure if that's "allowed").
   * The file `montecarlo/vmc/inc/TMCtls.h` can be trivially patched by
 removing `#include <pthread.h>` and by removing `__thread` in the next
 line.
   * That apple from `#endif __APPLE__` can be commented out in
 `/opt/local/libexec/llvm-3.4/include/c++/v1/cmath` by Jeremy.
 And then we should be set. Unless ROOT will then keep crashing (which is
 not impossible).

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


More information about the macports-tickets mailing list