Mercurial > mxe-octave
view src/tiff.mk @ 6335:0825abaf61a7
mingw-w64: Special case for large input for complex inverse trigonometric functions (bug #49091).
* src/mingw-w64-complex-inverse-trig.patch: Add patch for mingw-w64 CRT that
implements a special case for large input for complex inverse trigonometric
functions cacosh and casinh (and therefore functions that are derived from it,
like cacos and casin).
* dist-files.mk: Add new patch to list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 23 Jul 2022 19:00:09 +0200 |
parents | d587e7770bd9 |
children | 8c0c105d9d45 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := tiff $(PKG)_IGNORE := $(PKG)_VERSION := 4.4.0 $(PKG)_CHECKSUM := e11d05db71d243a62800b4bf4479eb4859714405 $(PKG)_SUBDIR := tiff-$($(PKG)_VERSION) $(PKG)_FILE := tiff-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://download.osgeo.org/libtiff/$($(PKG)_FILE) $(PKG)_URL_2 := ftp://ftp.remotesensing.org/libtiff/$($(PKG)_FILE) $(PKG)_DEPS := zlib libjbig jpeg ifneq ($(MXE_SYSTEM),msvc) $(PKG)_DEPS += xz endif define $(PKG)_UPDATE $(WGET) -q -O- 'http://simplesystems.org/libtiff/' | \ $(SED) -n 's,.*>v\([0-9][^<]*\)<.*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' \ --enable-jbig --without-x && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_PROGS) DESTDIR='$(3)' $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) DESTDIR='$(3)' rm -f '$(3)$(HOST_LIBDIR)/libtiff.la' rm -f '$(3)$(HOST_LIBDIR)/libtiffxx.la' endef