diff options
author | David Seifert <soap@gentoo.org> | 2022-07-31 22:03:29 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-07-31 22:03:29 +0200 |
commit | ede68031cc4762cda4087d82d111d1d8efb28c6a (patch) | |
tree | a0072b3909d62db3a969d8d8451f6d0474566781 /app-misc/mvcase | |
parent | app-misc/mepl: update EAPI 6 -> 8 (diff) | |
download | gentoo-ede68031cc4762cda4087d82d111d1d8efb28c6a.tar.gz gentoo-ede68031cc4762cda4087d82d111d1d8efb28c6a.tar.bz2 gentoo-ede68031cc4762cda4087d82d111d1d8efb28c6a.zip |
app-misc/mvcase: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-misc/mvcase')
-rw-r--r-- | app-misc/mvcase/files/mvcase-0.1-flags.patch | 16 | ||||
-rw-r--r-- | app-misc/mvcase/mvcase-0.1-r3.ebuild (renamed from app-misc/mvcase/mvcase-0.1-r2.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 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 } |