summaryrefslogtreecommitdiff
path: root/app-i18n/skkfep/skkfep-0.87-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /app-i18n/skkfep/skkfep-0.87-r1.ebuild
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'app-i18n/skkfep/skkfep-0.87-r1.ebuild')
-rw-r--r--app-i18n/skkfep/skkfep-0.87-r1.ebuild23
1 files changed, 14 insertions, 9 deletions
diff --git a/app-i18n/skkfep/skkfep-0.87-r1.ebuild b/app-i18n/skkfep/skkfep-0.87-r1.ebuild
index 3a217647e69b..7fc8f7512158 100644
--- a/app-i18n/skkfep/skkfep-0.87-r1.ebuild
+++ b/app-i18n/skkfep/skkfep-0.87-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI="7"
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="A SKK-like Japanese input method for console"
HOMEPAGE="http://aitoweb.world.coocan.jp/soft.html"
@@ -14,12 +14,12 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
-DEPEND="sys-apps/sed
- sys-libs/ncurses:=
+DEPEND="sys-libs/ncurses:="
+RDEPEND="${DEPEND}
+ app-i18n/skk-jisyo"
+BDEPEND="sys-apps/sed
virtual/awk
virtual/pkgconfig"
-RDEPEND="sys-libs/ncurses:=
- app-i18n/skk-jisyo"
PATCHES=(
"${FILESDIR}"/${PN}-gentoo.patch
@@ -32,6 +32,11 @@ src_prepare() {
sed -i "/SYSTEM_DIC_NAME/a#define SYSTEM_DIC_NAME \"${EPREFIX}/usr/share/skk/SKK-JISYO.L\"" config.h
default
+ # written in K&R C
+ append-flags \
+ -Wno-implicit-function-declaration \
+ -Wno-implicit-int \
+ -Wno-return-type
}
src_compile() {
@@ -42,7 +47,7 @@ src_compile() {
}
src_install() {
- dobin skkfep escmode
- doman skkfep.1
+ dobin ${PN} escmode
+ doman ${PN}.1
einstalldocs
}