Ticket #54217: Portfile-rrdtool.diff

File Portfile-rrdtool.diff, 1.4 KB (added by plinss (Peter Linss), 7 years ago)

Patch to portfile

  • Portfile

    old new  
    5555    --disable-werror
    5656
    5757post-destroot {
    58     system "chgrp procmod ${destroot}${prefix}/bin/ggdb*"
    59     system "chmod g+s ${destroot}${prefix}/bin/ggdb*"
     58    if {${os.platform} eq "darwin" && ${os.major} < 12} {
     59        system "chgrp procmod ${destroot}${prefix}/bin/ggdb*"
     60        system "chmod g+s ${destroot}${prefix}/bin/ggdb*"
     61    }
    6062
    6163    foreach info [glob -tails -directory ${destroot}${prefix}/share/info g*] {
    6264        move ${destroot}${prefix}/share/info/${info} ${destroot}${prefix}/share/info/g${info}
     
    6870    }
    6971}
    7072
     73patchfiles  patch-gdb-darwin-nat.c.diff
     74
    7175set pythons_suffixes {27 35 36}
    7276
    7377set pythons_ports {}
     
    9599
    96100if {${os.platform} eq "darwin" && ${os.major} >= 12} {
    97101    notes "
    98 You will need to make sure /System/Library/LaunchDaemons/com.apple.taskgated.plist\
    99 has the '-p' option, e.g.
    100             <key>ProgramArguments</key>
    101             <array>
    102                     <string>/usr/libexec/taskgated</string>
    103                     <string>-sp</string>
    104             </array>
     102You will need to codesign ${prefix}/bin/ggdb
    105103
    106 Due to kernel caching, you usually need to restart Mac OS X for this option to effect.
     104See https://sourceware.org/gdb/wiki/BuildingOnDarwin#Giving_gdb_permission_to_control_other_processes
     105for more information.
    107106"
    108107}
    109108