<pre style='margin:0'>
David Strubbe (dstrubbe) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/cd673aff6d52c767928f38a117bf668b5954f791">https://github.com/macports/macports-ports/commit/cd673aff6d52c767928f38a117bf668b5954f791</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new cd673af gromacs: Fix usage of 'suffix' for test phase. Fix version in plumed subport command.
</span>cd673af is described below
<span style='display:block; white-space:pre;color:#808000;'>commit cd673aff6d52c767928f38a117bf668b5954f791
</span>Author: David Strubbe <dstrubbe@macports.org>
AuthorDate: Sat Feb 10 11:30:53 2018 -0800
<span style='display:block; white-space:pre;color:#404040;'> gromacs: Fix usage of 'suffix' for test phase. Fix version in plumed subport command.
</span>---
science/gromacs/Portfile | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/gromacs/Portfile b/science/gromacs/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f18b772..b6d1f44 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/gromacs/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/gromacs/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -57,12 +57,14 @@ mpi.setup
</span>
test.run yes
test.target check
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[mpi_variant_isset]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set suffix _mpi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set suffix ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> pre-test {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[mpi_variant_isset]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set suffix _mpi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set suffix ""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span> system -W ${worksrcpath} "install_name_tool -change ${prefix}/lib/libgromacs${suffix}.1.dylib @executable_path/../lib/libgromacs${suffix}.1.dylib bin/gmx${suffix}"
# reset name for new executables that will be built in this phase
system -W ${worksrcpath} "install_name_tool -id @executable_path/../lib/libgromacs${suffix}.1.dylib lib/libgromacs${suffix}.1.dylib"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -108,7 +110,7 @@ subport gromacs-plumed {
</span> # override the choice setting the PLUMED_KERNEL environment variable.
# Also notice that gromacs version is hardcoded here. Plumed patch is not always
# updated when gromacs is.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- exec ${prefix}/bin/plumed patch --mdroot=${worksrcpath} -e gromacs-5.1.4 --runtime -p
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exec ${prefix}/bin/plumed patch --mdroot=${worksrcpath} -e gromacs-${version} --runtime -p
</span> }
notes "
PLUMED is linked with runtime binding. By setting the environment variable PLUMED_KERNEL\
</pre><pre style='margin:0'>
</pre>