From b1b2712440d93ea3c636266309bf9c1b518c595b Mon Sep 17 00:00:00 2001 From: Lorenzo Salvadore Date: Sat, 24 Feb 2024 08:45:25 +0000 Subject: graphics/darktable: Force building with GCC 12 Second attempt to set USE_GCC=12 properly, so that the GCC_DEFAULT update can get forward. PR: 273681 Approved by: portmgr (blanket) Fixes: c97005f74a5b graphics/darktable: Set USE_GCC=12 --- graphics/darktable/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'graphics/darktable') diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile index 26fab18b0ce3..7ea31ac65604 100644 --- a/graphics/darktable/Makefile +++ b/graphics/darktable/Makefile @@ -42,7 +42,7 @@ LIB_DEPENDS= libavif.so:graphics/libavif \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp -USES= cmake compiler:gcc-c++11-lib desktop-file-utils gl gnome jpeg \ +USES= cmake compiler:c++11-lib desktop-file-utils gl gnome jpeg \ llvm:15,build lua:54 perl5 pkgconfig sdl shebangfix sqlite \ tar:xz xorg USE_GCC= 12 @@ -61,6 +61,7 @@ CMAKE_BOOL+= BUILD_CMSTEST USE_AVIF USE_CAMERA_SUPPORT USE_HEIF \ USE_OPENJPEG USE_WEBP RAWSPEED_ENABLE_LTO CFLAGS+= -fopenmp -I${LOCALBASE}/include/Imath +CXXFLAGS+= -stdlib=libc++ LDFLAGS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.rc/~rc/} -- cgit v1.2.3