diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2022-04-29 16:03:13 +0200 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2022-05-03 14:04:26 +0200 |
commit | dfae67d10c3f2b6dbde7d6e3280455cd87f9f15c (patch) | |
tree | 7af292eca062d26091d7678c61e752c0fc49e12b /Mk | |
parent | lang/rust-nightly: Update to 1.62.0.20220502 (diff) |
bsd.port.mk: Use zstandard as default compression for FreeBSD 14+
The packages are switched from XZ to ZSTD compression, the compression level
is set at the maximum possible because it creates packages which are closed
in size between XZ and ZSTD, the compression time is close as well,
but decompression time is way bigger.
Exp-run: antoine
Differential revision: https://reviews.freebsd.org/D35095
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index be720a035d87..c2760881ac04 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -2214,11 +2214,11 @@ PKG_SUFX= .pkg . if defined(PKG_NOCOMPRESS) PKG_COMPRESSION_FORMAT?= tar . else -#.if ${OSVERSION} > 1400000 -#PKG_COMPRESSION_FORMAT?= tzst -#.else +.if ${OSVERSION} > 1400000 +PKG_COMPRESSION_FORMAT?= tzst +.else PKG_COMPRESSION_FORMAT?= txz -#.endif +.endif . endif # where pkg(8) stores its data |