From 1eac67505fc634ef3c4cbebfa3a7cf3f42e78c94 Mon Sep 17 00:00:00 2001 From: Dongxu Li Date: Wed, 11 May 2011 13:05:17 -0400 Subject: sci-physics/abinit: fixed configure error for fftw3 --- sci-physics/abinit/abinit-6.6.2.ebuild | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'sci-physics/abinit/abinit-6.6.2.ebuild') 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" -- cgit v1.2.3-65-gdbad