pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
set dl lib using CMAKE_DL_LIBS variable, making patch more universal. based on suggestion from wiz.
Module Name: pkgsrc-wip
Committed By: Andrius Varanavicius <vezhlys%netscape.net@localhost>
Pushed By: vezhlys
Date: Sat Oct 15 20:24:35 2022 +0300
Changeset: e31f01ebf4642dc18fb531ff8c04923d3cf9bb97
Modified Files:
codelite/distinfo
codelite/patches/patch-ctagsd_CMakeLists.txt
Log Message:
set dl lib using CMAKE_DL_LIBS variable, making patch more universal. based on suggestion from wiz.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e31f01ebf4642dc18fb531ff8c04923d3cf9bb97
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
codelite/distinfo | 2 +-
codelite/patches/patch-ctagsd_CMakeLists.txt | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
diffs:
diff --git a/codelite/distinfo b/codelite/distinfo
index 13645e4770..4f4e98f15f 100644
--- a/codelite/distinfo
+++ b/codelite/distinfo
@@ -6,7 +6,7 @@ Size (codelite-16.0.tar.gz) = 89755705 bytes
SHA1 (patch-CodeLite_tags_storage_sqlite3.h) = 7c00f06f7472e056ec8745ac8f72c3c8a1d6baf3
SHA1 (patch-LanguageServer_LanguageServerLogView.h) = 6b6d64b444c7aff59558ed37a76c77edf41ef505
SHA1 (patch-Plugin_DiffSideBySidePanel.h) = c9f5842c073ce802dc511a6007f63e0c44bfebfa
-SHA1 (patch-ctagsd_CMakeLists.txt) = 4b7f216ae9384f4e4293463a3dbbd588d1e907f1
+SHA1 (patch-ctagsd_CMakeLists.txt) = f80c55528cdd789929d79a90f6ecb23845e99108
SHA1 (patch-sdk_asio-1.12.1_asio_detail_impl_kqueue__reactor.ipp) = bdbcf78c6198da9ceb123373fd6b99419ae94896
SHA1 (patch-svgs_svgs-dark_create-logo.sh) = d794ca7bb16a248a7aead3ca30e6c9f16073e1a3
SHA1 (patch-svgs_svgs-light_create-logo.sh) = 4b0d06911baf89636311cc10e7042f3a2b4f22b3
diff --git a/codelite/patches/patch-ctagsd_CMakeLists.txt b/codelite/patches/patch-ctagsd_CMakeLists.txt
index d617b38bc4..7ce52ee97c 100644
--- a/codelite/patches/patch-ctagsd_CMakeLists.txt
+++ b/codelite/patches/patch-ctagsd_CMakeLists.txt
@@ -1,17 +1,17 @@
$NetBSD$
---- ctagsd/CMakeLists.txt.orig 2022-04-18 08:09:00.000000000 +0300
-+++ ctagsd/CMakeLists.txt
+--- ctagsd/CMakeLists.txt.orig
++++ ctagsd/CMakeLists.txt 2022-10-15 19:55:44.830876033 +0300
@@ -42,7 +42,11 @@ include_directories("${CL_SRC_ROOT}/Plug
set(UTIL_LIB "")
if(UNIX)
- set(UTIL_LIB "-lutil -ldl")
-+ if ( IS_NETBSD )
++ if(CMAKE_DL_LIBS)
++ set(UTIL_LIB "-lutil ${CMAKE_DL_LIBS}")
++ else()
+ set(UTIL_LIB "-lutil")
-+ else ( )
-+ set(UTIL_LIB "-lutil -ldl")
-+ endif ( )
++ endif()
endif(UNIX)
FILE(GLOB LIBSRC "lib/*.cpp")
Home |
Main Index |
Thread Index |
Old Index