summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-03-13 04:15:24 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-03-13 04:15:24 +0000
commita6449cb979288a9ebaa2d41b31c2d86db499ef70 (patch)
tree610067ff648805643d33aa6e8efdf7b25ee79c41 /sci-libs/cholmod/cholmod-1.7.4.ebuild
parentVersion bump. (diff)
downloadgentoo-2-a6449cb979288a9ebaa2d41b31c2d86db499ef70.tar.gz
gentoo-2-a6449cb979288a9ebaa2d41b31c2d86db499ef70.tar.bz2
gentoo-2-a6449cb979288a9ebaa2d41b31c2d86db499ef70.zip
Fixed for parmetis-3.2, bug #399483
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/cholmod/cholmod-1.7.4.ebuild')
-rw-r--r--sci-libs/cholmod/cholmod-1.7.4.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/sci-libs/cholmod/cholmod-1.7.4.ebuild b/sci-libs/cholmod/cholmod-1.7.4.ebuild
index 37167c6aac71..fc1043bbe1ae 100644
--- a/sci-libs/cholmod/cholmod-1.7.4.ebuild
+++ b/sci-libs/cholmod/cholmod-1.7.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cholmod/cholmod-1.7.4.ebuild,v 1.2 2012/01/26 19:40:13 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cholmod/cholmod-1.7.4.ebuild,v 1.3 2012/03/13 04:15:24 bicatali Exp $
EAPI=4
@@ -44,6 +44,10 @@ src_prepare() {
epatch "${WORKDIR}"/${PN}-${PPV}-autotools.patch
cd "${S}"
use debug && epatch "${FILESDIR}"/${P}-debug.patch
+ # bug #399483 does not build with parmetis-3.2
+ has_version "=sci-libs/parmetis-3.2*" && \
+ epatch "${FILESDIR}"/${P}-parmetis32.patch
+
# We need to take care of cholmod.h here as well depending on
# the USE flags, otherwise the installed file will reference
# headers that we may not have included.