Disable using valgrind for tests. Remove the now-unused flag
and commented out unnecessary deps.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
LICENSE="GPL-2+ Apache-2.0 LGPL-2.1+ MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
-IUSE="test"
+IUSE=""
RDEPEND="app-arch/bzip2:=
sys-libs/zlib:="
DEPEND="${RDEPEND}"
-# test? ( dev-util/valgrind )
-# test? ( app-text/tofrodos )
-RESTRICT="test" #282441, #523212
+# Tests seem to rely on exact output:
+# https://sourceforge.net/p/advancemame/bugs/270/
+RESTRICT="test"
src_configure() {
local myconf=(
--enable-bzip2
- $(use_enable test valgrind)
+ # (--disable-* arguments are mishandled)
+ # --disable-debug
+ # --disable-valgrind
)
econf "${myconf[@]}"
}