Ticket #12218: macports-ccachetrace.2.patch
File macports-ccachetrace.2.patch, 975 bytes (added by raimue (Rainer Müller), 17 years ago) |
---|
-
src/port1.0/porttrace.tcl
73 73 # /dev/null 74 74 # /dev/tty 75 75 # /Library/Caches/com.apple.Xcode 76 set trace_sandboxbounds "/tmp:/private/tmp:/var/tmp:/private/var/tmp:/dev/:/etc/passwd:/etc/groups:/etc/localtime:/Library/Caches/com.apple.Xcode:${workpath}:$portpath" 76 # $CCACHE_DIR 77 # $HOMEDIR/.ccache 78 set trace_sandboxbounds "/tmp:/private/tmp:/var/tmp:/private/var/tmp:/dev/:/etc/passwd:/etc/groups:/etc/localtime:/Library/Caches/com.apple.Xcode:$env(HOME)/.ccache:${workpath}:$portpath" 77 79 if {[info exists env(TMPDIR)]} { 78 80 set trace_sandboxbounds "${trace_sandboxbounds}:$env(TMPDIR)" 79 81 } 82 if {[info exists env(CCACHE_DIR)]} { 83 set trace_sandboxbounds "${trace_sandboxbounds}:$env(CCACHE_DIR)" 84 } 80 85 tracelib setsandbox $trace_sandboxbounds 81 86 } 82 87 }