Skip to content

Commit

Permalink
nss: update to 3.64.
Browse files Browse the repository at this point in the history
  • Loading branch information
sgn authored and Logarithmus committed May 5, 2021
1 parent 06c5500 commit ed33c0e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions srcpkgs/nss/template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_nsprver=4.29

pkgname=nss
version=3.63
version=3.64
revision=1
hostmakedepends="perl"
makedepends="nspr-devel sqlite-devel zlib-devel"
Expand All @@ -13,7 +13,7 @@ maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="MPL-2.0"
homepage="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS"
distfiles="${MOZILLA_SITE}/security/nss/releases/NSS_${version//\./_}_RTM/src/nss-${version}.tar.gz"
checksum=182d2fef629102ae9423aabf2c192242b565cf5098e82c5a26cf70c5e4ea2221
checksum=d3175427172e9c3a6f1ebc74452cb791590f28191c6a1a443dbc0d87c9df1126

export NS_USE_GCC=1
export LIBRUNPATH=
Expand Down Expand Up @@ -44,10 +44,13 @@ do_build() {
*) export NSS_DISABLE_AVX2=1 ;;
esac

# it's actually VSX, so disable on all BE ppc
case "$XBPS_TARGET_MACHINE" in
ppc64le*) ;;
ppc*) export NSS_DISABLE_ALTIVEC=1 ;;
ppc64*) export NSS_DISABLE_CRYPTO_VSX=1 ;;
ppc*)
export NSS_DISABLE_CRYPTO_VSX=1
export NSS_DISABLE_ALTIVEC=1
;;
esac

cd nss
Expand Down

0 comments on commit ed33c0e

Please sign in to comment.