[141259] trunk/dports/science/whizard/Portfile
dstrubbe at macports.org
dstrubbe at macports.org
Tue Oct 13 16:04:45 PDT 2015
Revision: 141259
https://trac.macports.org/changeset/141259
Author: dstrubbe at macports.org
Date: 2015-10-13 16:04:45 -0700 (Tue, 13 Oct 2015)
Log Message:
-----------
whizard: Update to version 2.2.7, and use the compilers PortGroup, which will automatically handle the variants for Fortran compilers. Closes #49230.
Modified Paths:
--------------
trunk/dports/science/whizard/Portfile
Modified: trunk/dports/science/whizard/Portfile
===================================================================
--- trunk/dports/science/whizard/Portfile 2015-10-13 22:25:06 UTC (rev 141258)
+++ trunk/dports/science/whizard/Portfile 2015-10-13 23:04:45 UTC (rev 141259)
@@ -2,9 +2,10 @@
# $Id$
PortSystem 1.0
+PortGroup compilers 1.0
name whizard
-version 2.2.6
+version 2.2.7
revision 1
categories science
platforms darwin
@@ -30,8 +31,8 @@
homepage http://whizard.hepforge.org/
master_sites http://www.hepforge.org/archive/whizard/
-checksums rmd160 e6e7eeae70ceddefd1834d7a8099b1c63eaaeab4 \
- sha256 5f9bcedcdcf091be8c65bb2a0d6fc47bb8e32d97b8a23aed2d33c0fd1015d275
+checksums rmd160 e7cb8c707966e5ace789834f8e778319a690f36c \
+ sha256 2e8a9949ba0f923643b77e803e2c9cc467fb36310bd91ca3e8587aab2c876cf7
depends_build port:ocaml
@@ -39,29 +40,13 @@
use_parallel_build yes
+# if clang is used with gfortran, fails to link -lgomp
+compilers.choose cc cxx fc f77
+compilers.setup require_fortran -clang -llvm -g95 -gfortran
+
test.run yes
test.target check
-variant gcc47 conflicts gcc48 gcc49 gcc5 description {Use GCC 4.7} {
- configure.compiler macports-gcc-4.7
-}
-
-variant gcc48 conflicts gcc47 gcc49 gcc5 description {Use GCC 4.8} {
- configure.compiler macports-gcc-4.8
-}
-
-variant gcc49 conflicts gcc47 gcc48 gcc5 description {Use GCC 4.9} {
- configure.compiler macports-gcc-4.9
-}
-
-variant gcc5 conflicts gcc47 gcc48 gcc49 description {Use GCC 5} {
- configure.compiler macports-gcc-5
-}
-
-if {![variant_isset gcc47] && ![variant_isset gcc48] && ![variant_isset gcc5]} {
- default_variants +gcc49
-}
-
livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151013/b9d08dee/attachment.html>
More information about the macports-changes
mailing list