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: Fri Aug 30 16:00:47 UTC 2019
Modified Files:
pkgsrc/graphics/MesaLib: buildlink3.mk
Log Message:
MesaLib: add a flag to buildlink3 to detect OSMesa support, similar to EGL
To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 pkgsrc/graphics/MesaLib/buildlink3.mk
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/buildlink3.mk
diff -u pkgsrc/graphics/MesaLib/buildlink3.mk:1.59 pkgsrc/graphics/MesaLib/buildlink3.mk:1.60
--- pkgsrc/graphics/MesaLib/buildlink3.mk:1.59 Fri Aug 30 13:00:56 2019
+++ pkgsrc/graphics/MesaLib/buildlink3.mk Fri Aug 30 16:00:47 2019
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.59 2019/08/30 13:00:56 nia Exp $
+# $NetBSD: buildlink3.mk,v 1.60 2019/08/30 16:00:47 nia Exp $
BUILDLINK_TREE+= MesaLib
@@ -25,6 +25,13 @@ MESALIB_SUPPORTS_EGL= yes
MESALIB_SUPPORTS_EGL= no
.endif
+.if ${X11_TYPE} == "modular" || \
+ ${X11_TYPE} == "native" && exists(${X11BASE}/lib/libOSMesa.so)
+MESALIB_SUPPORTS_OS= yes
+.else
+MESALIB_SUPPORTS_OS= no
+.endif
+
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.MesaLib:Mwayland)
Home |
Main Index |
Thread Index |
Old Index