summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2017-08-17 00:11:32 +0900
committerAkinori Hattori <hattya@gentoo.org>2017-08-17 00:11:32 +0900
commitde722e9ac45dd10b002e915b08004acb845b279a (patch)
treeb472dd7c1a9888c371d4ec08eb2b86094ab0d4ba /app-i18n
parentapp-i18n/libchewing: drop old (diff)
downloadgentoo-de722e9ac45dd10b002e915b08004acb845b279a.tar.gz
gentoo-de722e9ac45dd10b002e915b08004acb845b279a.tar.bz2
gentoo-de722e9ac45dd10b002e915b08004acb845b279a.zip
app-i18n/libchewing: fix src_test
Gentoo-Bug: 623486 Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/libchewing/libchewing-0.4.0-r1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/app-i18n/libchewing/libchewing-0.4.0-r1.ebuild b/app-i18n/libchewing/libchewing-0.4.0-r1.ebuild
index 526dc209f753..6f3fb5790d76 100644
--- a/app-i18n/libchewing/libchewing-0.4.0-r1.ebuild
+++ b/app-i18n/libchewing/libchewing-0.4.0-r1.ebuild
@@ -13,6 +13,7 @@ SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 ~ppc ppc64 ~x86"
IUSE="static-libs test"
+REQUIRED_USE="test? ( static-libs )"
RDEPEND="dev-db/sqlite:3"
DEPEND="${RDEPEND}
@@ -33,6 +34,10 @@ src_configure() {
--with-sqlite3
}
+src_test() {
+ emake -j1 check
+}
+
src_install() {
default
prune_libtool_files