Revision
108538
Author
sean@macports.org
Date
2013-07-25 17:20:27 -0700 (Thu, 25 Jul 2013)

Log Message

gdb: add note about taskgated on mountain lion and later systems; closes #39349

Modified Paths

Diff

Modified: trunk/dports/devel/gdb/Portfile (108537 => 108538)


--- trunk/dports/devel/gdb/Portfile	2013-07-26 00:20:24 UTC (rev 108537)
+++ trunk/dports/devel/gdb/Portfile	2013-07-26 00:20:27 UTC (rev 108538)
@@ -82,6 +82,19 @@
     }]
 }
 
+if {${os.platform} eq "darwin" && ${os.major} >= 12} {
+    notes "
+You will need to make sure /System/Library/LaunchDaemons/com.apple.taskgated.plist\
+has the '-p' option, e.g.
+            <key>ProgramArguments</key>
+            <array>
+                    <string>/usr/libexec/taskgated</string>
+                    <string>-sp</string>
+            </array>
+"
+}
+
+
 livecheck.type  regex
 livecheck.url   http://ftp.gnu.org/gnu/gdb/
 livecheck.regex gdb-(\\d+(?:\\.\\d+)+)\\.tar