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