pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/cmark cmark: dynamically link the executable
details: https://anonhg.NetBSD.org/pkgsrc/rev/97d3b72d0364
branches: trunk
changeset: 427071:97d3b72d0364
user: adam <adam%pkgsrc.org@localhost>
date: Sat Apr 11 10:55:05 2020 +0000
description:
cmark: dynamically link the executable
diffstat:
textproc/cmark/distinfo | 3 ++-
textproc/cmark/patches/patch-src_CMakeLists.txt | 22 ++++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
diffs (38 lines):
diff -r c2ba2b6e4b8e -r 97d3b72d0364 textproc/cmark/distinfo
--- a/textproc/cmark/distinfo Sat Apr 11 10:54:00 2020 +0000
+++ b/textproc/cmark/distinfo Sat Apr 11 10:55:05 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2019/04/09 06:04:13 adam Exp $
+$NetBSD: distinfo,v 1.6 2020/04/11 10:55:05 adam Exp $
SHA1 (cmark-0.29.0.tar.gz) = d294240c6f889beb14936f75f8183a2bc19a1ab8
RMD160 (cmark-0.29.0.tar.gz) = 1f6feada790727a924352edfefe80f83fc1be162
SHA512 (cmark-0.29.0.tar.gz) = 06eb110cfd90c9e980c022b7588e28864d15a4da5d07d61ad4b27c6de47367492b9e58e9434e62b07517aa6dc484f17af13916808be3188f38c37d20cbf33112
Size (cmark-0.29.0.tar.gz) = 234545 bytes
+SHA1 (patch-src_CMakeLists.txt) = 3adc765edeffbc51b672158dd1d6a0d00b57f78a
diff -r c2ba2b6e4b8e -r 97d3b72d0364 textproc/cmark/patches/patch-src_CMakeLists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/cmark/patches/patch-src_CMakeLists.txt Sat Apr 11 10:55:05 2020 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_CMakeLists.txt,v 1.1 2020/04/11 10:55:05 adam Exp $
+
+Dynamically link the executable.
+
+--- src/CMakeLists.txt.orig 2020-04-11 10:31:40.000000000 +0000
++++ src/CMakeLists.txt
+@@ -47,7 +47,6 @@ set(LIBRARY_SOURCES
+
+ set(PROGRAM "cmark")
+ set(PROGRAM_SOURCES
+- ${LIBRARY_SOURCES}
+ main.c
+ )
+
+@@ -93,6 +92,7 @@ if (CMARK_SHARED)
+ BASE_NAME ${PROJECT_NAME})
+
+ list(APPEND CMARK_INSTALL ${LIBRARY})
++ target_link_libraries(${PROGRAM} ${LIBRARY})
+ endif()
+
+ if (CMARK_STATIC)
Home |
Main Index |
Thread Index |
Old Index