From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/mvcase/, app-misc/mvcase/files/
Date: Sun, 31 Jul 2022 20:03:49 +0000 (UTC) [thread overview]
Message-ID: <1659297809.ede68031cc4762cda4087d82d111d1d8efb28c6a.soap@gentoo> (raw)
commit: ede68031cc4762cda4087d82d111d1d8efb28c6a
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 31 20:03:29 2022 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jul 31 20:03:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ede68031
app-misc/mvcase: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap <AT> gentoo.org>
app-misc/mvcase/files/mvcase-0.1-flags.patch | 16 ++++++++--------
.../{mvcase-0.1-r2.ebuild => mvcase-0.1-r3.ebuild} | 16 ++++++++--------
2 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/app-misc/mvcase/files/mvcase-0.1-flags.patch b/app-misc/mvcase/files/mvcase-0.1-flags.patch
index e0a9e99160f8..1c86a53e9c04 100644
--- a/app-misc/mvcase/files/mvcase-0.1-flags.patch
+++ b/app-misc/mvcase/files/mvcase-0.1-flags.patch
@@ -2,24 +2,24 @@ From: Julian Ospald <hasufell@gentoo.org>
Date: Wed Nov 14 23:22:15 UTC 2012
Subject: build system
- respect CC, CFLAGS and LDFLAGS
+ respect CC, CFLAGS, CPPFLAGS and LDFLAGS
---- mvcase-0.1/Makefile
-+++ mvcase-0.1/Makefile
-@@ -6,14 +6,13 @@
+--- a/Makefile
++++ b/Makefile
+@@ -6,15 +6,11 @@
MANPATH=/usr/man
COMPILE=gcc
ROFF=groff
-CFLAGS=
-CLIBS=-lshhopt
-+LIBS=-lshhopt
++LDLIBS=-lshhopt
INSTALL=install
all: mvcase mvcase.1.gz
- mvcase: mvcase.c
+-mvcase: mvcase.c
- $(COMPILE) $(CFLAGS) mvcase.c -o mvcase $(CLIBS)
-+ $(CC) $(CFLAGS) mvcase.c -o mvcase $(LDFLAGS) $(LIBS)
-
+-
mvcase.1.gz: mvcase.1
$(ROFF) -man -Tascii mvcase.1 | gzip > mvcase.1.gz
+
diff --git a/app-misc/mvcase/mvcase-0.1-r2.ebuild b/app-misc/mvcase/mvcase-0.1-r3.ebuild
similarity index 74%
rename from app-misc/mvcase/mvcase-0.1-r2.ebuild
rename to app-misc/mvcase/mvcase-0.1-r3.ebuild
index bf500a12a138..866c9116d34c 100644
--- a/app-misc/mvcase/mvcase-0.1-r2.ebuild
+++ b/app-misc/mvcase/mvcase-0.1-r3.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit toolchain-funcs
@@ -15,18 +15,18 @@ KEYWORDS="amd64 ppc x86"
DEPEND="dev-libs/shhopt"
RDEPEND="${DEPEND}"
+BDEPEND="sys-apps/groff"
PATCHES=(
- "${FILESDIR}/${P}-includes.patch"
- "${FILESDIR}/${P}-flags.patch"
+ "${FILESDIR}"/${P}-includes.patch
+ "${FILESDIR}"/${P}-flags.patch
)
-src_compile() {
- emake CC="$(tc-getCC)"
+src_configure() {
+ tc-export CC
}
src_install() {
- dobin "${PN}"
- doman "${PN}.1"
- einstalldocs
+ dobin mvcase
+ doman mvcase.1
}
reply other threads:[~2022-07-31 20:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1659297809.ede68031cc4762cda4087d82d111d1d8efb28c6a.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox