Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Apr 2026 00:44:53 -0700
From:      Yuri Victorovich <yuri@freebsd.org>
To:        Gleb Popov <arrowd@freebsd.org>
Cc:        ports-committers <ports-committers@freebsd.org>, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: 097b8e780932 - main - misc/ollama: Fix package on non-x86 architectures
Message-ID:  <2995c1f6-79b2-4119-9168-09df9e24736a@freebsd.org>
In-Reply-To: <CALH631mHaMRmvmugX90u-ep5D73=QqY0S_9MiZxwk8zX1M3VcQ@mail.gmail.com>
References:  <69ce1085.20cac.772d7539@gitrepo.freebsd.org> <CALH631mHaMRmvmugX90u-ep5D73=QqY0S_9MiZxwk8zX1M3VcQ@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 4/2/26 00:12, Gleb Popov wrote:
> Why not use canonical ${ARCH} ?



Because ${ARCH} requires ".include <bsd.port.pre.mk>" which might hurt 
options handling because ${ARCH} is used here to change option related 
values.
The XARCH variable here is no strings attached, but ${ARCH} is not.




Yuri

[-- Attachment #2 --]
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix"><font face="monospace">On 4/2/26 00:12,
        Gleb Popov wrote:</font></div>
    <blockquote type="cite"
cite="mid:CALH631mHaMRmvmugX90u-ep5D73=QqY0S_9MiZxwk8zX1M3VcQ@mail.gmail.com">
      <div dir="auto"><font face="monospace">Why not use canonical
          ${ARCH} ?</font></div>
    </blockquote>
    <br>
    <br>
    <br>
    <font face="monospace">Because ${ARCH} requires "<span
        style="color:#000000;background-color:#ffffff;">.include
        &lt;bsd.port.pre.mk&gt;</span>" which might hurt options
      handling because ${ARCH} is used here to change option related
      values.</font><br>
    <font face="monospace">The XARCH variable here is no strings
      attached, but ${ARCH} is not.</font><br>
    <font face="monospace"><br>
    </font><br>
    <font face="monospace"><br>
    </font><br>
    <font face="monospace">Yuri</font><br>
    <font face="monospace"><span
        style="color:#000000;background-color:#ffffff;">
      </span><br>
    </font>
  </body>
</html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2995c1f6-79b2-4119-9168-09df9e24736a>