Bug 227126 - devel/cmake: FIND_PACKAGE(Boost ... python) doesn't differentiate between flavors of devel/boost-python-libs
Summary: devel/cmake: FIND_PACKAGE(Boost ... python) doesn't differentiate between fla...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2018-03-30 21:44 UTC by Yuri Victorovich
Modified: 2018-03-30 22:24 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2018-03-30 21:44:20 UTC
cmake always writes this into CMakeCache.txt:

> //Boost python library (debug)
> Boost_PYTHON_LIBRARY_DEBUG:FILEPATH=/usr/local/lib/libboost_python.so
> //Boost python library (release)
> Boost_PYTHON_LIBRARY_RELEASE:FILEPATH=/usr/local/lib/libboost_python.so

The library is actually /usr/local/lib/libboost_python3.so for python-3.X.

devel/boost-python-libs should probably be made fully concurrent, and it should be /usr/local/lib/libboost_pythonN.N.so
Comment 1 Yuri Victorovich freebsd_committer 2018-03-30 22:24:26 UTC
I'll recreate with a better explanation.