git: 2f1c5631c708 - main - graphics/osg: Cleaner way to force c++11
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 07 Jul 2023 09:49:14 UTC
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 \