diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-04-17 11:46:51 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-04-17 11:46:51 +0000 |
commit | 2eaa6b5910ff4c72b61a4fcf4b06c8f6c1d8db93 (patch) | |
tree | db1796cf8284d5dd34bdb76b1d08f48accd46e08 /security/nss | |
parent | 2f4fd599e65da4628186a7a972839f2744fe1fd2 (diff) | |
download | ports-2eaa6b5910ff4c72b61a4fcf4b06c8f6c1d8db93.tar.gz ports-2eaa6b5910ff4c72b61a4fcf4b06c8f6c1d8db93.zip |
Diffstat (limited to 'security/nss')
-rw-r--r-- | security/nss/Makefile | 2 | ||||
-rw-r--r-- | security/nss/files/patch-lib-freebl-Makefile | 21 |
2 files changed, 18 insertions, 5 deletions
diff --git a/security/nss/Makefile b/security/nss/Makefile index a45b69fc728a..a4f17aa15548 100644 --- a/security/nss/Makefile +++ b/security/nss/Makefile @@ -67,7 +67,7 @@ MAKE_ENV+= NSS_DISABLE_ARM32_NEON=1 EXTRA_PATCHES= ${FILESDIR}/${ARCH}${PPC_ABI:tl}-lib_freebl_scripts_gen.sh USES+= compiler:c++11-lang # -mcrypto -mvsx .if ! ${PORT_OPTIONS:MVSX} -MAKE_ENV+= NSS_DISABLE_ALTIVEC=1 +MAKE_ENV+= NSS_DISABLE_CRYPTO_VSX=1 .endif .endif diff --git a/security/nss/files/patch-lib-freebl-Makefile b/security/nss/files/patch-lib-freebl-Makefile index b42174292849..f9e412e534f5 100644 --- a/security/nss/files/patch-lib-freebl-Makefile +++ b/security/nss/files/patch-lib-freebl-Makefile @@ -1,11 +1,24 @@ ---- lib/freebl/Makefile.orig 2018-08-31 12:55:53 UTC +--- lib/freebl/Makefile.orig 2021-04-15 16:17:44 UTC +++ lib/freebl/Makefile -@@ -215,7 +215,7 @@ ifeq ($(CPU_ARCH),x86) +@@ -263,7 +263,7 @@ else ifeq ($(CPU_ARCH),x86) endif endif # Darwin -ifeq ($(OS_TARGET),Linux) +ifeq (,$(filter-out Linux FreeBSD, $(OS_TARGET))) ifeq ($(CPU_ARCH),x86_64) - ASFILES = arcfour-amd64-gas.s mpi_amd64_gas.s - ASFLAGS += -fPIC -Wa,--noexecstack + # Lower case s on mpi_amd64_common due to make implicit rules. + ASFILES = arcfour-amd64-gas.s mpi_amd64_common.s +@@ -298,10 +298,10 @@ ifdef USE_64 + PPC_ABI := $(shell $(CC) -dM -E - < /dev/null | awk '$$2 == "_CALL_ELF" {print $$3}') + ifeq ($(PPC_ABI),2) + ASFILES += sha512-p8.s +- ifeq ($(OS_TEST),ppc64le) ++ ifeq ($(OS_TEST),powerpc64le) + EXTRA_SRCS += chacha20poly1305-ppc.c + ASFILES += chacha20-ppc64le.s +- endif # ppc64le ++ endif # powerpc64le + endif + endif # USE_64 + endif # ppc |