pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/cmark



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Apr 11 10:55:05 UTC 2020

Modified Files:
        pkgsrc/textproc/cmark: distinfo
Added Files:
        pkgsrc/textproc/cmark/patches: patch-src_CMakeLists.txt

Log Message:
cmark: dynamically link the executable


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/cmark/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/cmark/patches/patch-src_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/textproc/cmark/distinfo
diff -u pkgsrc/textproc/cmark/distinfo:1.5 pkgsrc/textproc/cmark/distinfo:1.6
--- pkgsrc/textproc/cmark/distinfo:1.5  Tue Apr  9 06:04:13 2019
+++ pkgsrc/textproc/cmark/distinfo      Sat Apr 11 10:55:05 2020
@@ -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

Added files:

Index: pkgsrc/textproc/cmark/patches/patch-src_CMakeLists.txt
diff -u /dev/null pkgsrc/textproc/cmark/patches/patch-src_CMakeLists.txt:1.1
--- /dev/null   Sat Apr 11 10:55:05 2020
+++ pkgsrc/textproc/cmark/patches/patch-src_CMakeLists.txt      Sat Apr 11 10:55:05 2020
@@ -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