<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">I think at least yasm can cross
      assemble.<br>
      <br>
      Le 18/01/2021 à 22:28, Mark Anderson a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CACahOHTnVqq8VkVkh4Ut9s=YQixgpJh2BTmjeeOM7bmHY-5Aiw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">I haven't ever used it elsewhere, but will it cross
        assemble?
        <div><br clear="all">
          <div>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">
              <div dir="ltr">
                <div>—Mark<br>
                </div>
                <div>_______________________<br>
                  Mark E. Anderson <<a
                    href="mailto:mark@macports.org" target="_blank"
                    moz-do-not-send="true">mark@macports.org</a>><br>
                </div>
                <div><a href="https://trac.macports.org/wiki/mark"
                    target="_blank" moz-do-not-send="true">MacPorts Trac
                    WikiPage</a><br>
                </div>
                <div><a href="https://github.com/markemer"
                    target="_blank" moz-do-not-send="true">GitHub
                    Profile</a><br>
                </div>
                <div><br>
                </div>
              </div>
            </div>
          </div>
          <br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Mon, Jan 18, 2021 at 3:55
          PM miniupnp <<a href="mailto:miniupnp@free.fr"
            moz-do-not-send="true">miniupnp@free.fr</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le
          18/01/2021 à 21:19, Craig Treleaven a écrit :<br>
          > Hi:<br>
          ><br>
          > With Apple Silicon macs taking over the world
          (eventually), I noticed that a few ports build on the new
          platform but still declare a dependency on the nasm or yasm
          assemblers.  Obviously these aren’t used when building for
          arm64.  What would be a clean, simple way of only adding the
          dependency when building for Intel archs?  Something along the
          lines of:<br>
          ><br>
          > if {{build_arch} in "i386 x86_64" || [variant_isset
          universal] } {<br>
          >      depends_build-append  port:nasm<br>
          > }<br>
          isn't it already that way in some ports ? (nasm or yasm is not
          really <br>
          useful to build ppc/ppc64 code ;)<br>
          <br>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>