Modified: trunk/dports/aqua/cotvnc/Portfile (38808 => 38809)
--- trunk/dports/aqua/cotvnc/Portfile 2008-07-31 22:53:03 UTC (rev 38808)
+++ trunk/dports/aqua/cotvnc/Portfile 2008-07-31 22:58:23 UTC (rev 38809)
@@ -25,10 +25,21 @@
xcode.destroot.settings SKIP_INSTALL=NO
# Fix non-root destroot.
-# (this is a workaround for bug radr://5071108).
+# (this is a workaround for bug rdar://5071108).
pre-destroot {
- system "chmod -R u+w ${worksrcpath}/build/"
+ fs-traverse dir ${worksrcpath}/build {
+ if {[file isdirectory ${dir}]} {
+ file attributes ${dir} -permissions u+w
+ }
+ }
}
+post-destroot {
+ fs-traverse dir ${destroot} {
+ if {[file isdirectory ${dir}]} {
+ file attributes ${dir} -permissions u+w
+ }
+ }
+}
livecheck.check sourceforge
livecheck.distname cotvnc Chicken of the VNC