[135029] trunk/dports/x11/xinit/Portfile
larryv at macports.org
larryv at macports.org
Mon Apr 13 08:54:03 PDT 2015
Revision: 135029
https://trac.macports.org/changeset/135029
Author: larryv at macports.org
Date: 2015-04-13 08:54:02 -0700 (Mon, 13 Apr 2015)
Log Message:
-----------
xinit: Simplify `notes` by dropping the string-building
Modified Paths:
--------------
trunk/dports/x11/xinit/Portfile
Modified: trunk/dports/x11/xinit/Portfile
===================================================================
--- trunk/dports/x11/xinit/Portfile 2015-04-13 15:41:14 UTC (rev 135028)
+++ trunk/dports/x11/xinit/Portfile 2015-04-13 15:54:02 UTC (rev 135029)
@@ -58,16 +58,12 @@
platform darwin {
if {${os.major} > 9} {
- # NOTE: The first line of the note sets the indentation that
- # base trims. The rest of the note should use the same indent.
- set note {
- To use MacPorts' X11 as the default server, install\
- xorg-server, }
-
# OS X 10.6.3 was the first version whose native X11 allowed the modern socket naming
# for better X11 server coexistence, so we require it for installing the LaunchAgent
if {[vercmp ${os.version} 10.3.0] < 0} {
- append note {load the LaunchAgent with the following\
+ notes {
+ To use MacPorts' X11 as the default server, install\
+ xorg-server, load the LaunchAgent with the following\
command, log out, and log back in.
$ launchctl load -w /Library/LaunchAgents/org.macports.startx.plist
@@ -76,9 +72,10 @@
Leopard and later. Note that doing this may cause the\
Apple-provided X11 to fail to launch.}
} else {
- append note {log out, and log back in.}
+ notes {
+ To use MacPorts' X11 as the default server, install\
+ xorg-server, log out, and log back in.}
}
- notes $note
}
post-activate {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150413/16e54308/attachment-0001.html>
More information about the macports-changes
mailing list