commit: 0415d65fa2cff41caef38402f6f09c00678aac28 Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> AuthorDate: Fri Oct 29 19:09:39 2021 +0000 Commit: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> CommitDate: Fri Oct 29 19:14:04 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0415d65f
x11-libs/gtk-fortran: pass LDFLAGS Closes: https://bugs.gentoo.org/820494 Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> x11-libs/gtk-fortran/gtk-fortran-3.24.18.ebuild | 5 +++-- x11-libs/gtk-fortran/gtk-fortran-3.24.30.ebuild | 5 +++-- x11-libs/gtk-fortran/gtk-fortran-4.1.0.ebuild | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/x11-libs/gtk-fortran/gtk-fortran-3.24.18.ebuild b/x11-libs/gtk-fortran/gtk-fortran-3.24.18.ebuild index e0c095bfb..b83521beb 100644 --- a/x11-libs/gtk-fortran/gtk-fortran-3.24.18.ebuild +++ b/x11-libs/gtk-fortran/gtk-fortran-3.24.18.ebuild @@ -39,9 +39,10 @@ pkg_setup() { src_prepare() { default - # Fix library installation path and disable 'sketcher' build + # Fix library installation path, disable 'sketcher' build, pass LDFLAGS sed -i -e "s:CMAKE_INSTALL_LIBDIR lib:CMAKE_INSTALL_LIBDIR $(get_libdir):" \ - -e "s: add_subdirectory(sketcher)::" CMakeLists.txt || die + -e "s: add_subdirectory(sketcher)::" \ + -e 's:"-rdynamic":"-rdynamic '"${LDFLAGS}"'":' CMakeLists.txt || die use !static-libs && eapply "${FILESDIR}/${P}_skip-static-build.patch" diff --git a/x11-libs/gtk-fortran/gtk-fortran-3.24.30.ebuild b/x11-libs/gtk-fortran/gtk-fortran-3.24.30.ebuild index 243d4c8fb..f3ead5547 100644 --- a/x11-libs/gtk-fortran/gtk-fortran-3.24.30.ebuild +++ b/x11-libs/gtk-fortran/gtk-fortran-3.24.30.ebuild @@ -37,9 +37,10 @@ pkg_setup() { src_prepare() { default - # Fix library installation path and disable 'sketcher' build + # Fix library installation path, disable 'sketcher' build, pass LDFLAGS sed -i -e "s:CMAKE_INSTALL_LIBDIR lib:CMAKE_INSTALL_LIBDIR $(get_libdir):" \ - -e "s: add_subdirectory(sketcher)::" CMakeLists.txt || die + -e "s: add_subdirectory(sketcher)::" \ + -e 's:"-rdynamic":"-rdynamic '"${LDFLAGS}"'":' CMakeLists.txt || die cmake_src_prepare } diff --git a/x11-libs/gtk-fortran/gtk-fortran-4.1.0.ebuild b/x11-libs/gtk-fortran/gtk-fortran-4.1.0.ebuild index b95e91696..3de8bf832 100644 --- a/x11-libs/gtk-fortran/gtk-fortran-4.1.0.ebuild +++ b/x11-libs/gtk-fortran/gtk-fortran-4.1.0.ebuild @@ -37,9 +37,10 @@ pkg_setup() { src_prepare() { default - # Fix library installation path and disable 'sketcher' build + # Fix library installation path, disable 'sketcher' build, pass LDFLAGS sed -i -e "s:CMAKE_INSTALL_LIBDIR lib:CMAKE_INSTALL_LIBDIR $(get_libdir):" \ - -e "s: add_subdirectory(sketcher)::" CMakeLists.txt || die + -e "s: add_subdirectory(sketcher)::" \ + -e 's:"-rdynamic":"-rdynamic '"${LDFLAGS}"'":' CMakeLists.txt || die cmake_src_prepare }
