[121611] trunk/dports/science/geant4/Portfile
mojca at macports.org
mojca at macports.org
Wed Jul 2 02:27:53 PDT 2014
Revision: 121611
https://trac.macports.org/changeset/121611
Author: mojca at macports.org
Date: 2014-07-02 02:27:52 -0700 (Wed, 02 Jul 2014)
Log Message:
-----------
geant4: add preliminary support for Qt 5
Modified Paths:
--------------
trunk/dports/science/geant4/Portfile
Modified: trunk/dports/science/geant4/Portfile
===================================================================
--- trunk/dports/science/geant4/Portfile 2014-07-02 08:18:22 UTC (rev 121610)
+++ trunk/dports/science/geant4/Portfile 2014-07-02 09:27:52 UTC (rev 121611)
@@ -259,11 +259,17 @@
Otherwise source ${prefix}/libexec/Geant4/Geant${geant.version_simple}/geant4.(c)sh
"
- variant qt description {Build with Qt support} {
+ variant qt conflicts qt5 description {Build with Qt 4 support} {
depends_lib-append port:qt4-mac
configure.args-append -DGEANT4_USE_QT=ON
# maybe we need to set more variables to make sure that the right Qt is used?
}
+ # TODO: figure out which versions of Geant4 are compatible with Qt 5
+ # allow the user to switch to qt5 without the need to explicitly disable qt4
+ variant qt5 conflicts qt description {Build with Qt 5 support} {
+ depends_lib-append port:qt5-mac
+ configure.args-append -DGEANT4_USE_QT=ON
+ }
# From installation notes:
#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140702/54c871d2/attachment.html>
More information about the macports-changes
mailing list