Mercurial > mxe-octave
annotate src/gdb.mk @ 5893:53a6c7df43f8
Mesa 3D: Update to version 21.1.8.
* src/mesa.mk: Update version and checksum.
* src/mesa-2-uninitialized.patch: Remove file.
* dist-files.mk: Remove file from list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 16 Sep 2021 22:37:45 +0200 |
parents | e54cda12b8c9 |
children | 3ba599708f72 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2218
diff
changeset
|
1 # This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
953
05fa138217e2
new package: gdb (by Mark de Wever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
05fa138217e2
new package: gdb (by Mark de Wever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 PKG := gdb |
5758
e54cda12b8c9
* src/gdb.mk: update to v10.2
John Donoghue <john.donoghue@ieee.org>
parents:
5613
diff
changeset
|
5 $(PKG)_VERSION := 10.2 |
e54cda12b8c9
* src/gdb.mk: update to v10.2
John Donoghue <john.donoghue@ieee.org>
parents:
5613
diff
changeset
|
6 $(PKG)_CHECKSUM := 1056e2743a825ecce46ec9eec37f0b357831012b |
2043 | 7 $(PKG)_SUBDIR := gdb-$($(PKG)_VERSION) |
3819 | 8 $(PKG)_FILE := gdb-$($(PKG)_VERSION).tar.xz |
953
05fa138217e2
new package: gdb (by Mark de Wever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE) |
5069
75068ddff45a
* src/gdb.mk: update to v8.3, update backup mirror url
John Donoghue
parents:
4922
diff
changeset
|
10 $(PKG)_URL_2 := https://ftpmirror.gnu.org/$(PKG)/$($(PKG)_FILE) |
3494
fb7ca379f593
gdb.mk: use system readline
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
11 $(PKG)_DEPS := expat libiconv readline zlib |
953
05fa138217e2
new package: gdb (by Mark de Wever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
05fa138217e2
new package: gdb (by Mark de Wever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2451
diff
changeset
|
14 $(WGET) -q -O- 'http://ftp.gnu.org/gnu/gdb/?C=M;O=D' | \ |
953
05fa138217e2
new package: gdb (by Mark de Wever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 $(SED) -n 's,.*<a href="gdb-\([0-9][^"]*\)\.tar.*,\1,p' | \ |
4384 | 16 $(SORT) -V | \ |
17 tail -1 | |
953
05fa138217e2
new package: gdb (by Mark de Wever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 endef |
05fa138217e2
new package: gdb (by Mark de Wever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 |
4682
d49157ddd78f
gdb: don't use $(ENABLE_SHARED_OR_STATIC) in configure options
John W. Eaton <jwe@octave.org>
parents:
4642
diff
changeset
|
20 ## Don't use --disable-static when configuring gdb as that will |
d49157ddd78f
gdb: don't use $(ENABLE_SHARED_OR_STATIC) in configure options
John W. Eaton <jwe@octave.org>
parents:
4642
diff
changeset
|
21 ## disable building the required libbfd.a library. |
d49157ddd78f
gdb: don't use $(ENABLE_SHARED_OR_STATIC) in configure options
John W. Eaton <jwe@octave.org>
parents:
4642
diff
changeset
|
22 |
953
05fa138217e2
new package: gdb (by Mark de Wever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 define $(PKG)_BUILD |
5307 | 24 mkdir '$(1)/.build' |
25 cd '$(1)/.build' && ../configure \ | |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
26 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
27 --prefix='$(HOST_PREFIX)' \ |
3494
fb7ca379f593
gdb.mk: use system readline
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
28 --with-system-readline \ |
1001
4b94e4708014
forge gdb to use Bash instead of the potentially buggy /bin/sh in package gdb (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
953
diff
changeset
|
29 CONFIG_SHELL=$(SHELL) |
5307 | 30 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' |
31 $(MAKE) -C '$(1)/.build' -j 1 install MAKEINFO=true | |
953
05fa138217e2
new package: gdb (by Mark de Wever)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
32 endef |