summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-06-02 22:04:46 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-06-02 22:04:46 +0000
commit63b47890dd7b02f2e090a28bba396a5d438f3330 (patch)
treec34c6a0e6e887bace4c3a280c6260ab205615ea6 /virtual
parentInitial import (diff)
downloadgentoo-2-63b47890dd7b02f2e090a28bba396a5d438f3330.tar.gz
gentoo-2-63b47890dd7b02f2e090a28bba396a5d438f3330.tar.bz2
gentoo-2-63b47890dd7b02f2e090a28bba396a5d438f3330.zip
Fix USE case for static-libs
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'virtual')
-rw-r--r--virtual/libffi/libffi-0.ebuild12
-rw-r--r--virtual/libffi/metadata.xml9
2 files changed, 15 insertions, 6 deletions
diff --git a/virtual/libffi/libffi-0.ebuild b/virtual/libffi/libffi-0.ebuild
index cac6abf74c5f..cd37abbd2673 100644
--- a/virtual/libffi/libffi-0.ebuild
+++ b/virtual/libffi/libffi-0.ebuild
@@ -1,15 +1,19 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/virtual/libffi/libffi-0.ebuild,v 1.4 2009/06/01 13:14:01 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/virtual/libffi/libffi-0.ebuild,v 1.5 2009/06/02 22:04:46 ssuominen Exp $
-DESCRIPTION="Virtual for libffi"
+EAPI=2
+
+DESCRIPTION="Virtual for dev-libs/libffi"
HOMEPAGE="http://www.gentoo.org"
SRC_URI=""
LICENSE=""
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
-IUSE=""
+IUSE="static-libs"
-RDEPEND="dev-libs/libffi"
+# When we are using this, we need to package.use.mask libffi
+# in sys-devel/gcc.
+RDEPEND="dev-libs/libffi[static-libs?]"
DEPEND=""
diff --git a/virtual/libffi/metadata.xml b/virtual/libffi/metadata.xml
index ac365a9d0f82..30909f8b311b 100644
--- a/virtual/libffi/metadata.xml
+++ b/virtual/libffi/metadata.xml
@@ -1,6 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>toolchain</herd>
-<maintainer><email>hkBst@gentoo.org</email></maintainer>
+ <herd>toolchain</herd>
+ <maintainer>
+ <email>ssuominen@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name='static-libs'>Compile static archives</flag>
+ </use>
</pkgmetadata>