From 2f1c5631c708cb9942147f69766626a03dd7bf72 Mon Sep 17 00:00:00 2001 From: Olivier Cochard Date: Fri, 7 Jul 2023 11:46:02 +0200 Subject: [PATCH] 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 7ef96671c88a5..4f2eb50d8ac88 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 \