commit: bd98a6f60cbfc54571e446e06297832c506f9fe1 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Sep 1 02:10:02 2020 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Sep 1 02:10:02 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd98a6f6
sys-apps/qcontrol: respect LDFLAGS Closes: https://bugs.gentoo.org/725604 Package-Manager: Portage-3.0.4, Repoman-2.3.23 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-apps/qcontrol/qcontrol-0.4.2-r1.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys-apps/qcontrol/qcontrol-0.4.2-r1.ebuild b/sys-apps/qcontrol/qcontrol-0.4.2-r1.ebuild index 3dfb69bbc9a..2cf602ce505 100644 --- a/sys-apps/qcontrol/qcontrol-0.4.2-r1.ebuild +++ b/sys-apps/qcontrol/qcontrol-0.4.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -20,13 +20,16 @@ RDEPEND="${DEPEND}" src_prepare() { default + eapply "${WORKDIR}"/*.diff eapply debian/patches/*.patch eapply "${FILESDIR}"/${PV}-Makefile.patch + + sed -i -e "s/LDFLAGS=/LDFLAGS ?=/" Makefile || die } src_compile() { - emake CC="$(tc-getCC)" qcontrol + emake CC="$(tc-getCC)" LDFLAGS="-llua -lpthread ${LDFLAGS}" qcontrol } src_install() {
