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:	c97005f74a graphics/darktable: Set USE_GCC=12
This commit is contained in:
Lorenzo Salvadore 2024-02-24 08:45:25 +00:00
parent 5be767bb2c
commit b1b2712440
No known key found for this signature in database
GPG Key ID: 850E0F7350D20966
1 changed files with 2 additions and 1 deletions

View File

@ -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/}