Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / external / libwps / UnpackedTarball_libwps.mk
blob8551ef9bea182c7b9c9f16850017be4d82346468
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,libwps))
12 $(eval $(call gb_UnpackedTarball_set_tarball,libwps,$(WPS_TARBALL)))
14 $(eval $(call gb_UnpackedTarball_set_patchlevel,libwps,1))
16 $(eval $(call gb_UnpackedTarball_add_patches,libwps,\
17 $(if $(SYSTEM_REVENGE),,external/libwps/rpath.patch.0) \
20 ifneq ($(OS),MACOSX)
21 ifneq ($(OS),WNT)
22 $(eval $(call gb_UnpackedTarball_add_patches,libwps,\
23 external/libwps/libwps-bundled-soname.patch.0 \
25 endif
26 endif
28 ifeq ($(COM_IS_CLANG),TRUE)
29 ifneq ($(filter -fsanitize=%,$(CC)),)
30 $(eval $(call gb_UnpackedTarball_add_patches,libwps, \
31 external/libwps/ubsan-visibility.patch.0 \
33 endif
34 endif
36 # vim: set noet sw=4 ts=4: