diff --git a/archivers/liblz4/Makefile b/archivers/liblz4/Makefile index 7e58f94ef5cf..c49500c5e742 100644 --- a/archivers/liblz4/Makefile +++ b/archivers/liblz4/Makefile @@ -1,6 +1,5 @@ PORTNAME= lz4 -PORTVERSION= 1.9.4 -PORTREVISION= 1 +PORTVERSION= 1.10.0 PORTEPOCH= 1 CATEGORIES= archivers MASTER_SITES= https://github.com/lz4/lz4/releases/download/v${PORTVERSION}/ @@ -19,13 +18,22 @@ LICENSE_FILE_GPLv2= ${WRKSRC}/../../programs/COPYING USES= cpe meson pkgconfig python:build shebangfix MESON_ARGS= --default-library=both \ + -Dalign-test=true \ -Dcontrib=false \ + -Ddebug-level=1 \ + -Ddistance-max=65535 \ + -Denable_multithread=true \ -Dexamples=false \ + -Dfast-dec-loop='auto' \ + -Dforce-sw-bitcount=false \ + -Dfreestanding=false \ -Dmemory-usage=0 \ + -Dossfuzz=true \ -Dprograms=true \ - -Dunstable=false + -Dunstable=false \ + -Duser-memory-functions=false USE_LDCONFIG= yes -WRKSRC_SUBDIR= contrib/meson +WRKSRC_SUBDIR= build/meson PLIST_SUB= PORTVERSION=${PORTVERSION} @@ -33,7 +41,7 @@ CPE_VENDOR= lz4_project PORTSCOUT= limit:^[0-9]*\. -SHEBANG_FILES= ../../tests/*.py meson/*.py +SHEBANG_GLOB= *.py OPTIONS_DEFINE= TEST diff --git a/archivers/liblz4/distinfo b/archivers/liblz4/distinfo index c9ce22ab0a3a..6d8399c296ef 100644 --- a/archivers/liblz4/distinfo +++ b/archivers/liblz4/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1696103937 -SHA256 (lz4-1.9.4.tar.gz) = 0b0e3aa07c8c063ddf40b082bdf7e37a1562bda40a0ff5272957f3e987e0e54b -SIZE (lz4-1.9.4.tar.gz) = 354063 +TIMESTAMP = 1721710218 +SHA256 (lz4-1.10.0.tar.gz) = 537512904744b35e232912055ccf8ec66d768639ff3abe5788d90d792ec5f48b +SIZE (lz4-1.10.0.tar.gz) = 387114 diff --git a/archivers/liblz4/files/patch-meson-programs-meson.build b/archivers/liblz4/files/patch-meson-programs-meson.build new file mode 100644 index 000000000000..1e04f406f8fc --- /dev/null +++ b/archivers/liblz4/files/patch-meson-programs-meson.build @@ -0,0 +1,24 @@ +--- meson/programs/meson.build.orig 2024-07-21 17:29:49 UTC ++++ meson/programs/meson.build +@@ -49,8 +49,8 @@ lz4cat = custom_target( + output: 'lz4cat', + command: [ + 'ln', +- '--symbolic', +- '--force', ++ '-s', ++ '-f', + fs.name(lz4.full_path()), + '@OUTPUT@' + ] +@@ -62,8 +62,8 @@ unlz4 = custom_target( + output: 'unlz4', + command: [ + 'ln', +- '--symbolic', +- '--force', ++ '-s', ++ '-f', + fs.name(lz4.full_path()), + '@OUTPUT@' + ]