summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-12-22 18:18:13 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-12-22 18:18:13 +0000
commit186ee55fb1b940c27ea050629c480a0c763dc687 (patch)
tree1f4f37b4f6d24089368d0ee575b309cc650716c8 /sci-libs/amd/amd-2.2.1.ebuild
parentStable for HPPA (bug #349045). (diff)
downloadgentoo-2-186ee55fb1b940c27ea050629c480a0c763dc687.tar.gz
gentoo-2-186ee55fb1b940c27ea050629c480a0c763dc687.tar.bz2
gentoo-2-186ee55fb1b940c27ea050629c480a0c763dc687.zip
Re-enable a working test and disable the proper failing one in the autotools patch. Added static-libs flag.
(Portage version: 2.1.9.26/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/amd/amd-2.2.1.ebuild')
-rw-r--r--sci-libs/amd/amd-2.2.1.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/sci-libs/amd/amd-2.2.1.ebuild b/sci-libs/amd/amd-2.2.1.ebuild
index f949552045b8..0743b25c3186 100644
--- a/sci-libs/amd/amd-2.2.1.ebuild
+++ b/sci-libs/amd/amd-2.2.1.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/sci-libs/amd/amd-2.2.1.ebuild,v 1.4 2010/12/16 14:18:02 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/amd/amd-2.2.1.ebuild,v 1.5 2010/12/22 18:18:12 bicatali Exp $
EAPI="3"
@@ -15,7 +15,7 @@ SRC_URI="http://www.cise.ufl.edu/research/sparse/${PN}/${MY_PN}-${PV}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
-IUSE="doc"
+IUSE="doc static-libs"
RDEPEND="sci-libs/ufconfig"
DEPEND="${RDEPEND}"
@@ -24,11 +24,14 @@ S="${WORKDIR}/${MY_PN}"
src_prepare() {
epatch \
- "${FILESDIR}"/${PN}-2.2.0-autotools.patch \
- "${FILESDIR}"/${PV}-test.patch
+ "${FILESDIR}"/${PN}-2.2.0-autotools.patch
eautoreconf
}
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc README.txt Doc/ChangeLog || die "dodoc failed"