Ticket #36727: Portfile-gdb.diff

File Portfile-gdb.diff, 1.1 KB (added by malaperle@…, 8 years ago)

Patch that removes the chgrp to procmon and links to the new instructions

  • Portfile

    old new  
    66
    77name            gdb
    88version         7.9.1
    9 revision        3
     9revision        4
    1010categories      devel
    1111license         GPL-3+
    1212maintainers     gmail.com:stuartwesterman openmaintainer
     
    5757    --disable-werror
    5858
    5959post-destroot {
    60     system "chgrp procmod ${destroot}${prefix}/bin/ggdb*"
    6160    system "chmod g+s ${destroot}${prefix}/bin/ggdb*"
    6261
    6362    foreach info [glob -tails -directory ${destroot}${prefix}/share/info g*] {
     
    10099
    101100if {${os.platform} eq "darwin" && ${os.major} >= 12} {
    102101    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.
     102You will need to code sign ggdb in order to debug.\
     103See https://sourceware.org/gdb/wiki/BuildingOnDarwin
    112104"
    113105}
    114106