pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/spdlog spdlog: Fix shared library symlink name
details: https://anonhg.NetBSD.org/pkgsrc/rev/633f1e57790e
branches: trunk
changeset: 388068:633f1e57790e
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Sat Nov 12 15:06:06 2022 +0000
description:
spdlog: Fix shared library symlink name
And do not build in source directory for easier debugging.
diffstat:
devel/spdlog/Makefile | 8 +++++++-
devel/spdlog/distinfo | 3 ++-
devel/spdlog/patches/patch-CMakeLists.txt | 16 ++++++++++++++++
3 files changed, 25 insertions(+), 2 deletions(-)
diffs (53 lines):
diff -r 116301df62e8 -r 633f1e57790e devel/spdlog/Makefile
--- a/devel/spdlog/Makefile Sat Nov 12 13:24:20 2022 +0000
+++ b/devel/spdlog/Makefile Sat Nov 12 15:06:06 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2022/11/11 18:36:47 adam Exp $
+# $NetBSD: Makefile,v 1.13 2022/11/12 15:06:06 ryoon Exp $
DISTNAME= spdlog-1.11.0
CATEGORIES= devel
@@ -20,6 +20,12 @@
LDFLAGS.SunOS+= -lsocket
+CMAKE_ARG_PATH= ..
+CONFIGURE_DIRS= _build
+
+pre-configure:
+ ${MKDIR} ${WRKSRC}/_build
+
.include "../../lang/python/tool.mk"
.include "../../textproc/fmtlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 116301df62e8 -r 633f1e57790e devel/spdlog/distinfo
--- a/devel/spdlog/distinfo Sat Nov 12 13:24:20 2022 +0000
+++ b/devel/spdlog/distinfo Sat Nov 12 15:06:06 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.11 2022/11/11 18:36:47 adam Exp $
+$NetBSD: distinfo,v 1.12 2022/11/12 15:06:06 ryoon Exp $
BLAKE2s (spdlog-1.11.0.tar.gz) = b6fdf69002f5591045e8377fc02a20da4090676d786d9348cc5ed2404f26fc03
SHA512 (spdlog-1.11.0.tar.gz) = 210f3135c7af3ec774ef9a5c77254ce172a44e2fa720bf590e1c9214782bf5c8140ff683403a85b585868bc308286fbdeb1c988e4ed1eb3c75975254ffe75412
Size (spdlog-1.11.0.tar.gz) = 373033 bytes
+SHA1 (patch-CMakeLists.txt) = 7da54588522ca9cf4b1816d6f65a8f31eda43332
diff -r 116301df62e8 -r 633f1e57790e devel/spdlog/patches/patch-CMakeLists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/spdlog/patches/patch-CMakeLists.txt Sat Nov 12 15:06:06 2022 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2022/11/12 15:06:06 ryoon Exp $
+
+* Fix shared library name.
+ Do not create libspdlog.so.1.11 symlink.
+
+--- CMakeLists.txt.orig 2022-11-02 21:13:08.000000000 +0000
++++ CMakeLists.txt
+@@ -176,7 +176,7 @@ target_include_directories(spdlog PUBLIC
+ target_link_libraries(spdlog PUBLIC Threads::Threads)
+ spdlog_enable_warnings(spdlog)
+
+-set_target_properties(spdlog PROPERTIES VERSION ${SPDLOG_VERSION} SOVERSION ${SPDLOG_VERSION_MAJOR}.${SPDLOG_VERSION_MINOR})
++set_target_properties(spdlog PROPERTIES VERSION ${SPDLOG_VERSION} SOVERSION ${SPDLOG_VERSION_MAJOR})
+ set_target_properties(spdlog PROPERTIES DEBUG_POSTFIX d)
+
+ if(COMMAND target_precompile_headers AND SPDLOG_ENABLE_PCH)
Home |
Main Index |
Thread Index |
Old Index