aboutsummaryrefslogtreecommitdiffstats
path: root/science/mpqc
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-12-18 02:13:17 +0800
committeryuri <yuri@FreeBSD.org>2018-12-18 02:13:17 +0800
commite63ba383c37556e30629ae4bedbda7e9372a0279 (patch)
tree8e8c61883bf97cd0c3ee45cc551d836c27ec5411 /science/mpqc
parentca392bc93fc66e6bae2cae0216a77bc7fc9c3fc6 (diff)
downloadfreebsd-ports-gnome-e63ba383c37556e30629ae4bedbda7e9372a0279.tar.gz
freebsd-ports-gnome-e63ba383c37556e30629ae4bedbda7e9372a0279.tar.zst
freebsd-ports-gnome-e63ba383c37556e30629ae4bedbda7e9372a0279.zip
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
Diffstat (limited to 'science/mpqc')
-rw-r--r--science/mpqc/Makefile12
-rw-r--r--science/mpqc/pkg-descr2
2 files changed, 10 insertions, 4 deletions
diff --git a/science/mpqc/Makefile b/science/mpqc/Makefile
index c0794c2eb746..b61da019b7d5 100644
--- a/science/mpqc/Makefile
+++ b/science/mpqc/Makefile
@@ -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 ' \
diff --git a/science/mpqc/pkg-descr b/science/mpqc/pkg-descr
index 18f6fd37da91..9d825392aeb5 100644
--- a/science/mpqc/pkg-descr
+++ b/science/mpqc/pkg-descr
@@ -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/