summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-04-27 09:06:49 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-04-27 09:06:49 +0000
commitff44923d6e93c93d083ed661fad250717018f8e5 (patch)
tree49e66ef446b02883e09989f038bf3e6969dc58d9 /sci-libs/netcdf
parentVersion bumped. (diff)
downloadgentoo-2-ff44923d6e93c93d083ed661fad250717018f8e5.tar.gz
gentoo-2-ff44923d6e93c93d083ed661fad250717018f8e5.tar.bz2
gentoo-2-ff44923d6e93c93d083ed661fad250717018f8e5.zip
Removed blocking of hdf-4, thanks to Erik Zeek <zeekec@mad.scientist.com>. Fixed cppflags for non-debugging. Closing bug #176184.
(Portage version: 2.1.2.2)
Diffstat (limited to 'sci-libs/netcdf')
-rw-r--r--sci-libs/netcdf/ChangeLog6
-rw-r--r--sci-libs/netcdf/netcdf-3.6.2.ebuild10
2 files changed, 10 insertions, 6 deletions
diff --git a/sci-libs/netcdf/ChangeLog b/sci-libs/netcdf/ChangeLog
index 43cc3e223ded..0006bfc644e9 100644
--- a/sci-libs/netcdf/ChangeLog
+++ b/sci-libs/netcdf/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/netcdf
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v 1.34 2007/04/27 02:11:07 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v 1.35 2007/04/27 09:06:49 bicatali Exp $
+
+ 27 Apr 2007; Sébastien Fabbro <bicatali@gentoo.org> netcdf-3.6.2.ebuild:
+ Removed blocking of hdf-4, thanks to Erik Zeek <zeekec@mad.scientist.com>.
+ Fixed cppflags for non-debugging. Closing bug #176184.
27 Apr 2007; Jeroen Roovers <jer@gentoo.org> netcdf-3.6.1-r1.ebuild:
Stable for HPPA.
diff --git a/sci-libs/netcdf/netcdf-3.6.2.ebuild b/sci-libs/netcdf/netcdf-3.6.2.ebuild
index 6110312679f5..36b49a22ceb1 100644
--- a/sci-libs/netcdf/netcdf-3.6.2.ebuild
+++ b/sci-libs/netcdf/netcdf-3.6.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/netcdf-3.6.2.ebuild,v 1.1 2007/04/24 11:28:12 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/netcdf-3.6.2.ebuild,v 1.2 2007/04/27 09:06:49 bicatali Exp $
-inherit fortran eutils toolchain-funcs
+inherit fortran eutils toolchain-funcs flag-o-matic
DESCRIPTION="Scientific library and interface for array oriented data access"
SRC_URI="ftp://ftp.unidata.ucar.edu/pub/netcdf/${P}.tar.gz"
@@ -13,7 +13,7 @@ SLOT="0"
IUSE="fortran debug doc"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-RDEPEND="!sci-libs/hdf"
+RDEPEND=""
DEPEND="${RDEPEND}
doc? ( virtual/tetex )"
@@ -25,7 +25,7 @@ pkg_setup() {
}
src_compile() {
- use debug || CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+ use debug || append-cppflags -DNDEBUG
local myconf
if use fortran; then
# cfortran CPPFLAGS are now automatically set by the configure script
@@ -67,7 +67,7 @@ src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
find "${D}usr/$(get_libdir)" -name \*.la -exec rm -f {} \;
dodoc README RELEASE_NOTES VERSION || die "dodoc failed"
- # keep only pdf,txt and html docs
+ # keep only pdf,txt and html docs, info were already installed
if use doc; then
find "${D}usr/share/doc/${PF}" -name \*.ps -exec rm -f {} \;
find "${D}usr/share/doc/${PF}" -name \*.info -exec rm -f {} \;