pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/darktable



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Sun Mar 16 19:10:16 UTC 2025

Modified Files:
        pkgsrc/graphics/darktable: Makefile

Log Message:
graphics/darktable: Link against libexecinfo if needed.

Fixes:

[ 56%] Building C object bin/CMakeFiles/darktable.dir/main.c.o
[ 56%] Linking C executable darktable
/usr/bin/ld: libdarktable.so: undefined reference to `backtrace_symbols'
/usr/bin/ld: libdarktable.so: undefined reference to `backtrace'
collect2: error: ld returned 1 exit status
*** [bin/darktable] Error code 1


To generate a diff of this commit:
cvs rdiff -u -r1.172 -r1.173 pkgsrc/graphics/darktable/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/darktable/Makefile
diff -u pkgsrc/graphics/darktable/Makefile:1.172 pkgsrc/graphics/darktable/Makefile:1.173
--- pkgsrc/graphics/darktable/Makefile:1.172    Tue Feb 18 10:33:19 2025
+++ pkgsrc/graphics/darktable/Makefile  Sun Mar 16 19:10:16 2025
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.172 2025/02/18 10:33:19 wiz Exp $
+# $NetBSD: Makefile,v 1.173 2025/03/16 19:10:16 riastradh Exp $
 
 DISTNAME=      darktable-5.0.0
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=darktable-org/}
 GITHUB_PROJECT=        darktable
@@ -54,6 +54,8 @@ CMAKE_CONFIGURE_ARGS+=        -DTESTBUILD_OPENC
 CONFIGURE_DIRS=        ../pkgsrc_build
 CMAKE_ARG_PATH=        ${WRKSRC}
 LDFLAGS+=      ${COMPILER_RPATH_FLAG}${PREFIX}/lib/darktable
+LDFLAGS+=      ${BUILDLINK_LDFLAGS.libexecinfo}
+LIBS+=         ${BUILDLINK_LDADD.libexecinfo}
 
 .include "../../mk/bsd.fast.prefs.mk"
 .if ${MACHINE_ARCH} == "i386"
@@ -84,6 +86,7 @@ BUILDLINK_API_DEPENDS.sqlite3+=       sqlite3>
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../devel/cmake/build.mk"
 .include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/libexecinfo/buildlink3.mk"
 .include "../../devel/libgphoto2/buildlink3.mk"
 BUILDLINK_API_DEPENDS.zlib+=   zlib>=1.2.11
 .include "../../devel/zlib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index