Mercurial > mxe-octave
annotate src/gdb.mk @ 5307:904c78a5156c
* src/gdb.mk: update to v9.1
author | John Donoghue |
---|---|
date | Tue, 11 Feb 2020 15:52:38 -0500 |
parents | 5eea3b8e1aed |
children | 01e8a979643f |
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 |
5307 | 5 $(PKG)_VERSION := 9.1 |
6 $(PKG)_CHECKSUM := a50e13e1eecea468ea28c4a23d8c5a84f4db25be | |
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 |