cURL: follow redirects
[LibreOffice.git] / external / liblangtag / UnpackedTarball_langtag.mk
blob47505f85859cf51a77a40bedee2e0c02d6b91ede
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,langtag))
12 $(eval $(call gb_UnpackedTarball_set_tarball,langtag,$(LIBLANGTAG_TARBALL),,liblangtag))
14 $(eval $(call gb_UnpackedTarball_set_pre_action,langtag,\
15 $(GNUTAR) -x -j -f $(gb_UnpackedTarget_TARFILE_LOCATION)/$(LANGTAGREG_TARBALL) \
18 ifneq ($(OS),MACOSX)
19 ifneq ($(OS),WNT)
20 $(eval $(call gb_UnpackedTarball_add_patches,langtag,\
21 external/liblangtag/liblangtag-bundled-soname.patch.0 \
23 endif
24 endif
26 ifeq ($(OS),WNT)
27 ifeq ($(COM),GCC)
28 $(eval $(call gb_UnpackedTarball_add_patches,langtag,\
29 external/liblangtag/liblangtag-0.5.1-mingw.patch \
31 endif
32 endif
34 $(eval $(call gb_UnpackedTarball_add_patches,langtag, \
35 $(if $(SYSTEM_LIBXML),,external/liblangtag/langtag-libtool-rpath.patch.0) \
36 external/liblangtag/clang-cl.patch.0 \
39 # vim: set noet sw=4 ts=4: