[120014] trunk/dports/science/geant4/Portfile

mojca at macports.org mojca at macports.org
Tue May 13 06:42:23 PDT 2014


Revision: 120014
          https://trac.macports.org/changeset/120014
Author:   mojca at macports.org
Date:     2014-05-13 06:42:23 -0700 (Tue, 13 May 2014)
Log Message:
-----------
geant4.10.0: add 'threads' as a variant (closes #43593), remove compiler_blacklist portgroup

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

Modified: trunk/dports/science/geant4/Portfile
===================================================================
--- trunk/dports/science/geant4/Portfile	2014-05-13 13:41:04 UTC (rev 120013)
+++ trunk/dports/science/geant4/Portfile	2014-05-13 13:42:23 UTC (rev 120014)
@@ -6,7 +6,6 @@
 PortSystem          1.0
 PortGroup           cmake 1.0
 PortGroup           select 1.0
-PortGroup           compiler_blacklist_versions 1.0
 
 name                geant4
 version             4
@@ -298,7 +297,7 @@
                                   -DGEANT4_INSTALL_EXAMPLES=ON
         }
 
-        # a temporary variant just for the sake of Gate users where the built-in clhep isn't sufficient
+        # a temporary variant just for the sake of testing (built-in clhep should be sufficient)
         variant clhep description {Use external clhep} {
             depends_lib-append    port:clhep
             configure.args-replace \
@@ -310,6 +309,12 @@
                                   -DCLHEP_LIBRARY=${prefix}/lib/libCLHEP.dylib
         }
 
+        if {${geant.version} >= "10.0"} {
+            variant threads description {Build with multi-threading support} {
+                configure.args-append -DGEANT4_BUILD_MULTITHREADED=ON
+            }
+        }
+
         default_variants +gdml +qt
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140513/843c6067/attachment.html>


More information about the macports-changes mailing list