[143319] trunk/dports/science/gromacs/Portfile

dstrubbe at macports.org dstrubbe at macports.org
Sat Dec 12 09:29:01 PST 2015


Revision: 143319
          https://trac.macports.org/changeset/143319
Author:   dstrubbe at macports.org
Date:     2015-12-10 14:27:18 -0800 (Thu, 10 Dec 2015)
Log Message:
-----------
gromacs: Use compilers portgroup. Remove setting +x11 which is now obsolete.

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

Modified: trunk/dports/science/gromacs/Portfile
===================================================================
--- trunk/dports/science/gromacs/Portfile	2015-12-10 22:04:37 UTC (rev 143318)
+++ trunk/dports/science/gromacs/Portfile	2015-12-10 22:27:18 UTC (rev 143319)
@@ -4,6 +4,7 @@
 PortSystem          1.0
 PortGroup           muniversal 1.0
 PortGroup           cmake 1.0
+PortGroup           compilers 1.0
 
 name                gromacs
 version             5.1.1
@@ -36,6 +37,9 @@
 configure.args-append  -DGMX_SIMD:STRING="SSE4.1" -DBUILD_TESTING:BOOL=ON -DGMX_X11:BOOL=ON
 # boost?
 
+compilers.choose    cc cxx
+compilers.setup
+
 test.run     yes
 test.target  check
 test.env-append DYLD_LIBRARY_PATH=${worksrcpath}/lib
@@ -46,36 +50,6 @@
     configure.args-append   --enable-mpi
 }
 
-variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 gcc48 description {build with macports-gcc-4.3} {
-    configure.compiler  macports-gcc-4.3
-}
-
-variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 gcc48 description {build with macports-gcc-4.4} {
-    configure.compiler  macports-gcc-4.4
-}
-
-variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 gcc48 description {build with macports-gcc-4.5} {
-    configure.compiler  macports-gcc-4.5
-}
-
-variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 gcc48 description {build with macports-gcc-4.6} {
-    configure.compiler  macports-gcc-4.6
-}
-
-variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 gcc48 description {build with macports-gcc-4.7} {
-    configure.compiler  macports-gcc-4.7
-}
-
-variant gcc48 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 description {build with macports-gcc-4.8} {
-    configure.compiler      macports-gcc-4.8
-}
-
-if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset gcc48]} {
-    default_variants-append +gcc48
-}
-
-default_variants-append     +x11
-
 if {${name} eq ${subport}} {
     depends_lib-append      port:fftw-3-single
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/f4917967/attachment.html>


More information about the macports-changes mailing list