Ticket #12218: macports-ccachetrace.patch
File macports-ccachetrace.patch, 855 bytes (added by afb@…, 17 years ago) |
---|
-
src/port1.0/porttrace.tcl
71 71 # /dev/null 72 72 # /dev/tty 73 73 # /Library/Caches/com.apple.Xcode 74 set trace_sandboxbounds "/tmp:/private/tmp:/var/tmp:/private/var/tmp:/dev/null:/dev/tty:/Library/Caches/com.apple.Xcode:${workpath}" 74 # $CCACHE_DIR 75 # $HOMEDIR/.ccache 76 set trace_sandboxbounds "/tmp:/private/tmp:/var/tmp:/private/var/tmp:/dev/null:/dev/tty:/Library/Caches/com.apple.Xcode:$env(HOME)/.ccache:${workpath}" 75 77 if {[info exists env(TMPDIR)]} { 76 78 set trace_sandboxbounds "${trace_sandboxbounds}:$env(TMPDIR)" 77 79 } 80 if {[info exists env(CCACHE_DIR)]} { 81 set trace_sandboxbounds "${trace_sandboxbounds}:$env(CCACHE_DIR)" 82 } 78 83 } 79 84 } 80 85 }