Index: head/devel/libzim/Makefile =================================================================== --- head/devel/libzim/Makefile (revision 500727) +++ head/devel/libzim/Makefile (revision 500728) @@ -1,22 +1,21 @@ # $FreeBSD$ PORTNAME= libzim -PORTVERSION= 4.0.4 -PORTREVISION= 2 +PORTVERSION= 4.0.7 CATEGORIES= devel MAINTAINER= swills@FreeBSD.org COMMENT= Reference implementation of the ZIM specification LIB_DEPENDS= libicui18n.so:devel/icu \ libxapian.so:databases/xapian-core USES= compiler:c++11-lang meson pkgconfig python:3.4+ USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= openzim BINARY_ALIAS= python3=python${PYTHON_VER} python3-config=python${PYTHON_VER}-config PLIST_SUB= PORTVERSION=${PORTVERSION} .include Index: head/devel/libzim/distinfo =================================================================== --- head/devel/libzim/distinfo (revision 500727) +++ head/devel/libzim/distinfo (revision 500728) @@ -1,3 +1,3 @@ -TIMESTAMP = 1543967332 -SHA256 (openzim-libzim-4.0.4_GH0.tar.gz) = 8f56a16d15e810150d3c3ee9acce3606f676c90b72936e11f77f2a2548cd4611 -SIZE (openzim-libzim-4.0.4_GH0.tar.gz) = 1653434 +TIMESTAMP = 1556887392 +SHA256 (openzim-libzim-4.0.7_GH0.tar.gz) = ede654ffe4ec63aaeb9404010d72e3e6afe6b1dbf34bb0c706a67e094eba4438 +SIZE (openzim-libzim-4.0.7_GH0.tar.gz) = 1654078 Index: head/devel/libzim/files/patch-meson.build =================================================================== --- head/devel/libzim/files/patch-meson.build (revision 500727) +++ head/devel/libzim/files/patch-meson.build (revision 500728) @@ -1,26 +1,26 @@ ---- meson.build.orig 2018-09-04 16:23:32 UTC +--- meson.build.orig 2019-04-15 13:10:25 UTC +++ meson.build @@ -1,7 +1,7 @@ project('libzim', ['c', 'cpp'], - version : '4.0.4', + version : '4.0.7', license : 'GPL2', - default_options : ['c_std=c11', 'cpp_std=c++11', 'werror=true']) + default_options : ['c_std=c11', 'cpp_std=c++11']) if build_machine.system() != 'windows' add_project_arguments('-D_LARGEFILE64_SOURCE=1', '-D_FILE_OFFSET_BITS=64', language: 'cpp') @@ -22,6 +22,9 @@ else endif conf.set('ENABLE_USE_BUFFER_HEADER', get_option('USE_BUFFER_HEADER')) +cc = meson.get_compiler('c') +execinfo_dep = cc.find_library('execinfo', required : false) + - zlib_dep = dependency('zlib', required:false) - conf.set('ENABLE_ZLIB', zlib_dep.found()) + static_linkage = get_option('static-linkage') + static_linkage = static_linkage or get_option('default_library')=='static' -@@ -70,3 +73,4 @@ pkg_mod.generate(libraries : libzim, +@@ -73,3 +76,4 @@ pkg_mod.generate(libraries : libzim, filebase : 'libzim', description : 'A Library to zim.', requires : pkg_requires) +