Index | Thread | Search

From:
Volker Schlecht <openbsd-ports@schlecht.dev>
Subject:
Re: lang/zig moved to Codeberg
To:
Brandon Mercer <bmercer@eutonian.com>, ports@openbsd.org, semarie@openbsd.org
Date:
Sun, 29 Mar 2026 16:17:08 +0200

Download raw body.

Thread
On 3/29/26 4:11 PM, Brandon Mercer wrote:
> On Sat, Mar 28, 2026, at 6:15 PM, Volker Schlecht wrote:
>> On 3/28/26 7:04 PM, Stuart Henderson wrote:
>>
>>> it doesn't seem useful to have ZIG_VERSION and V as separate vars?
>>
>> Good point - update attached.
> 
> Thanks for the updated diff.
> 
>>> this one is so annoying, it seems like it should be simple to fix
>>> so that dist-tuple.port.mk sets it correctly, but nothing I try works...
>>> (all the ports using codeberg DIST_TUPLE explicitly set WRKDIST to what
>>> you get from ${WRKDIR}/${_project})
> 
> I've tried playing around with this as well. I made zero progress.
> 
>> Agreed, but honestly I'm glad there's no canonical way to deal with this
>> (yet) that I missed :-)
>> Attachments:
>> * zig-codeberg2.diff
> 
> This diff looks very similar to what I've been preparing for the 0.16.x release. Do we see a compelling reason to make the switch to codeberg before 0.16 hits or can we keep pulling from GH until then?
> bmercer@

No strong opinion here, I just noticed while looking at the zig docs while
working on a zig-based port and thought I'd throw it out there.