commit: 503799036a7c56cacc33ad87c876141304362499
Author: Alexander Holcomb <alex <AT> alexsdigital <DOT> rodeo>
AuthorDate: Sun Feb 20 04:19:44 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Feb 20 04:25:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=50379903
app-editors/mined: Make package respect LDFLAGS
This will edit the build command used for compilation to
explicitly enable LDFLAGS.
This commit should resolve bug 832740.
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alex Holcomb <alex <AT> alexsdigital.rodeo>
app-editors/mined/mined-2015.25.ebuild | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/app-editors/mined/mined-2015.25.ebuild
b/app-editors/mined/mined-2015.25.ebuild
index 006d7fe6d..6844b33e5 100644
--- a/app-editors/mined/mined-2015.25.ebuild
+++ b/app-editors/mined/mined-2015.25.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -17,7 +17,10 @@ BDEPEND=""
S=${S}/src
src_configure() {
sed -in 's/OBJDIR=..\/bin\/sh/OBJDIR=bin\/sh/' mkmined
- sed -in 's/\"\${COPT--DTERMIO \$W}\"/\"${CFLAGS} \${COPT--DTERMIO}\"/'
mkmined
+ sed -in 's/\"\${COPT--DTERMIO \$W}\"/\"${CFLAGS} \${COPT--DTERMIO}
\${LDFLAGS}\"/' mkmined
+ sed -in 's/name.o/name.o \$LDFLAGS/' mkmined
+ sed -in 's/link=false/link=true/' mkmined
+ sed -in 142's/$/ \$LDFLAGS/' mkmined
}
src_compile() {