1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

science/mpqc: Change net/mpich2 -> net/mpich

Other port changes:
* Add the graphviz dependency
* Patch one #include that isn't found by default for some reason
* Fix WWW
This commit is contained in:
Yuri Victorovich 2018-12-17 18:13:17 +00:00
parent 545d3e66f2
commit a84b8946bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487700
2 changed files with 10 additions and 4 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= mpqc
PORTVERSION= 2.3.1
PORTREVISION= 40
PORTREVISION= 41
CATEGORIES= science parallel
MASTER_SITES= SF
@ -15,8 +15,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_aarch64= fails to compile: lapack.h:2:10: 'chemistry/qc/mbptr12/f77sym.h' file not found
BUILD_DEPENDS= dot:graphics/graphviz
LIB_DEPENDS= libint.so:science/libint
RUN_DEPENDS= wish:x11-toolkits/tk-wrapper
RUN_DEPENDS= wish:x11-toolkits/tk-wrapper \
dot:graphics/graphviz
CONFLICTS_BUILD= ga # devel/ga: it links to libarmci.so, has HAVE_ARMCI defined, and hits some bug
@ -49,7 +51,7 @@ DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \
dot:graphics/graphviz
ICC_BUILD_DEPENDS= ${LOCALBASE}/intel_cc_80/bin/icc:lang/icc
MPI_CONFIGURE_ENABLE= parallel
MPI_LIB_DEPENDS= libmpich.so:net/mpich2
MPI_LIB_DEPENDS= libmpich.so:net/mpich
MPI_LDFLAGS= -lmpich # build fails to supply libmpich.so to link
OPTIFLAGS_CFLAGS= -ffast-math
OPTIFLAGS_CXXFLAGS= -ffast-math
@ -70,6 +72,10 @@ post-patch:
-e 's/pthread_join(0,0)/pthread_create(0,0,0,0)/' \
-e 's|/usr/bin/wish|${LOCALBASE}/bin/wish|' \
${WRKSRC}/configure
@${REINPLACE_CMD} \
's|#include <chemistry/qc/mbptr12/f77sym.h>|#include <${WRKSRC}/src/lib/chemistry/qc/mbptr12/f77sym.h>|' \
${WRKSRC}/src/lib/chemistry/qc/mbptr12/blas.h \
${WRKSRC}/src/lib/chemistry/qc/mbptr12/lapack.h
post-configure: # workaround: https://github.com/ValeevGroup/mpqc/issues/56
@${REINPLACE_CMD} -e ' \

View File

@ -30,4 +30,4 @@ You can also validate your mpqc binaries when you employ other settings by:
For details, please see file:///usr/local/share/doc/mpqc/hierarchy.html
or http://www.mpqc.org/mpqc-html/mpqcval.html
WWW: https://www.mpqc.org/
WWW: https://mpqc.org/