Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153330759
D39279.id119743.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
4 KB
Referenced Files
None
Subscribers
None
D39279.id119743.diff
View Options
diff --git a/Mk/Uses/cargo.mk b/Mk/Uses/cargo.mk
--- a/Mk/Uses/cargo.mk
+++ b/Mk/Uses/cargo.mk
@@ -249,6 +249,11 @@
.include "${USESDIR}/pkgconfig.mk"
. endif
+. if ${_CARGO_CRATES:Mzstd-sys}
+# Use the system's zstd instead of building the bundled version
+CARGO_ENV+= ZSTD_SYS_USE_PKG_CONFIG=1
+. endif
+
. for _index _crate _name _version in ${_CARGO_CRATES}
# Split up semantic version and try to sanitize it by removing
# pre-release identifier (-) or build metadata (+)
diff --git a/devel/git-cinnabar/Makefile b/devel/git-cinnabar/Makefile
--- a/devel/git-cinnabar/Makefile
+++ b/devel/git-cinnabar/Makefile
@@ -1,5 +1,6 @@
PORTNAME= git-cinnabar
DISTVERSION= 0.6.0
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= jbeich@FreeBSD.org
@@ -9,7 +10,8 @@
LICENSE= GPLv2 MPL20
LICENSE_COMB= multi
-LIB_DEPENDS= libcurl.so:ftp/curl
+LIB_DEPENDS= libcurl.so:ftp/curl \
+ libzstd.so:archivers/zstd
RUN_DEPENDS= git:devel/git
USES= cargo gmake
diff --git a/games/jumpy/Makefile b/games/jumpy/Makefile
--- a/games/jumpy/Makefile
+++ b/games/jumpy/Makefile
@@ -1,7 +1,7 @@
PORTNAME= jumpy
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games wayland
MAINTAINER= jbeich@FreeBSD.org
@@ -12,7 +12,8 @@
LICENSE_COMB= multi
LICENSE_FILE_MIT= ${WRKSRC}/licenses/LICENSE-MIT
-LIB_DEPENDS= libasound.so:audio/alsa-lib \
+LIB_DEPENDS= libzstd.so:archivers/zstd \
+ libasound.so:audio/alsa-lib \
libudev.so:devel/libudev-devd
RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \
${LOCALBASE}/lib/libvulkan.so:graphics/vulkan-loader
diff --git a/security/arti/Makefile b/security/arti/Makefile
--- a/security/arti/Makefile
+++ b/security/arti/Makefile
@@ -1,6 +1,6 @@
PORTNAME= arti
DISTVERSION= 1.1.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MAINTAINER= cs@FreeBSD.org
@@ -9,6 +9,8 @@
LICENSE= MIT
+LIB_DEPENDS= libzstd.so:archivers/zstd
+
USES= cargo sqlite ssl
USE_RC_SUBR= arti
GROUPS= _arti
diff --git a/sysutils/fselect/Makefile b/sysutils/fselect/Makefile
--- a/sysutils/fselect/Makefile
+++ b/sysutils/fselect/Makefile
@@ -12,6 +12,8 @@
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
+BUILD_DEPENDS= zstd>0:archivers/zstd
+
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= jhspetersson
diff --git a/textproc/meilisearch/Makefile b/textproc/meilisearch/Makefile
--- a/textproc/meilisearch/Makefile
+++ b/textproc/meilisearch/Makefile
@@ -15,6 +15,8 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= zstd>0:archivers/zstd
+
USES= cargo pkgconfig
USE_GITHUB= yes
# Following is generated with following:
diff --git a/www/deno/Makefile b/www/deno/Makefile
--- a/www/deno/Makefile
+++ b/www/deno/Makefile
@@ -1,7 +1,7 @@
PORTNAME= deno
DISTVERSIONPREFIX= v
DISTVERSION= 1.31.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MAINTAINER= mikael@FreeBSD.org
@@ -15,6 +15,7 @@
BUILD_DEPENDS= gn:devel/gn \
libunwind>0:devel/libunwind
+LIB_DEPENDS= libzstd.so:archivers/zstd
USES= cargo compiler:c++17-lang cpe gmake gnome ninja:build pkgconfig:build python:3.9+,build
diff --git a/www/miniserve/Makefile b/www/miniserve/Makefile
--- a/www/miniserve/Makefile
+++ b/www/miniserve/Makefile
@@ -12,6 +12,7 @@
LICENSE_COMB= multi
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= zstd>0:archivers/zstd
LIB_DEPENDS= libonig.so:devel/oniguruma
USES= cargo ssl:build
diff --git a/www/rustypaste/Makefile b/www/rustypaste/Makefile
--- a/www/rustypaste/Makefile
+++ b/www/rustypaste/Makefile
@@ -1,7 +1,7 @@
PORTNAME= rustypaste
DISTVERSIONPREFIX= v
DISTVERSION= 0.8.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MAINTAINER= DtxdF@disroot.org
@@ -11,6 +11,8 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+LIB_DEPENDS= libzstd.so:archivers/zstd
+
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= orhun
diff --git a/www/wasm-pack/Makefile b/www/wasm-pack/Makefile
--- a/www/wasm-pack/Makefile
+++ b/www/wasm-pack/Makefile
@@ -12,7 +12,8 @@
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
-BUILD_DEPENDS= gmake:devel/gmake
+BUILD_DEPENDS= gmake:devel/gmake \
+ zstd>0:archivers/zstd
LIB_DEPENDS= libcurl.so:ftp/curl
USES= cargo perl5 pkgconfig
diff --git a/x11/wezterm/Makefile b/x11/wezterm/Makefile
--- a/x11/wezterm/Makefile
+++ b/x11/wezterm/Makefile
@@ -1,5 +1,6 @@
PORTNAME= wezterm
DISTVERSION= 20230326-111934-3666303c
+PORTREVISION= 1
CATEGORIES= x11 wayland
MAINTAINER= jbeich@FreeBSD.org
@@ -9,7 +10,8 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-LIB_DEPENDS= libwayland-egl.so:graphics/wayland \
+LIB_DEPENDS= libzstd.so:archivers/zstd \
+ libwayland-egl.so:graphics/wayland \
libssh2.so:security/libssh2 \
libfontconfig.so:x11-fonts/fontconfig \
libxkbcommon-x11.so:x11/libxkbcommon \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 12:51 PM (16 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31911499
Default Alt Text
D39279.id119743.diff (4 KB)
Attached To
Mode
D39279: Mk/Uses/cargo.mk: unbundle archivers/zstd
Attached
Detach File
Event Timeline
Log In to Comment