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.3.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.3.ebuild')
-rw-r--r--sci-physics/abinit/abinit-6.6.3.ebuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/sci-physics/abinit/abinit-6.6.3.ebuild b/sci-physics/abinit/abinit-6.6.3.ebuild
index 4321fc1c7..fb8c9967b 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"