pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Can't build sysutils/xentools420



On Wed, Sep 03, 2025 at 08:35:44PM +0200, Manuel Bouyer wrote:
> On Wed, Sep 03, 2025 at 07:59:58PM +0200, Martin Husemann wrote:
> > The build of sysutils/xentools420 on NetBSD-current amd64 from pkgsrc-current
> > stops for me with:
> > 
> > In file included from ../qemu-xen/ui/sdl2.c:31:
> > /work/pkgobj/sysutils/xentools420/work/xen-ea5025554e982bd377f85b899b6d151e5ef33d1e/tools/qemu-xen/include/ui/sdl2.h:7:10: fatal error: SDL.h: No such file or directory
> >     7 | #include <SDL.h>
> >       |          ^~~~~~~
> > compilation terminated.
> 
> Strange; I just built it on a 10.99.7/amd64 system where there is no SDL2.h
> 
> qemu's configure seems to look for sdl2-config, do you have this on your
> system ?

if so, maybe try the patch below. If it doesn't work maybe this needs to be
in MAKE_ENV too


--- Makefile.orig	2025-09-03 20:39:28.931049596 +0200
+++ Makefile	2025-09-03 20:40:17.769926498 +0200
@@ -56,6 +56,7 @@
 CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFBASE}
 CONFIGURE_ARGS+=	--enable-ipxe
 CONFIGURE_ARGS+=	--with-system-ovmf=${PREFIX}/share/ovmf/OVMFX64.fd
+CONFIGURE_ENV+=		SDL2_CONFIG=/nonexistant
 
 MAKE_ENV+=		PREFIX=${prefix:Q} WRKSRC=${WRKSRC}
 MAKE_ENV+=		APPEND_LIB=${LDFLAGS:Q}

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index