mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
app-editors/mined: Make Ebuild Respect CFLAGS
This changes the build process to use the src/mkmined script, rather than the makemined script called by the makefile. This should solve bug 831704 (https://bugs.gentoo.org/831704), by making the script use CFLAGS, rather than having them explicity set. Also, I changed the copyright notice to "2022," rather than "1998-2022," because repoman mentioned it as a minor issue. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alex Holcomb <alex@alexsdigital.rodeo>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -14,13 +14,18 @@ IUSE=""
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND=""
|
||||
#src_configure() {
|
||||
# econf
|
||||
#}
|
||||
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
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
mkdir bin/
|
||||
./mkmined
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/Linux.x86_64/mined
|
||||
doman man/mined.1
|
||||
dobin bin/sh/mined
|
||||
doman ../man/mined.1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user