[MacPorts] #63273: boost proxy package skips cmake scripts install for +cmake_scripts variant

MacPorts noreply at macports.org
Wed Jul 21 19:37:22 UTC 2021


#63273: boost proxy package skips cmake scripts install for +cmake_scripts variant
-----------------------+--------------------
 Reporter:  gkorovkin  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.7.1
 Keywords:             |       Port:  boost
-----------------------+--------------------
 After port install boost with +cmake_scripts variant there is no
 corresponding cmake scripts in /opt/local/lib/cmake directory.

 Installed ports versions:
 {{{
   boost @1.76_0 (active)
   boost176 @1.76.0_2+cmake_scripts+no_single+python39 (active)
 }}}

 Quick review shown that there is a few line in
 devel/boost/Portfile:destroot stage (lines 53,54) which always will be
 skipping lib/cmake installation:

 {{{
             set plib ${prefix}/lib/[file tail ${lib}]
             if {![file exists ${plib}]}
 }}}

 for lib equal "/opt/local/libexec/boost/1.76/lib/cmake", plib will be
 "/opt/local/lib/cmake" and cmake scripts "destrooting" will be skipped

-- 
Ticket URL: <https://trac.macports.org/ticket/63273>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list