diff --git a/app-misc/mc/mc-4.8.22.ebuild b/app-misc/mc/mc-4.8.22.ebuild index e2a128c7a3d37..7f41dea701e3d 100644 --- a/app-misc/mc/mc-4.8.22.ebuild +++ b/app-misc/mc/mc-4.8.22.ebuild @@ -70,6 +70,15 @@ src_configure() { econf "${myeconfargs[@]}" } +src_test() { + # CK_FORK=no to avoid using fork() in check library + # as mc mocks fork() itself: bug #644462. + # + # VERBOSE=1 to make test failures contain detailed + # information. + CK_FORK=no emake check VERBOSE=1 +} + src_install() { emake DESTDIR="${D}" install dodoc AUTHORS README NEWS diff --git a/app-misc/mc/mc-9999.ebuild b/app-misc/mc/mc-9999.ebuild index 722ae657e0d8d..d27af1106ec42 100644 --- a/app-misc/mc/mc-9999.ebuild +++ b/app-misc/mc/mc-9999.ebuild @@ -83,6 +83,14 @@ src_configure() { econf "${myeconfargs[@]}" } +src_test() { + # CK_FORK=no to avoid using fork() in check library + # as mc mocks fork() itself: bug #644462. + # + # VERBOSE=1 to make test failures contain detailed + # information. + CK_FORK=no emake check VERBOSE=1 +} src_install() { emake DESTDIR="${D}" install dodoc AUTHORS doc/{FAQ,NEWS,README}