Bump version to 5.0-14
[LibreOffice.git] / external / nss / UnpackedTarball_nss.mk
blob1b9f45d2766a62bd1a088f946fc5f3392e8c49ed
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_UnpackedTarball_UnpackedTarball,nss))
12 $(eval $(call gb_UnpackedTarball_set_tarball,nss,$(NSS_TARBALL)))
14 $(eval $(call gb_UnpackedTarball_add_patches,nss,\
15 external/nss/nss.patch \
16 external/nss/nss.aix.patch \
17 external/nss/nss-3.13.5-zlib-werror.patch \
18 external/nss/nss_macosx.patch \
19 external/nss/nss-win32-make.patch.1 \
20 $(if $(filter WNTMSC,$(OS)$(COM)),external/nss/nss.windows.patch) \
21 $(if $(filter WNTGCC,$(OS)$(COM)),external/nss/nspr-4.9-build.patch.3 \
22 external/nss/nss-3.13.3-build.patch.3 \
23 external/nss/nss.mingw.patch.3) \
24 external/nss/ubsan.patch.0 \
25 $(if $(filter IOS,$(OS)), \
26 external/nss/nss-chromium-nss-static.patch \
27 external/nss/nss-more-static.patch \
28 external/nss/nss-ios.patch) \
31 # nss-pem is only needed for internal curl to read the NSS CA database
32 ifeq ($(SYSTEM_CURL),)
33 $(eval $(call gb_UnpackedTarball_add_patches,nss,\
34 external/nss/nss-pem.patch \
36 endif
38 ifeq ($(COM_GCC_IS_CLANG),TRUE)
39 ifneq ($(filter -fsanitize=%,$(CC)),)
40 $(eval $(call gb_UnpackedTarball_add_patches,nss,\
41 external/nss/asan.patch.1 \
43 endif
44 endif
46 # vim: set noet sw=4 ts=4: