nss: update to 3.46.1.

While we're at it, also fix a quoting problem if user has changed
XBPS_CFLAGS, so that the -O flag isn't the first one, e.g:

    XBPS_CFLAGS=-march=native -O2 -pipe

nspr is updated to 4.23 but nss 3.46.1 only requires 4.22
Release Notes:
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.46.1_release_notes
This commit is contained in:
Doan Tran Cong Danh 2019-10-22 09:43:34 +07:00 committed by Helmut Pozimski
parent 2598cca1ae
commit f5a511992d

View file

@ -3,17 +3,17 @@
_nsprver=4.22
pkgname=nss
version=3.46
version=3.46.1
revision=1
hostmakedepends="perl"
makedepends="nspr-devel sqlite-devel zlib-devel"
depends="nspr>=${_nsprver}"
short_desc="Mozilla Network Security Services"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="Doan Tran Cong Danh <congdanhqx@gmail.com>"
license="MPL-2.0"
homepage="https://www.mozilla.org/projects/security/pki/nss"
distfiles="${MOZILLA_SITE}/security/nss/releases/NSS_${version//\./_}_RTM/src/nss-${version}.tar.gz"
checksum=6b699649d285602ba258a4b0957cb841eafc94eff5735a9da8da0adbb9a10cef
checksum=3bf7e0ed7db98803f134c527c436cc68415ff17257d34bd75de14e9a09d13651
do_build() {
# Respect LDFLAGS
@ -32,7 +32,7 @@ do_build() {
cd nss
# Build nsinstall for host.
make CC=$BUILD_CC LD=$BUILD_LD CFLAGS=$BUILD_CFLAGS LDFLAGS=$BUILD_LDFLAGS \
make CC=$BUILD_CC LD=$BUILD_LD CFLAGS="$BUILD_CFLAGS" LDFLAGS="$BUILD_LDFLAGS" \
${_native_use64} -C coreconf
if [ "$CROSS_BUILD" ]; then