From 4366146ef8c8615043e50c4f70f48aca13f199e5 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Thu, 23 Jun 2022 11:34:23 +0200 Subject: [PATCH] Better comments --- boost.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boost.spec b/boost.spec index c676aa3..afc01ed 100644 --- a/boost.spec +++ b/boost.spec @@ -824,7 +824,7 @@ mv ${RPM_BUILD_ROOT}${MPI_HOME}/lib/boost-python%{python3_version}/mpi.so \ ${RPM_BUILD_ROOT}%{python3_sitearch}/openmpi/boost/ %endif -# Fix CMake config files +# Using 'b2 stage' does not fix the paths in these files, so do it manually sed -i -e 's|get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/.*"|get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/../../../../include"|' ${RPM_BUILD_ROOT}${MPI_HOME}/lib/cmake/*/*-config.cmake # Remove generic parts of boost that were built for dependencies. @@ -855,7 +855,7 @@ mv ${RPM_BUILD_ROOT}${MPI_HOME}/lib/boost-python%{python3_version}/mpi.so \ ${RPM_BUILD_ROOT}%{python3_sitearch}/mpich/boost/ %endif -# Fix CMake config files +# Using 'b2 stage' does not fix the paths in these files, so do it manually sed -i -e 's|get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/.*"|get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/../../../../include"|' ${RPM_BUILD_ROOT}${MPI_HOME}/lib/cmake/*/*-config.cmake # Remove generic parts of boost that were built for dependencies.