Mercurial > mxe-octave
view src/build-autoconf.mk @ 4905:aa24b03ebb89
build-m4: Add patch for glibc >= 2.28 (bug #55214).
* src/build-m4-glibc2-28.patch: Add patch for m4 on systems with glibc >= 2.28.
* dist-files.mk: add ref to patch.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Mon, 10 Dec 2018 21:32:21 +0100 |
parents | 0e56fe2d2ef5 |
children | 2d3ad30acfc0 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := build-autoconf $(PKG)_IGNORE := $(PKG)_VERSION := 2.69 $(PKG)_CHECKSUM := e891c3193029775e83e0534ac0ee0c4c711f6d23 $(PKG)_SUBDIR := autoconf-$($(PKG)_VERSION) $(PKG)_FILE := autoconf-$($(PKG)_VERSION).tar.xz $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/autoconf/$($(PKG)_FILE) $(PKG)_DEPS := ifneq ($(MXE_SYSTEM),msvc) ifneq ($(MXE_NATIVE_MINGW_BUILD),yes) $(PKG)_DEPS += build-m4 endif $(PKG)_DEPS += build-xz endif define $(PKG)_UPDATE $(WGET) -q -O- 'http://ftp.gnu.org/gnu/autoconf/?C=M;O=D' | \ $(SED) -n 's,.*<a href="autoconf-\([0-9\.]*\)\.tar.*,\1,p' | \ $(SORT) -V | \ tail -1 endef define $(PKG)_BUILD mkdir '$(1).build' cd '$(1).build' && '$(1)/configure' \ --prefix='$(BUILD_TOOLS_PREFIX)' $(MAKE) -C '$(1).build' -j '$(JOBS)' $(MAKE) -C '$(1).build' -j 1 install DESTDIR='$(3)' endef