<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-guide.
</pre>
<p><a href="https://github.com/macports/macports-guide/commit/9ae7f741588a1dfa6869946dfcdceb51d7a569f6">https://github.com/macports/macports-guide/commit/9ae7f741588a1dfa6869946dfcdceb51d7a569f6</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 9ae7f74 Expand platforms examples
</span>9ae7f74 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9ae7f741588a1dfa6869946dfcdceb51d7a569f6
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Thu Jan 4 07:46:37 2024 +1100
<span style='display:block; white-space:pre;color:#404040;'> Expand platforms examples
</span>---
guide/xml/portfile-keywords.xml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/xml/portfile-keywords.xml b/guide/xml/portfile-keywords.xml
</span><span style='display:block; white-space:pre;color:#808080;'>index d5c7bf8..c1b0bf4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/xml/portfile-keywords.xml
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/guide/xml/portfile-keywords.xml
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -454,9 +454,14 @@
</span> <programlisting>platforms any</programlisting>
<para>Ports that install identical files on any Darwin version, but may install
<span style='display:block; white-space:pre;background:#ffe0e0;'>- different files on other platforms, should use:</para>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ different files on other platforms (or don't work on other platforms), should use:</para>
</span> <programlisting>platforms {darwin any}</programlisting>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ <para>It is possible to combine <literal>any</literal> with version ranges. A
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port that only works on Darwin 17 or later and installs identical files regardless
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ of the Darwin version would do this:</para>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <programlisting>platforms {darwin any >= 17}</programlisting>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> </listitem>
</varlistentry>
</pre><pre style='margin:0'>
</pre>