This fixes the build on sparc64. Unsure if the REVISION bump is
necessary.

Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/libvirt/Makefile,v
retrieving revision 1.79
diff -u -p -r1.79 Makefile
--- Makefile    4 May 2021 12:32:54 -0000       1.79
+++ Makefile    20 May 2021 14:28:21 -0000
@@ -3,6 +3,7 @@
 COMMENT=               tool/library for managing platform virtualization
 
 DISTNAME=              libvirt-7.3.0
+REVISION=              0
 
 CATEGORIES=            sysutils devel emulators
 
@@ -23,6 +24,10 @@ WANTLIB += sasl2 ssh2 util xml2 yajl
 
 MASTER_SITES=          https://libvirt.org/sources/
 EXTRACT_SUFX=          .tar.xz
+
+# "#error You need at least GCC v4.8 to compile libvirt"
+COMPILER=              base-clang ports-gcc
+COMPILER_LANGS=                c
 
 MODULES=               devel/meson
 

Reply via email to