Changeset 118993 for trunk/dports/gis


Ignore:
Timestamp:
Apr 14, 2014, 8:14:02 PM (5 years ago)
Author:
stromnov@…
Message:

orfeotoolbox: use conflicts_build group

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gis/orfeotoolbox/Portfile

    r118977 r118993  
    55PortGroup           cmake 1.0
    66PortGroup           qt4 1.0
     7PortGroup           conflicts_build 1.0
    78
    89name                orfeotoolbox
     
    3334                    sha256  9875484139b785163c0f0e19e76d458f598fd076b80d0d0aa0e3b59cafcad98e
    3435
    35 worksrcdir          ${worksrcdir}/../build
     36worksrcdir          ${workpath}/build
    3637patch.dir           ${workpath}/${distname}
    3738
     
    4950                    port:fftw-3
    5051
    51 pre-build {
    52     foreach c {libsvm openjpeg15 OpenSceneGraph InsightToolkit} {
    53         if { ![catch {set installed [lindex [registry_active $c] 0]}]} {
    54             ui_msg "OrfeoToolbox will fail to build because the '$c' port is active. Deactivate"
    55             ui_msg "'$c' by running 'port deactivate $c' and try again. You may reactivate"
    56             ui_msg "'$c' after installing OrfeoToolbox by running 'port activate $c'."
    57             return -code error "check is installed"
    58         }
    59     }
    60 }
     52conflicts_build     libsvm \
     53                    openjpeg15 \
     54                    OpenSceneGraph \
     55                    InsightToolkit
    6156
    6257post-extract {
Note: See TracChangeset for help on using the changeset viewer.