Ticket #39129: patch-Portfile.diff
File patch-Portfile.diff, 2.8 KB (added by lpsinger (Leo Singer), 12 years ago) |
---|
-
Portfile
old new 4 4 5 5 name xinit 6 6 version 1.3.2 7 revision 47 revision 5 8 8 categories x11 9 9 platforms darwin 10 10 maintainers jeremyhu openmaintainer … … 34 34 depends_lib port:xorg-libX11 35 35 36 36 patchfiles \ 37 disable-launchagent.patch \38 37 0001-launchd-privileged_startx-Improved-error-resolution.patch \ 39 38 0002-launchd-Don-t-provide-the-LaunchAgent-on-Tiger.patch \ 40 39 0003-launchd-Provide-more-verbose-error-reporting-for-lau.patch \ … … 44 43 0007-laucnhd-Silence-some-syslog-spam.patch \ 45 44 0008-Annotate-Fatal-and-Fatalx-as-_X_NORETURN.patch 46 45 46 if {[vercmp ${os.version} 10.3.0] < 0} { 47 patchfiles-append disable-launchagent.patch 48 } 49 47 50 patch.pre_args -p1 48 51 49 52 use_autoreconf yes … … 71 74 if {${os.major} > 9} { 72 75 ui_msg "###############################################################################" 73 76 ui_msg "# To choose MacPorts' X11 as the default server, you must install xorg-server," 74 ui_msg "# load the LaunchAgent, logout, and log back in. To load the LaunchAgent,"75 ui_msg "# please execute the following:"76 77 77 if { ${os.major} < 10 } { 78 ui_msg "# sudo launchctl load -w /Library/LaunchAgents/org.macports.startx.plist" 78 # OS X 10.6.3 was the first version whose native X11 allowed the modern socket naming 79 # for better X11 server coexistence, so we require it for installing the LaunchAgent 80 if {[vercmp ${os.version} 10.3.0] < 0} { 81 ui_msg "# load the LaunchAgent, logout, and log back in. To load the LaunchAgent," 82 ui_msg "# please execute the following:" 79 83 ui_msg "# " 80 ui_msg "# This will be required after every upgrade of the xinit port on Leopard"81 } else {82 84 ui_msg "# launchctl load -w /Library/LaunchAgents/org.macports.startx.plist" 83 85 ui_msg "# " 84 86 ui_msg "# This will be remembered across port updates on Snow Leopard and later." 85 }86 87 # OS X 10.6.3 was the first version whose native X11 allowed the modern socket naming88 # for better X11 server coexistence, so we require it for installing the LaunchAgent89 if {[vercmp ${os.version} 10.3.0] < 0} {90 87 ui_msg "# " 91 88 ui_msg "# Note that doing so on your OS version may make the Apple-provided version" 92 89 ui_msg "# fail to launch." 90 } else { 91 ui_msg "# logout, and log back in." 93 92 } 94 93 95 94 ui_msg "###############################################################################"