aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-06-24 14:13:17 +0200
committerJustin Lecher <jlec@gentoo.org>2011-06-24 14:13:17 +0200
commit03e46df8ec234b81dd2277e3c8812ba589a52293 (patch)
tree76788bcccc390bffdf48ff9206b09c6c5251510c
parentSort inherit and/or USE (diff)
downloadsci-03e46df8ec234b81dd2277e3c8812ba589a52293.tar.gz
sci-03e46df8ec234b81dd2277e3c8812ba589a52293.tar.bz2
sci-03e46df8ec234b81dd2277e3c8812ba589a52293.zip
Streamlined fortran-2 eclass usage
(Portage version: 2.2.0_alpha41/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 70EB7916)
-rw-r--r--sci-libs/bigdft/ChangeLog3
-rw-r--r--sci-libs/bigdft/Manifest10
-rw-r--r--sci-libs/bigdft/bigdft-1.2.0.2.ebuild11
3 files changed, 12 insertions, 12 deletions
diff --git a/sci-libs/bigdft/ChangeLog b/sci-libs/bigdft/ChangeLog
index e738960c7..3511aab36 100644
--- a/sci-libs/bigdft/ChangeLog
+++ b/sci-libs/bigdft/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 24 Jun 2011; Justin Lecher <jlec@gentoo.org> bigdft-1.2.0.2.ebuild:
+ Streamlined fortran-2 eclass usage
+
21 Jun 2011; Justin Lecher <jlec@gentoo.org> bigdft-1.2.0.2.ebuild,
+metadata.xml:
Added fortran-2.eclass support
diff --git a/sci-libs/bigdft/Manifest b/sci-libs/bigdft/Manifest
index b203478ca..40aa9e2df 100644
--- a/sci-libs/bigdft/Manifest
+++ b/sci-libs/bigdft/Manifest
@@ -8,13 +8,13 @@ AUX bigdft-1.2.0.2-0004.patch 833 RMD160 df98d7fcda945d11ea787b85bfaa79f457371f5
AUX bigdft-1.2.0.2-testH.patch 29091 RMD160 535dcd1c160863570991b26c194c707766233645 SHA1 682454d1986cc3963ee16b65f6d3a85f1642ec3a SHA256 dd7311f2ec7c4dde01131d8b22b375a74e0de73c7865172a79e83373e849fb52
DIST bigdft-1.2.0.2.tar.gz 944219 RMD160 fbd2fd53e4c684e560769d7aaf2ac9d17954bc62 SHA1 1a3754261c6229be17d3cecb70720fefaf843642 SHA256 3143e203879a2f8b1f05789336ceed91250960ef0681c1530868011fc16f56df
DIST bigdft-1.3.2.tar.gz 1370869 RMD160 6967df2a837af540149aa452166ea16e25ee7aa7 SHA1 b219b4c2b4bee5a936eadcee0ea1faeb4f78b2cb SHA256 b18234c321bee98450ea0b6a3c249480ecec66d18dadcc32a7ba0d2d019c820d
-EBUILD bigdft-1.2.0.2.ebuild 2189 RMD160 abef7d26a7e9c290b5b03919a7356eb91c40f9fd SHA1 032c1819565d8a4ccc17a3729988f86a2d6260b0 SHA256 d2f1a5cc499efc5b50a0acfe0433ecfb55ceed3ad649db8aa0dfcee93dec19fc
-MISC ChangeLog 626 RMD160 0c0db2147320ba6c713e009f8a715f8b5fac7513 SHA1 cb283b471ce271f82e816431e14b1f38e6b9db01 SHA256 0c7d0ca72143c6fe1c42f6293b9727e22b99596dd02782366f730ad5279dc0be
+EBUILD bigdft-1.2.0.2.ebuild 2108 RMD160 d0bb2cae6d7aaf77fef11e825024d64537659244 SHA1 d4819bd85ef42be39ac3ee659f0154519743b616 SHA256 737e34e6c0156dcaf1cd9b0b0d8a32af551d236c4b09b6a910a9362821485211
+MISC ChangeLog 734 RMD160 2166c49d4db729b39450adb2a13782ccde156c11 SHA1 0a1da767755f98a14d0796fc1eff4f76399f3d94 SHA256 b09e6933faa146d1bd2b0a7c73aa2158efb813f517074553ed8f948c0a5b0a6d
MISC metadata.xml 268 RMD160 a08ddac9bdb423a2a25e1a855118e1c1b7b4b1c3 SHA1 80806343ce9cacc256261167cc9a463c33b8f5b1 SHA256 8dc5093d7d2cd59f19de2421464b9d6ad5dff8526ec018d33c0f22874608938a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk4AeoMACgkQgAnW8HDreRb1RQCgtl0Ni/j1yDKbXNDfpGpK5fns
-Mp4AoKDPB4zrCJiz+Wbs4rQrDp8WAuHJ
-=59WR
+iEYEARECAAYFAk4Ef10ACgkQgAnW8HDreRa5FACgsP/u0ke/9Y5V6Xt8m4SA/1Hh
+k28AoK5MhscGwCLVg1dbLq73GO2Iz/ol
+=zDmb
-----END PGP SIGNATURE-----
diff --git a/sci-libs/bigdft/bigdft-1.2.0.2.ebuild b/sci-libs/bigdft/bigdft-1.2.0.2.ebuild
index 1fdf1d339..c81e7303c 100644
--- a/sci-libs/bigdft/bigdft-1.2.0.2.ebuild
+++ b/sci-libs/bigdft/bigdft-1.2.0.2.ebuild
@@ -20,6 +20,7 @@ IUSE="cuda doc mpi test"
RDEPEND="
=sci-libs/libxc-1.0[fortran]
virtual/blas
+ virtual/fortran
virtual/lapack
mpi? ( virtual/mpi )
cuda? ( dev-util/nvidia-cuda-sdk )"
@@ -48,11 +49,10 @@ src_configure() {
if use mpi; then
MY_FC="mpif90"
MY_CC="mpicc"
- else
- MY_FC="$(tc-getFC)"
- MY_CC="$(tc-getCC)"
fi
+ tc-export FC CC
+
econf \
$(use_enable mpi) \
--enable-libpoissonsolver \
@@ -66,10 +66,7 @@ src_configure() {
$(use_with cuda cuda-path /opt/cuda) \
$(use_with cuda lib-cutils /opt/cuda/lib) \
FCFLAGS="${FCFLAGS:- ${FFLAGS:- -O2}}" \
- FC="${MY_FC}" \
- CC="${MY_CC}" \
- LD="$(tc-getLD)" \
- || die "configure failed"
+ LD="$(tc-getLD)"
}
src_compile() {