Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-editors/mined/
Date: Sun, 20 Feb 2022 08:46:15
Message-Id: 1645331152.503799036a7c56cacc33ad87c876141304362499.flow@gentoo
1 commit: 503799036a7c56cacc33ad87c876141304362499
2 Author: Alexander Holcomb <alex <AT> alexsdigital <DOT> rodeo>
3 AuthorDate: Sun Feb 20 04:19:44 2022 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 20 04:25:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=50379903
7
8 app-editors/mined: Make package respect LDFLAGS
9
10 This will edit the build command used for compilation to
11 explicitly enable LDFLAGS.
12 This commit should resolve bug 832740.
13
14 Package-Manager: Portage-3.0.28, Repoman-3.0.3
15 Signed-off-by: Alex Holcomb <alex <AT> alexsdigital.rodeo>
16
17 app-editors/mined/mined-2015.25.ebuild | 7 +++++--
18 1 file changed, 5 insertions(+), 2 deletions(-)
19
20 diff --git a/app-editors/mined/mined-2015.25.ebuild b/app-editors/mined/mined-2015.25.ebuild
21 index 006d7fe6d..6844b33e5 100644
22 --- a/app-editors/mined/mined-2015.25.ebuild
23 +++ b/app-editors/mined/mined-2015.25.ebuild
24 @@ -1,4 +1,4 @@
25 -# Copyright 2022 Gentoo Authors
26 +# Copyright 1999-2022 Gentoo Authors
27 # Distributed under the terms of the GNU General Public License v2
28
29 EAPI=7
30 @@ -17,7 +17,10 @@ BDEPEND=""
31 S=${S}/src
32 src_configure() {
33 sed -in 's/OBJDIR=..\/bin\/sh/OBJDIR=bin\/sh/' mkmined
34 - sed -in 's/\"\${COPT--DTERMIO \$W}\"/\"${CFLAGS} \${COPT--DTERMIO}\"/' mkmined
35 + sed -in 's/\"\${COPT--DTERMIO \$W}\"/\"${CFLAGS} \${COPT--DTERMIO} \${LDFLAGS}\"/' mkmined
36 + sed -in 's/name.o/name.o \$LDFLAGS/' mkmined
37 + sed -in 's/link=false/link=true/' mkmined
38 + sed -in 142's/$/ \$LDFLAGS/' mkmined
39 }
40
41 src_compile() {