make arch-independent ports

2021-09-24 Thread Anton Lindqvist
Hi, When I try to `make package' on a port annotated with PKG_ARCH=* like devel/uthash for instance I run into the following error: make: don't know how to make /usr/ports/packages/amd64/all//uthash-2.3.0.tgz (prerequisite of: _internal-package-only) Removing the extra slash solves the

UPDATE: libstrophe - endian issue build fix for sparc64

2021-09-24 Thread Brad Smith
Fix build issue on sparc64. http://build-failures.rhaalovely.net/sparc64/2021-09-18/net/libstrophe.log In file included from src/sha256.c:6: src/sha.h:90:2: error: #error Unknown endianness not supported src/sha256.c: In function 'sha256_compress': src/sha256.c:30: warning: implicit declaration

Ports tree fully locked

2021-09-24 Thread Christian Weisgerber
The ports tree is fully locked for the 7.0 release now. No more commits. -- Christian "naddy" Weisgerber na...@mips.inka.de

CVS: cvs.openbsd.org: ports

2021-09-24 Thread Theo Buehler
CVSROOT:/cvs Module name:ports Changes by: t...@cvs.openbsd.org2021/09/24 08:12:09 Modified files: audio/pulseaudio: Makefile Log message: pulseaudio: fix build on !base-clang architectures. pulseaudio's meson.build effectively uses __builtin_dgettext() to decide

Re: [sparc64] fix pulseaudio 15.0 build

2021-09-24 Thread Antoine Jacoutot
On Fri, Sep 24, 2021 at 11:30:58AM +0100, Stuart Henderson wrote: > On 2021/09/24 12:26, Theo Buehler wrote: > > On Fri, Sep 24, 2021 at 10:41:17AM +0100, Stuart Henderson wrote: > > > Conditional setting of PATCH_FILES, or use a sed -i instead of a patch. > > > > I wanted to add to an existing

Re: [sparc64] fix pulseaudio 15.0 build

2021-09-24 Thread Stuart Henderson
On 2021/09/24 12:26, Theo Buehler wrote: > On Fri, Sep 24, 2021 at 10:41:17AM +0100, Stuart Henderson wrote: > > Conditional setting of PATCH_FILES, or use a sed -i instead of a patch. > > I wanted to add to an existing patch, so the first option won't work, I > guess. It is possible, but makes

Re: [sparc64] fix pulseaudio 15.0 build

2021-09-24 Thread Theo Buehler
On Fri, Sep 24, 2021 at 10:41:17AM +0100, Stuart Henderson wrote: > Conditional setting of PATCH_FILES, or use a sed -i instead of a patch. I wanted to add to an existing patch, so the first option won't work, I guess. We could also use "meson.get_compiler('c').get_id() != 'gcc'" instead of my

Re: [sparc64] fix pulseaudio 15.0 build

2021-09-24 Thread Stuart Henderson
Conditional setting of PATCH_FILES, or use a sed -i instead of a patch. -- Sent from a phone, apologies for poor formatting. On 24 September 2021 10:08:11 Theo Buehler wrote: On Fri, Sep 24, 2021 at 11:03:05AM +0200, Antoine Jacoutot wrote: On Fri, Sep 24, 2021 at 10:43:08AM +0200, Theo

Re: [sparc64] fix pulseaudio 15.0 build

2021-09-24 Thread Theo Buehler
On Fri, Sep 24, 2021 at 11:03:05AM +0200, Antoine Jacoutot wrote: > On Fri, Sep 24, 2021 at 10:43:08AM +0200, Theo Buehler wrote: > > The patch below makes pulseaudio build on sparc64. > > > > The problem is that the determination of libintl_dep works as intended > > with base-clang but fails

Re: [sparc64] fix pulseaudio 15.0 build

2021-09-24 Thread Antoine Jacoutot
On Fri, Sep 24, 2021 at 10:43:08AM +0200, Theo Buehler wrote: > The patch below makes pulseaudio build on sparc64. > > The problem is that the determination of libintl_dep works as intended > with base-clang but fails with ports-gcc (*). Thus, pacat and a couple > other programs are linked

[sparc64] fix pulseaudio 15.0 build

2021-09-24 Thread Theo Buehler
The patch below makes pulseaudio build on sparc64. The problem is that the determination of libintl_dep works as intended with base-clang but fails with ports-gcc (*). Thus, pacat and a couple other programs are linked without -lintl on sparc64, which won't work.