Ticket #51544: Portfile.diff
File Portfile.diff, 1.6 KB (added by dstrubbe (David Strubbe), 8 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 PortGroup cmake 1.0 6 6 PortGroup compiler_blacklist_versions 1.0 7 PortGroup compilers 1.0 7 8 cmake.out_of_source yes 8 9 9 10 name qhull … … 48 49 # qhull requires compiler with -Wno-sign-conversion 49 50 # 10.6 doesn't have it by default 50 51 platform darwin 10 { 51 variant gcc47 description {build qhull with gcc47} {52 depends_build-append port:gcc4753 configure.args-append -DCMAKE_C_COMPILER=${prefix}/bin/gcc-mp-4.7 \54 -DCMAKE_CXX_COMPILER=${prefix}/bin/g++-mp-4.752 compilers.choose cc cxx 53 compilers.setup 54 if {![c_variant_isset]} { 55 default_variants-append +${compilers.gcc_default} 55 56 } 56 variant gcc48 description {build qhull with gcc48} {57 depends_build-append port:gcc4858 configure.args-append -DCMAKE_C_COMPILER=${prefix}/bin/gcc-mp-4.8 \59 -DCMAKE_CXX_COMPILER=${prefix}/bin/g++-mp-4.860 }61 variant gcc5 description {build qhull with gcc5} {62 depends_build-append port:gcc563 configure.args-append -DCMAKE_C_COMPILER=${prefix}/bin/gcc-mp-5 \64 -DCMAKE_CXX_COMPILER=${prefix}/bin/g++-mp-565 }66 default_variants +gcc567 57 } 68 58 69 59 configure.args-append -DDOC_INSTALL_DIR=share/doc/qhull -DMAN_INSTALL_DIR=share/man/man1 … … 76 66 livecheck.type regex 77 67 livecheck.url ${master_sites} 78 68 livecheck.regex Download: Qhull (\[0-9.\]+) for Unix 69 70 test.run yes