diff --git a/ncl-5.0.0-atlas.patch b/ncl-5.0.0-atlas.patch index d57db4d..e37f603 100644 --- a/ncl-5.0.0-atlas.patch +++ b/ncl-5.0.0-atlas.patch @@ -17,7 +17,7 @@ NCLAPILIB = _UseLib(-L$(NCLLIBSRC),-lnclapi) -BLASLIB = _UseLib(-L$(BLASSRC),-lblas_ncl) -LAPACKLIB = _UseLib(-L$(LAPACKSRC),-llapack_ncl) -+BLASLIB = _UseLib(-L%LIBDIR%/atlas,-lcblas -lf77blas -lptf77blas) ++BLASLIB = _UseLib(-L%LIBDIR%/atlas,-lcblas -lf77blas) +LAPACKLIB = _UseLib(-L%LIBDIR%/atlas,-llapack -latlas) SPHERELIB = _UseLib(-L$(SPHERESRC),-lsphere3.1_dp) FFTPACK5LIB = _UseLib(-L$(FFTPACK5SRC),-lfftpack5_dp) diff --git a/ncl.spec b/ncl.spec index 2d09b06..1e594a3 100644 --- a/ncl.spec +++ b/ncl.spec @@ -43,7 +43,7 @@ Patch15: ncl-5.0.0-udunits.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: /bin/csh, gcc-gfortran, netcdf-devel, hdf-devel >= 4.2r2, libjpeg-devel -BuildRequires: g2clib-devel, libnc-dap-devel, librx-devel, atlas-sse2-devel +BuildRequires: g2clib-devel, libnc-dap-devel, librx-devel, atlas-devel # imake needed for makedepend BuildRequires: imake, libXt-devel, libXaw-devel, libXext-devel, libXpm-devel BuildRequires: byacc, flex