On Mon, Jul 14, 2025 at 10:28:48AM +0200, Peter Hessler wrote:
> Noticed on arm64, WANTLIB expects to link against DRM libraries.  These
> don't exist on all arches, so etract them out.
> 
> Build-tested on arm64.

> +.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "aarch64"
> +WANTLIB += drm drm_amdgpu

Unless I'm missing something in lists/xbase/md.*, I think these two
exist on all architectures for which we build packages, so I don't
believe they need special casing.

> +.endif
> +.if ${MACHINE_ARCH} == "amd64"
> +WANTLIB += drm_intel

This one only exists on amd64 and i386, so I would suggest you commit
a diff that does only this:

.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
WANTLIB += drm_intel
.endif

> +.endif
>  
>  SITES=                       
> https://www.aquamaniac.de/rdm/attachments/download/529/
>  
> 
> 
> 
> 
> -- 
> Mustgo, n.:
>       Any item of food that has been sitting in the refrigerator so
>       long it has become a science project.
>               -- Sniglets, "Rich Hall & Friends"
> 

Reply via email to