public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Dongxu Li" <dongxuli2011@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/abinit/
Date: Wed, 11 May 2011 17:05:57 +0000 (UTC)	[thread overview]
Message-ID: <1eac67505fc634ef3c4cbebfa3a7cf3f42e78c94.dongxuli@gentoo> (raw)

commit:     1eac67505fc634ef3c4cbebfa3a7cf3f42e78c94
Author:     Dongxu Li <dongxuli2011 <AT> gmail <DOT> com>
AuthorDate: Wed May 11 17:05:17 2011 +0000
Commit:     Dongxu Li <dongxuli2011 <AT> gmail <DOT> com>
CommitDate: Wed May 11 17:05:17 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=1eac6750

sci-physics/abinit: fixed configure error for fftw3

---
 sci-physics/abinit/ChangeLog           |    3 +++
 sci-physics/abinit/abinit-6.6.2.ebuild |   11 ++---------
 sci-physics/abinit/abinit-6.6.3.ebuild |    9 ++-------
 3 files changed, 7 insertions(+), 16 deletions(-)

diff --git a/sci-physics/abinit/ChangeLog b/sci-physics/abinit/ChangeLog
index 2847377..c3d7700 100644
--- a/sci-physics/abinit/ChangeLog
+++ b/sci-physics/abinit/ChangeLog
@@ -4,6 +4,9 @@
 
 *abinit-6.6.3 (10 May 2011)
 
+  11 May 2011; Dongxu Li <dongxuli2011@gmail.com> abinit-6.6.3.ebuild abinit-6.6.2.ebuild:
+  --with-fft-flavor=fftw3-threads still not accepted by configure, removed for the time being. arch="ppc" still causes DEPEND.bad
+
   10 May 2011; Honza Macháček <Hloupy.Honza@centrum.cz> +abinit-6.6.3.ebuild:
   Another quick version bump. Minor cleanup, smp removed until usable. Bizzare
   6.6.2 ebuild mostly ignored, but not deleted until discussed. In the list?

diff --git a/sci-physics/abinit/abinit-6.6.2.ebuild b/sci-physics/abinit/abinit-6.6.2.ebuild
index 12fab38..a879cd1 100644
--- a/sci-physics/abinit/abinit-6.6.2.ebuild
+++ b/sci-physics/abinit/abinit-6.6.2.ebuild
@@ -89,15 +89,8 @@ src_configure() {
 	local netcdff_libs="-lnetcdff"
 	use hdf5 && netcdff_libs="${netcdff_libs} -lhdf5_fortran"
 	local fft_flavor="fftw3"
-	local fft_libs="-lfftw3"
-		fft_libs="${fft_libs} $(pkg-config --libs fftw3)"
-	#fft_flavor="fftw3-threads" doesn't build for me
-	#if use threads; then
-	#		fft_libs="${fft_libs} $(pkg-config --libs fftw3_threads)"
-	#		fft_flavor="fftw3-threads"
-	#else
-	#		fft_libs="${fft_libs} $(pkg-config --libs fftw3)"
-	#fi
+	# fft_flavor="fftw3-threads" causes error in ./confgure
+	local fft_libs="/usr/$(get_libdir) $(pkg-config --libs fftw3)"
 	if use mpi; then
 		MY_FC="mpif90"
 		MY_CC="mpicc"

diff --git a/sci-physics/abinit/abinit-6.6.3.ebuild b/sci-physics/abinit/abinit-6.6.3.ebuild
index 4321fc1..fb8c996 100644
--- a/sci-physics/abinit/abinit-6.6.3.ebuild
+++ b/sci-physics/abinit/abinit-6.6.3.ebuild
@@ -69,13 +69,8 @@ src_configure() {
 	local netcdff_libs="-lnetcdff"
 	use hdf5 && netcdff_libs="${netcdff_libs} -lhdf5_fortran"
 	local fft_flavor="fftw3"
-	local fft_libs="-L/usr/lib"
-	if use threads; then
-		fft_libs="${fft_libs} $(pkg-config --libs fftw3_threads)"
-		fft_flavor="fftw3-threads"
-	else
-		fft_libs="${fft_libs} $(pkg-config --libs fftw3)"
-	fi
+	#fft_flavor="fftw3-threads" causes a ./configure error
+	local fft_libs="-L/usr/$(get_libdir) $(pkg-config --libs fftw3)"
 	if use mpi; then
 		MY_FC="mpif90"
 		MY_CC="mpicc"



             reply	other threads:[~2011-05-11 17:06 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-11 17:05 Dongxu Li [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-09-23 12:48 [gentoo-commits] proj/sci:master commit in: sci-physics/abinit/ Justin Lecher
2015-02-08 21:07 Christoph Junghans
2014-09-17 20:01 Christoph Junghans
2014-06-27 13:54 Honza Macháček
2013-10-03 12:52 Honza Macháček
2013-09-26  9:41 Honza Macháček
2013-09-20  9:48 Justin Lecher
2013-09-19 18:03 Honza Macháček
2013-09-26  9:41 ` Honza Macháček
2013-02-22 10:15 Justin Lecher
2012-06-19 14:14 Honza Macháček
2012-05-22 19:43 Justin Lecher
2012-05-15  8:27 Honza Macháček
2012-03-23  8:16 Honza Macháček
2012-03-23  8:02 Honza Macháček
2011-09-27 12:22 Honza Macháček
2011-06-29 15:28 Honza Macháček
2011-06-29 11:31 Honza Macháček
2011-06-24 17:09 Justin Lecher
2011-06-24 17:09 Justin Lecher
2011-06-24 17:09 Justin Lecher
2011-06-21 11:54 Justin Lecher
2011-05-10  9:54 Honza Macháček
2011-04-26 18:39 Dongxu Li
2011-04-09 21:11 Dongxu Li
2011-02-05 19:22 Honza Macháček

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1eac67505fc634ef3c4cbebfa3a7cf3f42e78c94.dongxuli@gentoo \
    --to=dongxuli2011@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox