Hi ports!
Landry said "iirc so far cmake failed to provide useful debugging syms,
so i dont see the point ofadding DEBUG_PACKAGES if they're not helpful."
That's probably because we're building a "Release" type and not a
release with debug informations (RelWithDebInfo).
I have not tested it any further but maybe this is a good starting
point.
Rafael
Index: cmake.port.mk
===================================================================
RCS file: /cvs/ports/devel/cmake/cmake.port.mk,v
retrieving revision 1.65
diff -u -p -r1.65 cmake.port.mk
--- cmake.port.mk 21 Aug 2019 05:47:40 -0000 1.65
+++ cmake.port.mk 21 Mar 2020 06:57:51 -0000
@@ -85,8 +85,8 @@ MODCMAKE_configure= cd ${WRKBUILD} && ${
CONFIGURE_ARGS += -DCMAKE_BUILD_TYPE=Debug
MODCMAKE_BUILD_SUFFIX = -debug.cmake
. else
-CONFIGURE_ARGS += -DCMAKE_BUILD_TYPE=Release
-MODCMAKE_BUILD_SUFFIX = -release.cmake
+CONFIGURE_ARGS += -DCMAKE_BUILD_TYPE=RelWithDebInfo
+MODCMAKE_BUILD_SUFFIX = -RelWithDebInfo.cmake
. endif
.endif
SUBST_VARS += MODCMAKE_BUILD_SUFFIX