build fix
[LibreOffice.git] / external / python3 / UnpackedTarball_python3.mk
blob2baee17348a884c7f5e6aa5f3acff1c32a946489
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-i42553.patch.2 \
25 external/python3/python-3.3.0-pythreadstate.patch.1 \
26 external/python3/python-3.3.0-clang.patch.1 \
27 external/python3/python-3.3.5-pyexpat-symbols.patch.1 \
28 external/python3/ubsan.patch.0 \
29 external/python3/python-3.5.tweak.strip.soabi.patch \
30 external/python3/0001-3.6-bpo-17239-Disable-external-entities-in-SAX-parse.patch.1 \
33 ifneq ($(filter DRAGONFLY FREEBSD LINUX NETBSD OPENBSD SOLARIS,$(OS)),)
34 $(eval $(call gb_UnpackedTarball_add_patches,python3,\
35 external/python3/python-3.3.3-elf-rpath.patch.1 \
37 endif
39 ifneq ($(ENABLE_RUNTIME_OPTIMIZATIONS),TRUE)
40 $(eval $(call gb_UnpackedTarball_add_patches,python3,\
41 external/python3/python-3.3.3-disable-obmalloc.patch.0 \
43 endif
45 ifneq ($(SYSTEM_ZLIB),TRUE)
46 $(eval $(call gb_UnpackedTarball_add_patches,python3, \
47 external/python3/internal-zlib.patch.0 \
49 endif
51 ifeq ($(OS),MACOSX)
52 ifneq ($(filter 1080 1090 101000 101100 101200,$(MAC_OS_X_VERSION_MIN_REQUIRED)),)
53 $(eval $(call gb_UnpackedTarball_add_patches,python3,\
54 external/python3/python3-osx-avoid-new-10.13.patch.1 \
56 endif
57 endif
59 # vim: set noet sw=4 ts=4: