svn commit: r538880 - head/graphics/libglvnd
Piotr Kubaj
pkubaj at FreeBSD.org
Mon Jun 15 14:32:08 UTC 2020
Author: pkubaj
Date: Mon Jun 15 14:32:08 2020
New Revision: 538880
URL: https://svnweb.freebsd.org/changeset/ports/538880
Log:
graphics/libglvnd: fix build on powerpc64 elfv2
Clang fails to build this port, use GCC for now.
Modified:
head/graphics/libglvnd/Makefile
Modified: head/graphics/libglvnd/Makefile
==============================================================================
--- head/graphics/libglvnd/Makefile Mon Jun 15 13:49:43 2020 (r538879)
+++ head/graphics/libglvnd/Makefile Mon Jun 15 14:32:08 2020 (r538880)
@@ -12,7 +12,7 @@ LICENSE_COMB= multi
CONFLICTS_INSTALL= mesa-libs # include/GL/gl.h
-USES= compiler:c++11-lib localbase meson pkgconfig
+USES= localbase meson pkgconfig
USE_LDCONFIG= yes
USE_GITLAB= yes
@@ -27,6 +27,14 @@ OPTIONS_SUB= yes
X11_USES= xorg
X11_USE= XORG=x11,xext,xorgproto
X11_MESON_ENABLED= x11 glx
+
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc64
+USES+= compiler:gcc-c++11-lib
+.else
+USES+= compiler:c++11-lib
+.endif
# Lots of software expects gl.pc even when it can build with EGL only
post-install-X11-off:
More information about the svn-ports-head
mailing list