pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/spdlog



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sat Nov 12 15:06:07 UTC 2022

Modified Files:
        pkgsrc/devel/spdlog: Makefile distinfo
Added Files:
        pkgsrc/devel/spdlog/patches: patch-CMakeLists.txt

Log Message:
spdlog: Fix shared library symlink name

And do not build in source directory for easier debugging.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/spdlog/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/spdlog/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/spdlog/patches/patch-CMakeLists.txt

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

Modified files:

Index: pkgsrc/devel/spdlog/Makefile
diff -u pkgsrc/devel/spdlog/Makefile:1.12 pkgsrc/devel/spdlog/Makefile:1.13
--- pkgsrc/devel/spdlog/Makefile:1.12   Fri Nov 11 18:36:47 2022
+++ pkgsrc/devel/spdlog/Makefile        Sat Nov 12 15:06:06 2022
@@ -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 @@ PKGCONFIG_OVERRIDE+= cmake/spdlog.pc.in
 
 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"

Index: pkgsrc/devel/spdlog/distinfo
diff -u pkgsrc/devel/spdlog/distinfo:1.11 pkgsrc/devel/spdlog/distinfo:1.12
--- pkgsrc/devel/spdlog/distinfo:1.11   Fri Nov 11 18:36:47 2022
+++ pkgsrc/devel/spdlog/distinfo        Sat Nov 12 15:06:06 2022
@@ -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

Added files:

Index: pkgsrc/devel/spdlog/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/devel/spdlog/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Sat Nov 12 15:06:07 2022
+++ pkgsrc/devel/spdlog/patches/patch-CMakeLists.txt    Sat Nov 12 15:06:06 2022
@@ -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