commit: f96824b97f7f27ed91e880df1b779a625460de28 Author: John Helmert III <ajak <AT> gentoo <DOT> org> AuthorDate: Thu Mar 3 05:23:05 2022 +0000 Commit: John Helmert III <ajak <AT> gentoo <DOT> org> CommitDate: Thu Mar 3 05:23:34 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f96824b9
x11-misc/polybar: respect LDFLAGS Closes: https://bugs.gentoo.org/832357 Signed-off-by: John Helmert III <ajak <AT> gentoo.org> x11-misc/polybar/polybar-3.6.0.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/x11-misc/polybar/polybar-3.6.0.ebuild b/x11-misc/polybar/polybar-3.6.0.ebuild index 22e5d89b9188..b7195a5207fc 100644 --- a/x11-misc/polybar/polybar-3.6.0.ebuild +++ b/x11-misc/polybar/polybar-3.6.0.ebuild @@ -43,6 +43,11 @@ DEPEND=" " RDEPEND="${DEPEND}" +src_prepare() { + sed -e '/set/s/cxx_linker_flags_str/CMAKE_EXE_LINKER_FLAGS_INIT/' -i cmake/cxx.cmake || die + cmake_src_prepare +} + src_configure() { local mycmakeargs=( -DENABLE_ALSA="$(usex alsa)"
