Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Feb 2022 11:40:05 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9341f0aca4ec - main - graphics/libglvnd: reduce dependency on gcc for everyone on powerpc64* by using binutils
Message-ID:  <202202201140.21KBe5Hv075487@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9341f0aca4ecea11124957da5ea6384640745e43

commit 9341f0aca4ecea11124957da5ea6384640745e43
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-02-20 11:37:28 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-02-20 11:37:28 +0000

    graphics/libglvnd: reduce dependency on gcc for everyone on powerpc64* by using binutils
---
 graphics/libglvnd/Makefile | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/graphics/libglvnd/Makefile b/graphics/libglvnd/Makefile
index d1c8787f8f74..a4cac9000e08 100644
--- a/graphics/libglvnd/Makefile
+++ b/graphics/libglvnd/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libglvnd
 DISTVERSION=	1.4.0
+PORTREVISION=	1
 CATEGORIES=	graphics
 
 MAINTAINER=	x11@FreeBSD.org
@@ -8,7 +9,9 @@ COMMENT=	GL Vendor-Neutral Dispatch library
 LICENSE=	APACHE20 MIT
 LICENSE_COMB=	multi
 
-USES=		localbase meson pkgconfig
+BUILD_DEPENDS=	as:devel/binutils
+
+USES=		compiler:c++11-lib localbase meson pkgconfig
 USE_LDCONFIG=	yes
 
 USE_GITLAB=	yes
@@ -27,9 +30,8 @@ X11_MESON_ENABLED=	x11 glx
 .include <bsd.port.options.mk>
 
 .if ${ARCH:Mpowerpc64*}
-USES+=		compiler:gcc-c++11-lib
-.else
-USES+=		compiler:c++11-lib
+CFLAGS+=	-no-integrated-as
+CXXFLAGS+=	-no-integrated-as
 .endif
 
 # Lots of software expects gl.pc even when it can build with EGL only



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