Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / external / python3 / UnpackedTarball_python3.mk
blob35d6e643a1b0b2348eebc5cbd7a08b23a7dacc3b
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,python3))
12 $(eval $(call gb_UnpackedTarball_set_tarball,python3,$(PYTHON_TARBALL),,python3))
14 $(eval $(call gb_UnpackedTarball_fix_end_of_line,python3,\
15 PCbuild/pcbuild.sln \
18 $(eval $(call gb_UnpackedTarball_add_patches,python3,\
19 external/python3/i100492-freebsd.patch.1 \
20 $(if $(filter AIX,$(OS)),external/python3/python-3.3.3-aix.patch.1) \
21 external/python3/python-3.3.0-darwin.patch.1 \
22 external/python3/python-3.5.4-ssl.patch.1 \
23 external/python3/python-3.5.4-msvc-disable.patch.1 \
24 external/python3/python-3.3.0-pythreadstate.patch.1 \
25 external/python3/python-3.3.0-clang.patch.1 \
26 external/python3/python-3.3.5-pyexpat-symbols.patch.1 \
27 external/python3/ubsan.patch.0 \
28 external/python3/python-3.5.tweak.strip.soabi.patch \
31 ifneq ($(filter DRAGONFLY FREEBSD LINUX NETBSD OPENBSD SOLARIS,$(OS)),)
32 $(eval $(call gb_UnpackedTarball_add_patches,python3,\
33 external/python3/python-3.3.3-elf-rpath.patch.1 \
35 endif
37 ifneq ($(ENABLE_RUNTIME_OPTIMIZATIONS),TRUE)
38 $(eval $(call gb_UnpackedTarball_add_patches,python3,\
39 external/python3/python-3.3.3-disable-obmalloc.patch.0 \
41 endif
43 ifneq ($(SYSTEM_ZLIB),TRUE)
44 $(eval $(call gb_UnpackedTarball_add_patches,python3, \
45 external/python3/internal-zlib.patch.0 \
47 endif
49 ifeq ($(OS),MACOSX)
50 ifneq ($(filter 1090 101000 101100 101200,$(MAC_OS_X_VERSION_MIN_REQUIRED)),)
51 $(eval $(call gb_UnpackedTarball_add_patches,python3,\
52 external/python3/python3-osx-avoid-new-10.13.patch.1 \
54 endif
55 endif
57 # vim: set noet sw=4 ts=4: