diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2015-02-03 15:09:56 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2015-02-03 15:09:56 +0000 |
commit | d92d4f4284e121a87646f9d32feb716fbf618c55 (patch) | |
tree | 1bbcb513c43ae62ba44bb72b45d93052ab5d5019 /science/gromacs | |
parent | 0bde42e313b6bfd3b516bb7a0fe16edf788e63a9 (diff) | |
download | ports-d92d4f4284e121a87646f9d32feb716fbf618c55.tar.gz ports-d92d4f4284e121a87646f9d32feb716fbf618c55.zip |
Notes
Diffstat (limited to 'science/gromacs')
-rw-r--r-- | science/gromacs/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/science/gromacs/Makefile b/science/gromacs/Makefile index 7076d796c1ad..b4c0ed3933a7 100644 --- a/science/gromacs/Makefile +++ b/science/gromacs/Makefile @@ -29,9 +29,8 @@ OPTIONS_DEFAULT= FLOAT OPENMP X11 OPTIONS_SUB= yes ATLAS_DESC= Use ATLAS for BLAS and LAPACK -ATLAS_LIB_DEPENDS= libalapack.so:${PORTSDIR}/math/atlas -ATLAS_LIB_DEPENDS_OFF= libblas.so:${PORTSDIR}/math/blas \ - liblapack.so:${PORTSDIR}/math/lapack +ATLAS_USES= blaslapack:atlas +ATLAS_USES_OFF= blaslapack ATLAS_CMAKE_ON= -DBLAS_LIBRARIES:FILEPATH="${LOCALBASE}/lib/libcblas.so;${LOCALBASE}/lib/libf77blas.so" \ -DLAPACK_LIBRARIES:FILEPATH="${LOCALBASE}/lib/libalapack.so" ATLAS_CMAKE_OFF= -DBLAS_LIBRARIES:FILEPATH="${LOCALBASE}/lib/libblas.so" \ @@ -43,7 +42,7 @@ FLOAT_LIB_DEPENDS_OFF= libfftw3.so:${PORTSDIR}/math/fftw3 FLOAT_CMAKE_ON= -DGMX_DOUBLE:BOOL=OFF FLOAT_CMAKE_OFF= -DGMX_DOUBLE:BOOL=ON MPICH2_LIB_DEPENDS= libmpich.so:${PORTSDIR}/net/mpich2 -MPICH2_CMAKE_ON= -DMPI_C_COMPILER:FILEPATH="${LOCALBASE}/bin/mpicc" +MPICH2_CMAKE_ON= -DMPI_C_COMPILER:FILEPATH="${LOCALBASE}/bin/mpicc" OPENMP_USES= compiler:openmp OPENMP_CMAKE_ON= -DGMX_CXX11:BOOL=OFF OPENMP_CMAKE_OFF= -DGMX_OPENMP:BOOL=OFF @@ -72,14 +71,14 @@ PLIST_SUB+= SUFFIX_MPI="" .endif post-patch: - @${FIND} ${WRKSRC} -name "CMakeLists.txt" | ${XARGS} \ + ${FIND} ${WRKSRC} -name "CMakeLists.txt" | ${XARGS} \ ${REINPLACE_CMD} -e \ 's|share/man|man| ; \ /pkgconfig/s|LIB_INSTALL_DIR}|CMAKE_INSTALL_PREFIX}/libdata|' - @${FIND} ${WRKSRC} -name "GMXRC.*" | ${XARGS} ${REINPLACE_CMD} -e \ + ${FIND} ${WRKSRC} -name "GMXRC.*" | ${XARGS} ${REINPLACE_CMD} -e \ 's|LDLIB/pkgconfig|LDLIB/../libdata/pkgconfig| ; \ s|LDLIB}/pkgconfig|LDLIB}/../libdata/pkgconfig|' - @${REINPLACE_CMD} -e '/CMAKE_REQUIRED_LIBRARIES/d' \ + ${REINPLACE_CMD} -e '/CMAKE_REQUIRED_LIBRARIES/d' \ ${WRKSRC}/cmake/gmxTestdlopen.cmake .include <bsd.port.mk> |