Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jul 2023 09:49:14 GMT
From:      Olivier Cochard <olivier@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2f1c5631c708 - main - graphics/osg: Cleaner way to force c++11
Message-ID:  <202307070949.3679nEd2005347@gitrepo.freebsd.org>

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

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

commit 2f1c5631c708cb9942147f69766626a03dd7bf72
Author:     Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2023-07-07 09:46:02 +0000
Commit:     Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2023-07-07 09:49:02 +0000

    graphics/osg: Cleaner way to force c++11
    
    Reported by:    fluffy
---
 graphics/osg/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphics/osg/Makefile b/graphics/osg/Makefile
index 7ef96671c88a..4f2eb50d8ac8 100644
--- a/graphics/osg/Makefile
+++ b/graphics/osg/Makefile
@@ -26,9 +26,9 @@ USES=		alias cmake compiler:c11 jpeg gl pkgconfig xorg
 USE_GL=		gl
 USE_XORG=	x11
 USE_LDCONFIG=	yes
+USE_CXXSTD=	c++11
 
 CFLAGS+=	-I${LOCALBASE}/include/Imath -DInt64=uint64_t
-CXXFLAGS+=	-std=c++11
 
 PLIST_SUB=	OSG_VERSION=${PORTVERSION} \
 		OSG_SHLIBVER=161 \



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