commit:     bbf25b4f2790290a7092f83630c17bb6aa12ab97
Author:     Carlos Eduardo <carana2099 <AT> gmail <DOT> com>
AuthorDate: Thu May 30 10:07:16 2024 +0000
Commit:     Carlos Eduardo <carana2099 <AT> gmail <DOT> com>
CommitDate: Thu May 30 10:07:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bbf25b4f

app-text/lchat: respect LDFLAGS 2.0

Closes: https://bugs.gentoo.org/932604
Signed-off-by: Carlos Eduardo <carana2099 <AT> gmail.com>

 app-text/lchat/{lchat-1.0-r1.ebuild => lchat-1.0-r2.ebuild} | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-text/lchat/lchat-1.0-r1.ebuild 
b/app-text/lchat/lchat-1.0-r2.ebuild
similarity index 85%
rename from app-text/lchat/lchat-1.0-r1.ebuild
rename to app-text/lchat/lchat-1.0-r2.ebuild
index 3e5bb2e11..3a094f1be 100644
--- a/app-text/lchat/lchat-1.0-r1.ebuild
+++ b/app-text/lchat/lchat-1.0-r2.ebuild
@@ -16,7 +16,10 @@ DEPEND="${RDEPEND}"
 IUSE="+examples"
 
 src_compile() {
-       emake CC="$(tc-getCC)" CFLAGS="$CFLAGS" LIBS="-lgrapheme $LDFLAGS" all 
$(usex examples filter/indent)
+       emake CC="$(tc-getCC)" CFLAGS="$CFLAGS" LIBS="-lgrapheme $LDFLAGS" all
+       if use examples; then
+               emake CC="$(tc-getCC)" CFLAGS="$CFLAGS $LDFLAGS" filter/indent
+       fi
 }
 
 src_install() {

Reply via email to