summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-03-29 19:01:45 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-03-29 19:01:45 +0000
commit5271b0faf6f8ecd3e713e845eab2cbdd06fa1ac7 (patch)
tree9830da943e802cef3d454a0a652ffa37f0a6a33c /sci-libs/netcdf
parentMask twittare for removal. Bug #379277 (diff)
downloadgentoo-2-5271b0faf6f8ecd3e713e845eab2cbdd06fa1ac7.tar.gz
gentoo-2-5271b0faf6f8ecd3e713e845eab2cbdd06fa1ac7.tar.bz2
gentoo-2-5271b0faf6f8ecd3e713e845eab2cbdd06fa1ac7.zip
Fixed minimum libtool dependency (bug #409219, thanks dima), fixes a sed for man page, remove redundant lines with autotools-utils eclass
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/netcdf')
-rw-r--r--sci-libs/netcdf/ChangeLog6
-rw-r--r--sci-libs/netcdf/netcdf-4.1.3.ebuild17
2 files changed, 14 insertions, 9 deletions
diff --git a/sci-libs/netcdf/ChangeLog b/sci-libs/netcdf/ChangeLog
index d9688555291c..582b3d1da28b 100644
--- a/sci-libs/netcdf/ChangeLog
+++ b/sci-libs/netcdf/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/netcdf
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v 1.94 2012/03/25 10:35:22 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v 1.95 2012/03/29 19:01:45 bicatali Exp $
+
+ 29 Mar 2012; Sébastien Fabbro <bicatali@gentoo.org> netcdf-4.1.3.ebuild:
+ Fixed minimum libtool dependency (bug #409219, thanks dima), fixes a sed for
+ man page, remove redundant lines with autotools-utils eclass
25 Mar 2012; Justin Lecher <jlec@gentoo.org> netcdf-4.1.1-r4.ebuild,
netcdf-4.1.3.ebuild, metadata.xml:
diff --git a/sci-libs/netcdf/netcdf-4.1.3.ebuild b/sci-libs/netcdf/netcdf-4.1.3.ebuild
index 17e19e8fef4f..ee14517939e3 100644
--- a/sci-libs/netcdf/netcdf-4.1.3.ebuild
+++ b/sci-libs/netcdf/netcdf-4.1.3.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/netcdf/netcdf-4.1.3.ebuild,v 1.2 2012/03/25 10:35:22 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/netcdf-4.1.3.ebuild,v 1.3 2012/03/29 19:01:45 bicatali Exp $
EAPI=4
@@ -23,7 +23,7 @@ RDEPEND="
hdf5? ( >=sci-libs/hdf5-1.8.6[zlib,szip,fortran?] )"
DEPEND="${RDEPEND}
- >=sys-devel/libtool-2.2
+ >=sys-devel/libtool-2.4
doc? ( virtual/latex-base )
fortran? ( dev-lang/cfortran )"
@@ -48,13 +48,15 @@ pkg_setup() {
src_prepare() {
# use system cfortran
- rm -f fortran/cfortran.h || die
+ rm -f "${S}"/fortran/cfortran.h || die
# check for szip is libsz, not libszip
- sed -i -e 's/\[szip\]/\[sz\]/' configure.ac || die
- # we don't build udunits and libcf
- sed -i -e '/udunits libcf/d' configure.ac || die
+ # we don't build udunits and libcf we take them from system
+ sed -i \
+ -e 's/\[szip\]/\[sz\]/' \
+ -e '/udunits libcf/d' \
+ "${S}"/configure.ac || die
if ! use doc; then
- sed -i -e "/\$(NC_TEST4)/ s/man4//" Makefile.am || die
+ sed -i -e '/$(NC_TEST4) /s/man4//' "${S}"/Makefile.am || die
fi
autotools-utils_src_prepare
}
@@ -63,7 +65,6 @@ src_configure() {
myeconfargs=(
--docdir="${EPREFIX}"/usr/share/doc/${PF}
$(use_enable dap)
- $(use_enable static-libs static)
$(use_enable fortran f77)
$(use_enable fortran f90)
$(use_enable cxx)