summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2010-05-10 12:55:20 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2010-05-10 12:55:20 +0000
commite0944b9be3e253a5a1320c96b301567678bde828 (patch)
tree94a7bc6654c9b4a13b0bac2bd2b518c694f906ee /dev-libs/udis86/udis86-1.7.ebuild
parentpackage.use.mask dev-libs/udis86 test where dev-lang/yasm is not keyworded (diff)
downloadgentoo-2-e0944b9be3e253a5a1320c96b301567678bde828.tar.gz
gentoo-2-e0944b9be3e253a5a1320c96b301567678bde828.tar.bz2
gentoo-2-e0944b9be3e253a5a1320c96b301567678bde828.zip
depend on dav-lang/yasm for test, bug 318805
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/udis86/udis86-1.7.ebuild')
-rw-r--r--dev-libs/udis86/udis86-1.7.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-libs/udis86/udis86-1.7.ebuild b/dev-libs/udis86/udis86-1.7.ebuild
index f78bab34a9e1..fac08990cc5e 100644
--- a/dev-libs/udis86/udis86-1.7.ebuild
+++ b/dev-libs/udis86/udis86-1.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/udis86/udis86-1.7.ebuild,v 1.3 2010/05/07 16:14:48 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/udis86/udis86-1.7.ebuild,v 1.4 2010/05/10 12:55:20 chithanh Exp $
DESCRIPTION="Disassembler library for the x86/-64 architecture sets."
HOMEPAGE="http://udis86.sourceforge.net/"
@@ -11,6 +11,12 @@ SLOT="0"
KEYWORDS="~amd64 ~hppa ~x86 ~x86-fbsd"
IUSE=""
+DEPEND="test? ( dev-lang/yasm )"
+RDEPEND=""
+
+# src_test() needs dev-lang/yasm which is not keyworded on all arches, bug #318805.
+RESTRICT="!amd64? ( !x86? ( !x86-fbsd? ( test ) ) )"
+
src_install() {
emake docdir="/usr/share/doc/${PF}/" DESTDIR="${D}" install || die "emake install failed"
}