Ticket #15898: cotvnc-nonroot.diff

File cotvnc-nonroot.diff, 751 bytes (added by ryandesign (Ryan Carsten Schmidt), 16 years ago)
  • Portfile

     
    2525xcode.destroot.settings SKIP_INSTALL=NO
    2626
    2727# Fix non-root destroot.
    28 # (this is a workaround for bug radr://5071108).
     28# (this is a workaround for bug rdar://5071108).
    2929pre-destroot {
    30         system "chmod -R u+w ${worksrcpath}/build/"
     30    fs-traverse dir ${worksrcpath}/build {
     31        if {[file isdirectory ${dir}]} {
     32            file attributes ${dir} -permissions u+w
     33        }
     34    }
     35}
     36post-destroot {
     37    fs-traverse dir ${destroot} {
     38        if {[file isdirectory ${dir}]} {
     39            file attributes ${dir} -permissions u+w
     40        }
     41    }
    3142}
    3243
    3344livecheck.check sourceforge