Changeset 149135 for trunk/dports/math


Ignore:
Timestamp:
Jun 1, 2016, 7:38:20 PM (3 years ago)
Author:
mmoll@…
Message:

math/qhull: another attempt to fix #51486

File:
1 edited

Legend:

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

    r148998 r149135  
    4141}
    4242
    43 # see https://trac.macports.org/ticket/51486
     43# See https://trac.macports.org/ticket/51486
     44# This doesn't seem to work as expected; see
     45# ​https://build.macports.org/builders/buildports-snowleopard-x86_64/builds/42188
    4446compiler.blacklist  *gcc-4.2 {*gcc-4.[0-6]}
     47
     48# qhull requires compiler with -Wno-sign-conversion
     49# 10.6 doesn't have it by default
     50platform darwin 10 {
     51    variant gcc47 description {build qhull with gcc47} {
     52        depends_build-append  port:gcc47
     53        configure.args-append -DCMAKE_C_COMPILER=${prefix}/bin/gcc-mp-4.7 \
     54        -DCMAKE_CXX_COMPILER=${prefix}/bin/g++-mp-4.7
     55    }
     56    variant gcc48 description {build qhull with gcc48} {
     57        depends_build-append  port:gcc48
     58        configure.args-append -DCMAKE_C_COMPILER=${prefix}/bin/gcc-mp-4.8 \
     59        -DCMAKE_CXX_COMPILER=${prefix}/bin/g++-mp-4.8
     60    }
     61    variant gcc5 description {build qhull with gcc5} {
     62        depends_build-append  port:gcc5
     63        configure.args-append -DCMAKE_C_COMPILER=${prefix}/bin/gcc-mp-5 \
     64        -DCMAKE_CXX_COMPILER=${prefix}/bin/g++-mp-5
     65    }
     66    default_variants          +gcc5
     67}
    4568
    4669configure.args-append   -DDOC_INSTALL_DIR=share/doc/qhull -DMAN_INSTALL_DIR=share/man/man1
Note: See TracChangeset for help on using the changeset viewer.