[MacPorts] #53452: taglib: opportunistically links with boost

MacPorts noreply at macports.org
Wed Feb 1 14:04:38 UTC 2017


#53452: taglib: opportunistically links with boost
-------------------------+------------------------
  Reporter:  ctreleaven  |      Owner:  ryandesign
      Type:  defect      |     Status:  accepted
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  taglib      |
-------------------------+------------------------

Comment (by ctreleaven):

 I may have found a solution.  It appears that appending
 {{{-DBoost_INCLUDE_DIR=""}}} to the configure args prevents an installed
 boost from being found.  Not the cleanest solution but the resulting lib
 no longer references {{{libboost_atomic-mt.dylib}}}.

 Relevant portion of the configure output is:


 {{{
 -- Could NOT find Boost
 -- Performing Test HAVE_STD_ATOMIC
 -- Performing Test HAVE_STD_ATOMIC - Failed
 CMake Warning at /opt/local/share/cmake-3.7/Modules/FindBoost.cmake:761
 (message):
   Imported targets not available for Boost version
 Call Stack (most recent call first):
   /opt/local/share/cmake-3.7/Modules/FindBoost.cmake:865
 (_Boost_COMPONENT_DEPENDENCIES)
   /opt/local/share/cmake-3.7/Modules/FindBoost.cmake:1454
 (_Boost_MISSING_DEPENDENCIES)
   ConfigureChecks.cmake:57 (find_package)
   CMakeLists.txt:101 (include)


 -- Could NOT find Boost
 -- Performing Test HAVE_GCC_ATOMIC
 -- Performing Test HAVE_GCC_ATOMIC - Success
 -- Performing Test HAVE_BOOST_BYTESWAP
 -- Performing Test HAVE_BOOST_BYTESWAP - Success
 }}}

 I can commit this if you like.

--
Ticket URL: <https://trac.macports.org/ticket/53452#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list