aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Holcomb <alex@alexsdigital.rodeo>2022-02-19 22:19:44 -0600
committerAlexander Holcomb <alex@alexsdigital.rodeo>2022-02-19 22:25:52 -0600
commit503799036a7c56cacc33ad87c876141304362499 (patch)
tree35a7e18cba484b95e49b89fddaea9ab5f75040bf /app-editors
parentdev-util/blueprint-compiler: Initial import (diff)
downloadguru-503799036a7c56cacc33ad87c876141304362499.tar.gz
guru-503799036a7c56cacc33ad87c876141304362499.tar.bz2
guru-503799036a7c56cacc33ad87c876141304362499.zip
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@alexsdigital.rodeo>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/mined/mined-2015.25.ebuild7
1 files 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() {