nss: update to 3.57.

This commit is contained in:
Đoàn Trần Công Danh 2020-09-23 22:17:12 +07:00
parent 8c581a6c7e
commit ecc17c0f55

View file

@ -1,9 +1,9 @@
# Template file for 'nss' # Template file for 'nss'
_nsprver=4.28 _nsprver=4.29
pkgname=nss pkgname=nss
version=3.56 version=3.57
revision=1 revision=1
hostmakedepends="perl" hostmakedepends="perl"
makedepends="nspr-devel sqlite-devel zlib-devel" makedepends="nspr-devel sqlite-devel zlib-devel"
@ -13,7 +13,7 @@ maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="MPL-2.0" license="MPL-2.0"
homepage="https://www.mozilla.org/projects/security/pki/nss" homepage="https://www.mozilla.org/projects/security/pki/nss"
distfiles="${MOZILLA_SITE}/security/nss/releases/NSS_${version//\./_}_RTM/src/nss-${version}.tar.gz" distfiles="${MOZILLA_SITE}/security/nss/releases/NSS_${version//\./_}_RTM/src/nss-${version}.tar.gz"
checksum=f875e0e8ed3b5ce92d675be4a55aa25a8c1199789a4a01f69b5f2327e2048e9c checksum=55a86c01be860381d64bb4e5b94eb198df9b0f098a8af0e58c014df398bdc382
export NS_USE_GCC=1 export NS_USE_GCC=1
export LIBRUNPATH= export LIBRUNPATH=
@ -37,6 +37,13 @@ do_build() {
_native_use64="USE_64=1" _native_use64="USE_64=1"
fi fi
# Build System can detect this just fine,
# but I don't like to see useless warning barf for every line.
case "$XBPS_TARGET_MACHINE" in
x86_64*) ;;
*) export NSS_DISABLE_AVX2=1 ;;
esac
# it's actually VSX, so disable on all BE ppc # it's actually VSX, so disable on all BE ppc
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
ppc64le*) ;; ppc64le*) ;;