summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2010-07-03 16:36:27 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2010-07-03 16:36:27 +0000
commitd601f6ffe125d940ddf08a0c247ddc5171142d1f (patch)
tree42abe6a8d2b7563a2401770967574a70ab87fb8d
parentalpha/arm/ia64/s390/sh/sparc stable wrt #324553 (diff)
downloadgentoo-2-d601f6ffe125d940ddf08a0c247ddc5171142d1f.tar.gz
gentoo-2-d601f6ffe125d940ddf08a0c247ddc5171142d1f.tar.bz2
gentoo-2-d601f6ffe125d940ddf08a0c247ddc5171142d1f.zip
Adding debug flag
(Portage version: 2.1.8.3/cvs/Linux x86_64)
-rw-r--r--sci-libs/hdf5/ChangeLog6
-rw-r--r--sci-libs/hdf5/hdf5-1.8.5.ebuild7
2 files changed, 9 insertions, 4 deletions
diff --git a/sci-libs/hdf5/ChangeLog b/sci-libs/hdf5/ChangeLog
index f4f8a06aa726..903b6f239c5c 100644
--- a/sci-libs/hdf5/ChangeLog
+++ b/sci-libs/hdf5/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/hdf5
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v 1.59 2010/06/20 11:45:05 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v 1.60 2010/07/03 16:36:27 xarthisius Exp $
+
+ 03 Jul 2010; Kacper Kowalik <xarthisius@gentoo.org> hdf5-1.8.5.ebuild,
+ metadata.xml:
+ Adding debug flag
20 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org>
-files/hdf5-1.6.6-gcc4.3.patch, -hdf5-1.6.7.ebuild,
diff --git a/sci-libs/hdf5/hdf5-1.8.5.ebuild b/sci-libs/hdf5/hdf5-1.8.5.ebuild
index cc0a01c62e98..c7bb19e17544 100644
--- a/sci-libs/hdf5/hdf5-1.8.5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.8.5.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/hdf5/hdf5-1.8.5.ebuild,v 1.1 2010/06/16 19:17:43 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.8.5.ebuild,v 1.2 2010/07/03 16:36:27 xarthisius Exp $
EAPI=2
@@ -14,7 +14,7 @@ LICENSE="NCSA-HDF"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="cxx examples fortran mpi szip threads zlib"
+IUSE="cxx debug examples fortran mpi szip threads zlib"
RDEPEND="mpi? ( virtual/mpi[romio] )
szip? ( >=sci-libs/szip-2.1 )
@@ -65,6 +65,7 @@ src_prepare() {
src_configure() {
# threadsafe incompatible with many options
local myconf="--disable-threadsafe"
+ use debug && myconf="${myconf} --enable-codestack"
use threads && ! use fortran && ! use cxx && ! use mpi \
&& myconf="--enable-threadsafe"
@@ -83,10 +84,10 @@ src_configure() {
econf \
--disable-sharedlib-rpath \
--enable-production \
- --enable-strict-format-checks \
--docdir=/usr/share/doc/${PF} \
--enable-deprecated-symbols \
--enable-shared \
+ $(use_enable debug debug all) \
$(use_enable fortran) \
$(use_enable mpi parallel) \
$(use_with szip szlib) \