Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2020 14:32:08 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r538880 - head/graphics/libglvnd
Message-ID:  <202006151432.05FEW8Jo096922@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006151432.05FEW8Jo096922>