From: Stuart Henderson Subject: Re: MAINTAINER UPDATE: x11/gnustep/libobjc2 to 2.3 and enable libdispatch To: Sebastian Reitenbach Cc: ports@openbsd.org Date: Fri, 30 Jan 2026 14:55:33 +0000 On 2026/01/27 15:59, Sebastian Reitenbach wrote: > Hi, > > just pinging for feedback. Patches reattached. the newly added "test" target is problematic. firstly, as it doesn't do what "make test" is expected to do, it should probably not override that. if the normal upstream build infrastructure can't be used (i.e. -DTESTS=On and fix whatever is causing it to fail) then it should use a different name ("build-tests" or something?) with a comment explaining it. or convert to do-test and have it also run the tests. also it needs to use ${WRKBUILD} rather than just whatever that happens to expand to on your system. > thank you, > Sebastian > > On Mon, Jan 19, 2026 at 9:50 AM Sebastian Reitenbach wrote: > > Hi, > > this updates libobjc2 to 2.3. This version allows, to not use internal libdispatch, but > build/link against external libdispatch. To build, it requires private headers, therefore > the BUILD_DEPENDS on the :patch target, as sthen@ suggested. > > Being finally able to use libdispatch in objective-c is kind of the last missing modern > objective-c feature. > > Getting the tests to work, caused me some grief, but I got most of then to build now. > However, it would still need to run them.I left it in that state now, as they can be run > manually. Some are failing, but up to now, I haven't seen any issues yet. > It may well be that they would have failed with the previous versions as well. > > See attached libobjc2.diff > > Additionally, updated gnustep.port.mk accordingly, and took the opportunity to clean > WANTLIB on a number of depending ports. > > See attached gnustep.diff > > Works for me on amd64 for about 2 months now. > > > cheers, > Sebastian > >