aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2009-03-26 15:54:34 +0100
committerDonnie Berkholz <dberkholz@gentoo.org>2009-03-26 15:54:34 +0100
commit2a869798e0fed250ae71515f91f436bfa4d6042e (patch)
tree2bf0e77001e85b761184c57e2984046917fc5437 /sci-libs
parentwannier90: simplify compiler-flag setup. (diff)
downloaddberkholz-2a869798e0fed250ae71515f91f436bfa4d6042e.tar.gz
dberkholz-2a869798e0fed250ae71515f91f436bfa4d6042e.tar.bz2
dberkholz-2a869798e0fed250ae71515f91f436bfa4d6042e.zip
bigdft, etsf_io: Simplify compiler-flag setup.
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/bigdft/Manifest2
-rw-r--r--sci-libs/bigdft/bigdft-1.2.0.ebuild9
-rw-r--r--sci-libs/etsf_io/Manifest2
-rw-r--r--sci-libs/etsf_io/etsf_io-1.0.2.ebuild9
4 files changed, 4 insertions, 18 deletions
diff --git a/sci-libs/bigdft/Manifest b/sci-libs/bigdft/Manifest
index d4b9a92..5c0ad5a 100644
--- a/sci-libs/bigdft/Manifest
+++ b/sci-libs/bigdft/Manifest
@@ -1,3 +1,3 @@
AUX bigdft-1.2.0-0001.patch 4760 RMD160 fb54d83e404c35d4384d797e4372e4b7b83e0afd SHA1 ef995c8c7671ba5df253c23ed14c91974a01f07f SHA256 b368327f7a55007da142b4f84f3b7e92cb0f787400747021143c70bed3231a67
DIST bigdft-1.2.0.tar.gz 947932 RMD160 163d16cf8cdf438c483bc773957061e293ed5695 SHA1 5570c247ca378c8de81c74d1d55c8f9bb4bd54be SHA256 d28597a0e29bad3200270985374aba3d0c2adbb35cb6b33765c3c7183e7db77f
-EBUILD bigdft-1.2.0.ebuild 1254 RMD160 4b46c6808617628b12fc13a246f58bc197c988a9 SHA1 9f089fdc0ba8b842b00f69971e71bd3f2b50f181 SHA256 b54c8cb388ec07995726a70c20388c39405872d66e07800192b28b613005634f
+EBUILD bigdft-1.2.0.ebuild 1147 RMD160 77b34cb1a5d8854abe8bf5ec76e6b850d087a3a2 SHA1 a4453ffeb460cbea5cf48914bfef864b8f0f4de2 SHA256 160effc15928de605d9bc8fcc41c3d0e72401d098162096c9024e8dc368edf33
diff --git a/sci-libs/bigdft/bigdft-1.2.0.ebuild b/sci-libs/bigdft/bigdft-1.2.0.ebuild
index 7444af3..ded21f0 100644
--- a/sci-libs/bigdft/bigdft-1.2.0.ebuild
+++ b/sci-libs/bigdft/bigdft-1.2.0.ebuild
@@ -27,13 +27,6 @@ src_prepare() {
}
src_configure() {
- if [[ -n ${FFLAGS} ]]; then
- FCFLAGS="${FFLAGS}"
- else
- FCFLAGS="-O2"
- einfo "Defaulting to ${FCFLAGS} for FFFLAGS"
- fi
-
# Build this as a library for sci-physics/abinit
econf \
--with-moduledir=/usr/$(get_libdir)/finclude \
@@ -41,7 +34,7 @@ src_configure() {
$(use_enable cuda cuda-gpu) \
$(use_with cuda cuda-path /opt/cuda) \
$(use_with cuda lib-cutils /opt/cuda/lib) \
- FCFLAGS="${FCFLAGS}"
+ FCFLAGS="${FCFLAGS:- ${FFLAGS:- -O2}}"
}
src_test() {
diff --git a/sci-libs/etsf_io/Manifest b/sci-libs/etsf_io/Manifest
index 32ffdc0..925bafb 100644
--- a/sci-libs/etsf_io/Manifest
+++ b/sci-libs/etsf_io/Manifest
@@ -1,3 +1,3 @@
AUX 1.0.2-as-needed.patch 983 RMD160 25f73057a074295ee28f3f1cf10a4d308846a8e5 SHA1 dadd68c543ca786bc33aba5633416e23c95c5611 SHA256 fe9190f60b438d33fa27d23430c2bd049e2e77f07759ccb825b78ed1be9eedcf
DIST etsf_io-1.0.2.tar.gz 354902 RMD160 c21111e05cfe33ccc2c7f80f8a47db2d506f54f5 SHA1 28d712321bff073b211c60dee6d02b0f79c55406 SHA256 714208a2a4268fa11bd270d73e9a747900c1dff9c16768f6b1220556171ce035
-EBUILD etsf_io-1.0.2.ebuild 1239 RMD160 884c4976bda2c50e65d8c2dcb8f63c07aa5c5582 SHA1 582a3a2e9a60e686090dc26bf793dce04341feef SHA256 8721323a3febfabe174b8b33d5200cc4fa06f158171612c0104db11e57d37e8c
+EBUILD etsf_io-1.0.2.ebuild 1132 RMD160 2d66a948761343cae1718c3077789e447947c7b6 SHA1 610b9a9d129ca77d5610e33a6f9a4d11a257bb6e SHA256 b8439ee1d87c566358412e783a5bba1674db7b3293ed479ddcc985a4ab51ab65
diff --git a/sci-libs/etsf_io/etsf_io-1.0.2.ebuild b/sci-libs/etsf_io/etsf_io-1.0.2.ebuild
index 8626ce8..67cfd5e 100644
--- a/sci-libs/etsf_io/etsf_io-1.0.2.ebuild
+++ b/sci-libs/etsf_io/etsf_io-1.0.2.ebuild
@@ -26,19 +26,12 @@ src_prepare() {
src_configure() {
use debug || append-cppflags -DNDEBUG
- if [[ -n ${FFLAGS} ]]; then
- FCFLAGS="${FFLAGS}"
- else
- FCFLAGS="-O2"
- einfo "Defaulting to ${FCFLAGS} for FFFLAGS"
- fi
-
econf \
$(use_enable examples build-tutorials) \
--with-netcdf-ldflags="-L/usr/$(get_libdir)" \
--with-netcdf-libs="-lnetcdff" \
--with-moduledir=/usr/$(get_libdir)/finclude \
- FCFLAGS="${FCFLAGS}"
+ FCFLAGS="${FCFLAGS:- ${FFLAGS:- -O2}}"
}
src_test() {