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
commit1b2b9d618f581bbe5db69c44e5bb489f5b89db1f (patch)
treed7436f4d03157e9bb146768dcccf4bf790011882 /dev-libs/udis86/udis86-1.7.ebuild
parentpackage.use.mask dev-libs/udis86 test where dev-lang/yasm is not keyworded (diff)
downloadhistorical-1b2b9d618f581bbe5db69c44e5bb489f5b89db1f.tar.gz
historical-1b2b9d618f581bbe5db69c44e5bb489f5b89db1f.tar.bz2
historical-1b2b9d618f581bbe5db69c44e5bb489f5b89db1f.zip
depend on dav-lang/yasm for test, bug 318805
Package-Manager: portage-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"
}