Ticket #29770: cmake.diff

File cmake.diff, 627 bytes (added by ryandesign (Ryan Carsten Schmidt), 13 years ago)

proposed patch

  • Portfile

     
    4747        reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Modules/CMakeFindFrameworks.cmake
    4848}
    4949
    50 platform darwin {
    51         post-configure {
    52                 if {[variant_isset universal]} {
    53                         set dirs {}
    54                         foreach arch ${universal_archs_to_use} {
    55                                 lappend dirs ${worksrcpath}-${arch}
    56                         }
    57                 } else {
    58                         set dirs ${worksrcpath}
    59                 }
    60         }
    61 }
    62 
    6350post-destroot {
    6451        xinstall -d -m 0755 ${destroot}${prefix}/share/emacs/site-lisp
    6552        xinstall -m 0644 ${worksrcpath}/Docs/cmake-mode.el \