summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-12-22 15:42:04 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-12-22 15:42:04 +0000
commit387b317a4d45ebb30c57e72d9e248f2ace0b4663 (patch)
tree77d7d7e3d2051504c64e37bb8c83d34096cd075d /sci-astronomy/cpl/cpl-5.2.0-r1.ebuild
parentVersion bump. (diff)
downloadgentoo-2-387b317a4d45ebb30c57e72d9e248f2ace0b4663.tar.gz
gentoo-2-387b317a4d45ebb30c57e72d9e248f2ace0b4663.tar.bz2
gentoo-2-387b317a4d45ebb30c57e72d9e248f2ace0b4663.zip
Fixed failing fft test on some configuration
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'sci-astronomy/cpl/cpl-5.2.0-r1.ebuild')
-rw-r--r--sci-astronomy/cpl/cpl-5.2.0-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/sci-astronomy/cpl/cpl-5.2.0-r1.ebuild b/sci-astronomy/cpl/cpl-5.2.0-r1.ebuild
index 4a13d5424d59..dec98c1aba77 100644
--- a/sci-astronomy/cpl/cpl-5.2.0-r1.ebuild
+++ b/sci-astronomy/cpl/cpl-5.2.0-r1.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-astronomy/cpl/cpl-5.2.0-r1.ebuild,v 1.2 2010/09/25 20:22:54 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/cpl/cpl-5.2.0-r1.ebuild,v 1.3 2010/12/22 15:42:04 bicatali Exp $
EAPI=2
JAVA_PKG_OPT_USE=gasgano
@@ -25,6 +25,11 @@ DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
gasgano? ( >=virtual/jdk-1.5 )"
+src_prepare() {
+ # fft precision test failed. should be fixed in 5.3
+ epatch "${FILESDIR}"/${P}-test.patch
+}
+
src_configure() {
has_version sci-libs/cfitsio[static-libs] || \
sed -i -e 's/libcfitsio.a/libcfitsio.so/' configure