Ticket #54217: Portfile-rrdtool.diff
File Portfile-rrdtool.diff, 1.4 KB (added by plinss (Peter Linss), 7 years ago) |
---|
-
Portfile
old new 55 55 --disable-werror 56 56 57 57 post-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 } 60 62 61 63 foreach info [glob -tails -directory ${destroot}${prefix}/share/info g*] { 62 64 move ${destroot}${prefix}/share/info/${info} ${destroot}${prefix}/share/info/g${info} … … 68 70 } 69 71 } 70 72 73 patchfiles patch-gdb-darwin-nat.c.diff 74 71 75 set pythons_suffixes {27 35 36} 72 76 73 77 set pythons_ports {} … … 95 99 96 100 if {${os.platform} eq "darwin" && ${os.major} >= 12} { 97 101 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> 102 You will need to codesign ${prefix}/bin/ggdb 105 103 106 Due to kernel caching, you usually need to restart Mac OS X for this option to effect. 104 See https://sourceware.org/gdb/wiki/BuildingOnDarwin#Giving_gdb_permission_to_control_other_processes 105 for more information. 107 106 " 108 107 } 109 108