1 |
commit: bd98a6f60cbfc54571e446e06297832c506f9fe1 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 1 02:10:02 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 1 02:10:02 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd98a6f6 |
7 |
|
8 |
sys-apps/qcontrol: respect LDFLAGS |
9 |
|
10 |
Closes: https://bugs.gentoo.org/725604 |
11 |
Package-Manager: Portage-3.0.4, Repoman-2.3.23 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
sys-apps/qcontrol/qcontrol-0.4.2-r1.ebuild | 7 +++++-- |
15 |
1 file changed, 5 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/sys-apps/qcontrol/qcontrol-0.4.2-r1.ebuild b/sys-apps/qcontrol/qcontrol-0.4.2-r1.ebuild |
18 |
index 3dfb69bbc9a..2cf602ce505 100644 |
19 |
--- a/sys-apps/qcontrol/qcontrol-0.4.2-r1.ebuild |
20 |
+++ b/sys-apps/qcontrol/qcontrol-0.4.2-r1.ebuild |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 1999-2019 Gentoo Authors |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=7 |
27 |
@@ -20,13 +20,16 @@ RDEPEND="${DEPEND}" |
28 |
|
29 |
src_prepare() { |
30 |
default |
31 |
+ |
32 |
eapply "${WORKDIR}"/*.diff |
33 |
eapply debian/patches/*.patch |
34 |
eapply "${FILESDIR}"/${PV}-Makefile.patch |
35 |
+ |
36 |
+ sed -i -e "s/LDFLAGS=/LDFLAGS ?=/" Makefile || die |
37 |
} |
38 |
|
39 |
src_compile() { |
40 |
- emake CC="$(tc-getCC)" qcontrol |
41 |
+ emake CC="$(tc-getCC)" LDFLAGS="-llua -lpthread ${LDFLAGS}" qcontrol |
42 |
} |
43 |
|
44 |
src_install() { |