commit:     2a6eb017f6706dfd4c3f27888969ff5a417aa422
Author:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 18 22:18:02 2015 +0000
Commit:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
CommitDate: Fri Sep 18 22:18:02 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a6eb017

net-misc/telnet-bsd: fix build with force --as-needed

Fixes #559154
Thanks to Lars Wendler and Felix Janda

Package-Manager: portage-2.2.20.1

 net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild 
b/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild
index 0a5ea05..3861486 100644
--- a/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild
+++ b/net-misc/telnet-bsd/telnet-bsd-1.2-r1.ebuild
@@ -33,7 +33,7 @@ src_configure() {
        fi
 
        econf
-       emake CFLAGS="${CFLAGS} $("$(tc-getPKG_CONFIG)" --libs ncurses)"
+       emake LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
 }
 
 src_install() {

Reply via email to