<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 23.08.2012 21:47, Eitan Adler wrote:<br>
</div>
<blockquote
cite="mid:CAF6rxgntLd+FAM_KGjkKzZOmhvdaOEXJg4YL1b7yYrCYgpx=0w@mail.gmail.com"
type="cite">
<pre wrap="">NOT and ONLY are meant for ports which by definition will never work
another arch (think x86info). In this case the ports are just broken.
</pre>
</blockquote>
That's a fine distinction, that makes little sense to me -- the
total number of ports, which can not ever work on some architecture
is, probably, a couple dozen... It is also not mentioned in the <a
href="http://www.freebsd.org/doc/en/books/porters-handbook/dads-noinstall.html">Handbook</a>
at all:<br>
<ul>
<li>
<p>If a port should be marked <tt class="MAKEVAR">IGNORE</tt>
only on certain
architectures, there are two other convenience variables that
will automatically
set <tt class="MAKEVAR">IGNORE</tt> for you: <tt
class="MAKEVAR">ONLY_FOR_ARCHS</tt> and <tt class="MAKEVAR">NOT_FOR_ARCHS</tt>.
Examples:</p>
<tt>ONLY_FOR_ARCHS= i386 amd64<br>
NOT_FOR_ARCHS= ia64 sparc64</tt><br>
<p>A custom <tt class="MAKEVAR">IGNORE</tt> message can be set
using <tt class="MAKEVAR">ONLY_FOR_ARCHS_REASON</tt> and <tt
class="MAKEVAR">NOT_FOR_ARCHS_REASON</tt>. Per architecture
entries are possible
with <tt class="MAKEVAR">ONLY_FOR_ARCHS_REASON_<tt
class="REPLACEABLE"><i>ARCH</i></tt></tt> and <tt
class="MAKEVAR">NOT_FOR_ARCHS_REASON_<tt class="REPLACEABLE"><i>ARCH</i></tt></tt>.</p>
</li>
</ul>
Thus, I still think, using these knobs is better -- especially, when
doing otherwise requires splitting <tt>bsd.ports.mk</tt> into <tt>bsd.ports.{pre,post}.mk</tt>.
Yours,<br>
<blockquote>-mi<br>
</blockquote>
</body>
</html>