games-util/vispatch: port to EAPI 7

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-04-03 20:15:09 +00:00
parent e0666174ee
commit f392d4c0f3
+8 -5
View File
@@ -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
}