summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-06-13 21:34:58 +0000
committerSamuli Suominen <drac@gentoo.org>2008-06-13 21:34:58 +0000
commitcbd882449cd18acc4bbf988c4de28b5a1e11755b (patch)
tree2a21dc1d62710aa13474380b0501077ebe6bf6e1 /dev-libs
parentstabilize (diff)
downloadgentoo-2-cbd882449cd18acc4bbf988c4de28b5a1e11755b.tar.gz
gentoo-2-cbd882449cd18acc4bbf988c4de28b5a1e11755b.tar.bz2
gentoo-2-cbd882449cd18acc4bbf988c4de28b5a1e11755b.zip
use flags debug and test
(Portage version: 2.1.5.4)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libffi/libffi-3.0.5.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/dev-libs/libffi/libffi-3.0.5.ebuild b/dev-libs/libffi/libffi-3.0.5.ebuild
index f6a9e6e600b3..000aa0951dea 100644
--- a/dev-libs/libffi/libffi-3.0.5.ebuild
+++ b/dev-libs/libffi/libffi-3.0.5.ebuild
@@ -1,8 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.5.ebuild,v 1.2 2008/06/13 20:54:59 drac Exp $
-
-inherit eutils
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.5.ebuild,v 1.3 2008/06/13 21:34:58 drac Exp $
DESCRIPTION="a portable, high level programming interface to various calling conventions."
HOMEPAGE="http://sourceware.org/libffi"
@@ -11,10 +9,14 @@ SRC_URI="ftp://sourceware.org/pub/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="debug test"
+
+DEPEND="test? ( dev-util/dejagnu )"
+RDEPEND=""
src_compile() {
- econf --disable-dependency-tracking || die "econf failed."
+ econf --disable-dependency-tracking \
+ $(use_enable debug) || die "econf failed."
emake || die "emake failed."
}