mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
x11-libs/gtk-fortran: pass LDFLAGS
Closes: https://bugs.gentoo.org/820494 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user