Ticket #36727: Portfile-gdb.diff
File Portfile-gdb.diff, 1.1 KB (added by malaperle@…, 9 years ago) |
---|
-
Portfile
old new 6 6 7 7 name gdb 8 8 version 7.9.1 9 revision 39 revision 4 10 10 categories devel 11 11 license GPL-3+ 12 12 maintainers gmail.com:stuartwesterman openmaintainer … … 57 57 --disable-werror 58 58 59 59 post-destroot { 60 system "chgrp procmod ${destroot}${prefix}/bin/ggdb*"61 60 system "chmod g+s ${destroot}${prefix}/bin/ggdb*" 62 61 63 62 foreach info [glob -tails -directory ${destroot}${prefix}/share/info g*] { … … 100 99 101 100 if {${os.platform} eq "darwin" && ${os.major} >= 12} { 102 101 notes " 103 You will need to make sure /System/Library/LaunchDaemons/com.apple.taskgated.plist\ 104 has the '-p' option, e.g. 105 <key>ProgramArguments</key> 106 <array> 107 <string>/usr/libexec/taskgated</string> 108 <string>-sp</string> 109 </array> 110 111 Due to kernel caching, you usually need to restart Mac OS X for this option to effect. 102 You will need to code sign ggdb in order to debug.\ 103 See https://sourceware.org/gdb/wiki/BuildingOnDarwin 112 104 " 113 105 } 114 106