Mercurial > mxe-octave
view src/gdb.mk @ 4413:d9eba31bd16b
of-windows: add patch so compiled with octave 4.3.0+
* src/of-windows-1-fixes.patch: new file
* dist-files.mk: add of-windows-1-fixes.patch
* src/of-windows.mk: call autogen on modded configure file
author | John D |
---|---|
date | Tue, 11 Jul 2017 15:07:23 -0400 |
parents | d5a5b8e659de |
children | 966e35ba2610 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := gdb $(PKG)_VERSION := 7.12.1 $(PKG)_CHECKSUM := ef77c5345d6f9fdcdf7a5d8503301242b701936e $(PKG)_SUBDIR := gdb-$($(PKG)_VERSION) $(PKG)_FILE := gdb-$($(PKG)_VERSION).tar.xz $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE) $(PKG)_URL_2 := ftp://ftp.cs.tu-berlin.de/pub/gnu/$(PKG)/$($(PKG)_FILE) $(PKG)_DEPS := expat libiconv readline zlib define $(PKG)_UPDATE $(WGET) -q -O- 'http://ftp.gnu.org/gnu/gdb/?C=M;O=D' | \ $(SED) -n 's,.*<a href="gdb-\([0-9][^"]*\)\.tar.*,\1,p' | \ $(SORT) -V | \ tail -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' \ --with-system-readline \ CONFIG_SHELL=$(SHELL) $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j 1 install MAKEINFO=true endef