aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongxu Li <dongxuli2011@gmail.com>2011-05-11 13:05:17 -0400
committerDongxu Li <dongxuli2011@gmail.com>2011-05-11 13:05:17 -0400
commit1eac67505fc634ef3c4cbebfa3a7cf3f42e78c94 (patch)
tree17cfbd8a6cb3eeb384f755b7b0ebd33910bdf6a0 /sci-physics/abinit/abinit-6.6.2.ebuild
parentsci-biology/gbrowse-2.26: fixed sanbox violation but webap-config bug pops up... (diff)
downloadsci-1eac67505fc634ef3c4cbebfa3a7cf3f42e78c94.tar.gz
sci-1eac67505fc634ef3c4cbebfa3a7cf3f42e78c94.tar.bz2
sci-1eac67505fc634ef3c4cbebfa3a7cf3f42e78c94.zip
sci-physics/abinit: fixed configure error for fftw3
Diffstat (limited to 'sci-physics/abinit/abinit-6.6.2.ebuild')
-rw-r--r--sci-physics/abinit/abinit-6.6.2.ebuild11
1 files changed, 2 insertions, 9 deletions
diff --git a/sci-physics/abinit/abinit-6.6.2.ebuild b/sci-physics/abinit/abinit-6.6.2.ebuild
index 12fab3820..a879cd149 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"