Ticket #47901: cmake.diff

File cmake.diff, 1.0 KB (added by RJVB (René Bertin), 9 years ago)
  • devel/cmake/Portfile

    old new  
    9191                    CMAKE_LIBRARY_PATH=${prefix}/lib
    9292
    9393platform darwin {
    94     # RJVB : fix for the obsolete use of -bundle instead of -dynamiclib in CMAKE_SHARED_MODULE_CREATE
    95     patchfiles-append   patch-SHARED_BUNDLE_flag.diff
    96 
    9794    configure.env-append \
    9895                    CMAKE_OSX_DEPLOYMENT_TARGET="${macosx_deployment_target}"
    9996
     
    223220        depends_build-append port:py34-sphinx
    224221        configure.args-append \
    225222            --sphinx-build=${prefix}/bin/sphinx-build-3.4
     223        if {[variant_isset gui]} {
     224            # py27-sphinx crashes when preparing the Qt help documentation, so
     225            # we provide it only when using python 3.4
     226            configure.args-append \
     227                --sphinx-qthelp
     228        }
    226229    }
    227230
    228231    if {![variant_isset python27] && ![variant_isset python34]} {