Use libcmark 0.30.1 whenever possible

Test: cmark
pull/406/head
Michele Locati 2021-08-03 08:38:31 +02:00
parent 33575d98f1
commit 1b31dd1698
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 2 additions and 2 deletions

View File

@ -1631,11 +1631,11 @@ installRemoteModule() {
if ! test -e /usr/local/lib/libcmark.so && ! test -e /usr/local/lib64/libcmark.so && ! test -e /usr/lib/libcmark.so && ! test -e /usr/lib64/libcmark.so && ! test -e /lib/libcmark.so; then
case "$DISTRO_VERSION" in
debian@8)
# cmark library version 0.30.0 requires cmake 3.3+ (debian jessie comes with cmake 3.0)
# See https://github.com/commonmark/cmark/issues/384
installRemoteModule_tmp=0.29.0
;;
*)
installRemoteModule_tmp=0.30.0
installRemoteModule_tmp=0.30.1
;;
esac
cd "$(getPackageSource https://github.com/commonmark/cmark/archive/$installRemoteModule_tmp.tar.gz)"