Ignore:
Timestamp:
Jun 4, 2015, 9:21:33 PM (4 years ago)
Author:
dstrubbe@…
Message:

mpi portgroup: Bugfix -- there could be an attempt to set configure variables to non-existent mpicpp and mpiobjc. Ports trying to use configure.cpp (such as octopus) with MPI would find it had an illegal value and fail to build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/mpi-1.0.tcl

    r131494 r137095  
    118118                    set mpi.fc mpif90-$mpidb($variant,name)-\$p_name
    119119
     120                    # there is no mpicpp or mpiobj
     121                    # if more compilers are added in compilers portgroup, need to be added here
    120122                    foreach compiler \${compilers.list} {
    121                         if {\$compiler ne "fc"} {
     123                        if {\$compiler ne "fc" && \$compiler ne "cpp" && \$compiler ne "objc"} {
    122124                            configure.\$compiler \${prefix}/bin/mpi\${compiler}-$mpidb($variant,name)-\$p_name
    123125                        }
Note: See TracChangeset for help on using the changeset viewer.