summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-19 07:31:34 +0100
committerSam James <sam@gentoo.org>2021-04-19 20:09:49 +0100
commit655767d6aa612ced09b1a9bb31ee68656817cc35 (patch)
tree591041ad78348f60cc7e1efc196972a9233b1654 /games-action/wordwarvi/wordwarvi-1.00-r1.ebuild
parentgames-action/battalion: respect ${PKG_CONFIG} (diff)
downloadgentoo-655767d6aa612ced09b1a9bb31ee68656817cc35.tar.gz
gentoo-655767d6aa612ced09b1a9bb31ee68656817cc35.tar.bz2
gentoo-655767d6aa612ced09b1a9bb31ee68656817cc35.zip
games-action/wordwarvi: respect ${PKG_CONFIG}
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-action/wordwarvi/wordwarvi-1.00-r1.ebuild')
-rw-r--r--games-action/wordwarvi/wordwarvi-1.00-r1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/games-action/wordwarvi/wordwarvi-1.00-r1.ebuild b/games-action/wordwarvi/wordwarvi-1.00-r1.ebuild
index 096c489f0c65..da2395b0216c 100644
--- a/games-action/wordwarvi/wordwarvi-1.00-r1.ebuild
+++ b/games-action/wordwarvi/wordwarvi-1.00-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit desktop
+inherit desktop toolchain-funcs
DESCRIPTION="A retro side-scrolling shoot'em up based on the editor war story"
HOMEPAGE="http://wordwarvi.sourceforge.net"
@@ -36,6 +36,8 @@ src_prepare() {
}
src_compile() {
+ tc-export PKG_CONFIG
+
emake \
PREFIX="/usr" \
DATADIR="/usr/share/${PN}" \
@@ -51,7 +53,7 @@ src_install() {
install
if ! use portaudio ; then
- rm -rf "${D}/usr/share" || die
+ rm -rf "${ED}/usr/share" || die
fi
dodoc README AUTHORS changelog.txt AAA_HOW_TO_MAKE_NEW_LEVELS.txt