[142491] trunk/dports/science/octopus/Portfile
dstrubbe at macports.org
dstrubbe at macports.org
Sat Dec 12 05:59:00 PST 2015
Revision: 142491
https://trac.macports.org/changeset/142491
Author: dstrubbe at macports.org
Date: 2015-11-12 16:55:31 -0800 (Thu, 12 Nov 2015)
Log Message:
-----------
octopus: Use new proc compilers.enforce_some_fortran. Add variant +maxdim4.
Modified Paths:
--------------
trunk/dports/science/octopus/Portfile
Modified: trunk/dports/science/octopus/Portfile
===================================================================
--- trunk/dports/science/octopus/Portfile 2015-11-13 00:50:00 UTC (rev 142490)
+++ trunk/dports/science/octopus/Portfile 2015-11-13 00:55:31 UTC (rev 142491)
@@ -34,6 +34,7 @@
# this incorrectly passes if libxc +gcc5, octopus +mpich, mpich-default +gcc49
compilers.enforce_fortran libxc
+compilers.enforce_some_fortran fftw-3
depends_lib port:libxc port:fftw-3 port:gsl
@@ -62,13 +63,6 @@
patchfiles patch-configure.diff \
patch-testsuite-linear_response-05-polarizability.test.diff
-pre-fetch {
- if {[fortran_active_variant_name fftw-3] eq ""} {
- ui_error "Install fftw-3 with a Fortran variant."
- return -code error "fftw-3 not installed with a Fortran variant."
- }
-}
-
if {[mpi_variant_isset]} {
configure.args-delete --disable-mpi
configure.args-append --enable-mpi
@@ -233,6 +227,10 @@
variant everything requires everything_serial parpack scalapack parmetis pfft \
description {Build with all available optional dependencies} { }
+variant maxdim4 description {Build with support for 4D calculations} {
+ configure.args-append --with-max-dim=4
+}
+
livecheck.type regex
livecheck.url ${homepage}/wiki/index.php/Main_Page
livecheck.regex ${name} (\[0-9.\]+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/297d3db4/attachment.html>
More information about the macports-changes
mailing list