summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-misc/fortune-mod-at-linux')
-rw-r--r--games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild b/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild
index c19351a2a5d6..2339f337c8b1 100644
--- a/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild
+++ b/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild
@@ -1,11 +1,13 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
+
MY_P="fortune-mod-at.linux-${PV}"
DESCRIPTION="Quotes from at.linux"
HOMEPAGE="http://fortune-mod-fvl.sourceforge.net/"
SRC_URI="mirror://sourceforge/fortune-mod-fvl/${MY_P}.tar.gz"
+S="${WORKDIR}"/${MY_P}
LICENSE="GPL-2"
SLOT="0"
@@ -13,17 +15,15 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc64 ~x86 ~amd64-linux ~
IUSE="unicode"
RDEPEND="games-misc/fortune-mod"
-DEPEND="${RDEPEND}
- unicode? ( virtual/libiconv )"
-
-S=${WORKDIR}/${MY_P}
+DEPEND="${RDEPEND}"
+BDEPEND=" unicode? ( virtual/libiconv )"
src_compile() {
# bug #322111
if use unicode ; then
- iconv --from-code=ISO-8859-1 --to-code=UTF-8 at.linux > at.linux-utf8
- mv at.linux-utf8 at.linux
- strfile -s at.linux
+ iconv --from-code=ISO-8859-1 --to-code=UTF-8 at.linux > at.linux-utf8 || die
+ mv at.linux-utf8 at.linux || die
+ strfile -s at.linux || die
fi
}