Changeset 97992


Ignore:
Timestamp:
Sep 21, 2012, 2:22:10 PM (12 years ago)
Author:
mmoll@…
Message:

math/petsc: check for hdf5-18+fortran in pre-configure phase, use conflicts_build port group

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/petsc/Portfile

    r97955 r97992  
    22
    33PortSystem      1.0
     4PortGroup   conflicts_build 1.0
    45
    56name            petsc
    67version     3.3-p3
     8revision    1
    79categories  math science
    810maintainers     mmoll
     
    4547                    --with-yaml-dir=${prefix}
    4648
    47 pre-fetch {
     49pre-configure {
    4850    if {![file exists ${prefix}/lib/libhdf5_fortran.a]} {
    4951        return -code error "Please install hdf5-18 with the +fortran variant enabled first."
    5052    }
    51 }
    52 
    53 pre-configure {
    5453    configure.args-append \
    5554        --COPTFLAGS="${configure.optflags}" \
     
    6463    }
    6564}
     65
     66conflicts_build     petsc
    6667
    6768variant openmpi description {Build using the OpenMPI compiler} conflicts mpich2 {
Note: See TracChangeset for help on using the changeset viewer.