pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/MesaLib



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Mar  2 12:34:56 UTC 2025

Modified Files:
        pkgsrc/graphics/MesaLib: Makefile

Log Message:
MesaLib: Add workaround for issues with lld.


To generate a diff of this commit:
cvs rdiff -u -r1.213 -r1.214 pkgsrc/graphics/MesaLib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/MesaLib/Makefile
diff -u pkgsrc/graphics/MesaLib/Makefile:1.213 pkgsrc/graphics/MesaLib/Makefile:1.214
--- pkgsrc/graphics/MesaLib/Makefile:1.213      Tue Jan 21 11:00:16 2025
+++ pkgsrc/graphics/MesaLib/Makefile    Sun Mar  2 12:34:56 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.213 2025/01/21 11:00:16 nia Exp $
+# $NetBSD: Makefile,v 1.214 2025/03/02 12:34:56 nia Exp $
 
 DISTNAME=      mesa-21.3.9
 PKGNAME=       ${DISTNAME:S/mesa/MesaLib/}
@@ -33,6 +33,14 @@ MESA_PLATFORMS=              #
 .include "features.mk"
 .include "options.mk"
 
+# This is actually a workaround for lld, but
+# we currently lack a way to test linker version.
+# Fixed upstream after 23.3.
+# See https://bugs.gentoo.org/914905
+.if ${OPSYS} != "SunOS" && ${PKGSRC_COMPILER:M*clang*}
+LDFLAGS+=      -Wl,--undefined-version
+.endif
+
 PLIST_SUBST+=  GLVER="1.2.0"
 PLIST_SUBST+=  MACHINE_ARCH=${MACHINE_ARCH}
 



Home | Main Index | Thread Index | Old Index