summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/darktable/Makefile3
1 files changed, 2 insertions, 1 deletions
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/}