[142365] trunk/dports/science/apbs/Portfile

dstrubbe at macports.org dstrubbe at macports.org
Sat Dec 12 05:27:03 PST 2015


Revision: 142365
          https://trac.macports.org/changeset/142365
Author:   dstrubbe at macports.org
Date:     2015-11-10 09:35:26 -0800 (Tue, 10 Nov 2015)
Log Message:
-----------
apbs: Disable parallel build which could cause problems. Manage directory structure for build in a different way. (Maintainer update.) Also a comment on BEM. Closes ticket #49620. See also ticket #49058.

Modified Paths:
--------------
    trunk/dports/science/apbs/Portfile

Modified: trunk/dports/science/apbs/Portfile
===================================================================
--- trunk/dports/science/apbs/Portfile	2015-11-10 17:15:19 UTC (rev 142364)
+++ trunk/dports/science/apbs/Portfile	2015-11-10 17:35:26 UTC (rev 142365)
@@ -10,8 +10,7 @@
 
 name                    apbs
 subport                 apbs-mpi {}
-# Set revision separately for each subport, below.
-set branch              [join [lrange [split ${version} .] 0 1] .]
+# set revision separately for each subport, below.
 categories              science
 license                 BSD
 maintainers             gmail.com:howarth.at.macports openmaintainer
@@ -28,6 +27,7 @@
 github.setup            Electrostatics apbs-pdb2pqr d4e78c62e6a07f92c26924318d83a159fa6af063
 version                 1.4.1
 homepage                http://www.poissonboltzmann.org
+worksrcdir              ${worksrcdir}/apbs
 
 checksums               rmd160  5c4d583e12deb3fbc2b5a8031882311cbfd22c7e \
                         sha256  f98ce6a51d8f813e1b4fa626c054ddbf7a985403ca30f890733cb1abf2bd6e05
@@ -35,22 +35,23 @@
 depends_lib             port:maloc \
                         port:readline
 
+# dependencies are not managed correctly within this code, so errors such as from Eigen or -lapbs_geoflow might occur
+use_parallel_build no
+
 # BEM needs 'gfortran', hard-coded, and configure fails without it if BEM is enabled, with a syntax error
 #CMake Error at CMakeLists.txt:217 (get_filename_component):
 #  get_filename_component called with incorrect number of arguments
+# To enable, need not only to fix that check, but also fix configure in tapipb directory to use chosen FC compiler.
 configure.args-append   -DENABLE_OPENMP:BOOL=OFF \
                         -DENABLE_BEM=OFF
 
-# make sure this comes after further options that the cmake portgroup adds, to specify directory correctly
-configure.post_args     ./apbs
-
 test.run  yes
 test {
-    ln ${worksrcpath}/apbs/tools/manip/inputgen.py ${worksrcpath}/apbs/tests/
-    ln ${worksrcpath}/apbs/tools/manip/psize.py    ${worksrcpath}/apbs/tests/
-    system -W ${worksrcpath}/apbs/tests "python apbs_tester.py"
-    system -W ${worksrcpath}/apbs/tests "cat test.log"
-    system -W ${worksrcpath}/apbs/tests "if grep FAILED test.log; then echo \"FAIL\"; exit 1; fi"
+    ln ${worksrcpath}/tools/manip/inputgen.py ${worksrcpath}/tests/
+    ln ${worksrcpath}/tools/manip/psize.py    ${worksrcpath}/tests/
+    system -W ${worksrcpath}/tests "python apbs_tester.py"
+    system -W ${worksrcpath}/tests "cat test.log"
+    system -W ${worksrcpath}/tests "if grep FAILED test.log; then echo \"FAIL\"; exit 1; fi"
 }
 
 set bins {analysis benchmark born coulomb del2dx dx2mol dx2uhbd dxmath
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/6b9380e5/attachment.html>


More information about the macports-changes mailing list