summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2005-10-20 23:40:29 +0000
committerOlivier Fisette <ribosome@gentoo.org>2005-10-20 23:40:29 +0000
commit27e2543e0d98a61c3b28b9197532c546e31af087 (patch)
tree6afd07f559ef272f5cd35ea3178853b936661453 /sci-misc/h5utils/h5utils-1.10.ebuild
parentAdding local USE flag "octave" for "sci-misc/h5utils" (diff)
downloadhistorical-27e2543e0d98a61c3b28b9197532c546e31af087.tar.gz
historical-27e2543e0d98a61c3b28b9197532c546e31af087.tar.bz2
historical-27e2543e0d98a61c3b28b9197532c546e31af087.zip
Added optional Octave support, avoid access violations (fixes bug #109684).
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'sci-misc/h5utils/h5utils-1.10.ebuild')
-rw-r--r--sci-misc/h5utils/h5utils-1.10.ebuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/sci-misc/h5utils/h5utils-1.10.ebuild b/sci-misc/h5utils/h5utils-1.10.ebuild
index 35b45a308d3f..c0df4be0f66c 100644
--- a/sci-misc/h5utils/h5utils-1.10.ebuild
+++ b/sci-misc/h5utils/h5utils-1.10.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/h5utils/h5utils-1.10.ebuild,v 1.1 2005/10/20 01:00:30 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/h5utils/h5utils-1.10.ebuild,v 1.2 2005/10/20 23:40:29 ribosome Exp $
inherit eutils autotools
@@ -11,14 +11,19 @@ HOMEPAGE="http://ab-initio.mit.edu/h5utils/"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc"
-IUSE=""
+IUSE="octave"
SLOT="0"
DEPEND="sci-libs/hdf5"
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}"/${PV}-octave-path.patch
+}
+
src_compile() {
eautoconf
- econf --without-octave --without-h5fromh4 || die
+ econf $(use_with octave) --without-h5fromh4 || die
emake || die
}