[MacPorts] #41241: vxl fails to build on OS X 10.9 Mavericks

MacPorts noreply at macports.org
Mon Mar 31 04:31:57 PDT 2014


#41241: vxl fails to build on OS X 10.9 Mavericks
---------------------------------+--------------------------------
  Reporter:  andreas.schuh.84@…  |      Owner:  macports-tickets@…
      Type:  defect              |     Status:  new
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:  2.2.1
Resolution:                      |   Keywords:  mavericks
      Port:  vxl                 |
---------------------------------+--------------------------------

Comment (by christian.frisson@…):

 Hi,

 I could manage to make it work, attached are the modified Portfile and 3
 diffs.

 It uses a newer git revision from https://github.com/vxl/vxl rather than
 the release.

 As mentioned in ticket #42872, using {{{PortGroup cmake 1.0}}} in the
 Porfile has CMake automatically fed with too many (too early) includes of
 {{{$prefix/include}}}, what prevents the compilation of vxl against an
 internal openjpeg 2.x. This is an issue if for instance ffmpeg is
 installed, which currently depends on openjpeg15 which gets precedence in
 the included directories order, even if cmake command
 {{{include_directories(BEFORE ...)}}} is used as proposed by Andreas
 above. Adding {{{
 configure.cflags-delete ${configure.cppflags}
 configure.cxxflags-delete ${configure.cppflags}
 }}} didn't work for me, so I uglily pasted the contents of
 {{{${prefix}/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/cmake-1.0.tcl}}},
 commenting out the configure.cppflags appends.

 I'm not sure the cmake files are installed in the proper directory which
 is currently {{{${prefix}/share/vxl/cmake}}}. For instance OpenCV doesn't
 have the trailing cmake subdir.

 Best regards,
 Christian.

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


More information about the macports-tickets mailing list