dev-libs/fortran-stdlib: 0.2.1-r1 revision bump

Drop GFORTRAN_VERSION subdir from installation path.
Replace absence html doc icon with presented favicon.png

Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This commit is contained in:
Sergey Torokhov
2022-11-24 15:27:21 +03:00
parent ebf9d27ff6
commit 4eb85a6d0a
2 changed files with 90 additions and 0 deletions

View File

@@ -36,6 +36,16 @@ pkg_setup() {
fortran-2_pkg_setup
}
src_prepare() {
default
# Remove Fortran compiler version from paths
sed -i -e "s:/\${CMAKE_Fortran_COMPILER_ID}-\${CMAKE_Fortran_COMPILER_VERSION}::" config/CMakeLists.txt || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs+=(
-DBUILD_SHARED_LIBS=on