git: f377e31e558d - main - graphics/libglvnd: move binutils dependency to powerpc64* block

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Mon, 21 Feb 2022 00:33:30 UTC
The branch main has been updated by pkubaj:

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

commit f377e31e558d55dc4a25941fb4ca4919b7aee3a3
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-02-21 00:31:11 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-02-21 00:31:11 +0000

    graphics/libglvnd: move binutils dependency to powerpc64* block
    
    While here, remove CXXFLAGS, only CFLAGS is necessary.
    
    Reported by:    jbeich
---
 graphics/libglvnd/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

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