commit:     f392d4c0f3577d6df79d776d59f4c8a3ee956fc2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  3 20:05:16 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr  3 20:15:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f392d4c0

games-util/vispatch: port to EAPI 7

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-util/vispatch/vispatch-1.4.6.ebuild | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/games-util/vispatch/vispatch-1.4.6.ebuild 
b/games-util/vispatch/vispatch-1.4.6.ebuild
index 1bb5067893a..5a157407fa2 100644
--- a/games-util/vispatch/vispatch-1.4.6.ebuild
+++ b/games-util/vispatch/vispatch-1.4.6.ebuild
@@ -1,25 +1,28 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
+
 inherit toolchain-funcs
 
 DESCRIPTION="WaterVIS utility for glquake"
 HOMEPAGE="http://vispatch.sourceforge.net/";
 SRC_URI="mirror://sourceforge/vispatch/${P}.tgz"
+S="${WORKDIR}"/${P}/source
+
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-S=${WORKDIR}/${P}/source
 
 src_prepare() {
+       default
+
        sed -i \
                -e '/^CFLAGS/d' \
                -e '/^LDFLAGS/d' \
                makefile || die
+
        tc-export CC
 }
 

Reply via email to