Merge pull request #406 from mlocati/libcmark-0.30.1

Use libcmark 0.30.1 whenever possible
pull/408/head 1.2.49
Michele Locati 2021-08-03 08:43:21 +02:00 committed by GitHub
commit f0c4de6dd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 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 case "$DISTRO_VERSION" in
debian@8) 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.29.0
;; ;;
*) *)
installRemoteModule_tmp=0.30.0 installRemoteModule_tmp=0.30.1
;; ;;
esac esac
cd "$(getPackageSource https://github.com/commonmark/cmark/archive/$installRemoteModule_tmp.tar.gz)" cd "$(getPackageSource https://github.com/commonmark/cmark/archive/$installRemoteModule_tmp.tar.gz)"