Mercurial > mxe-octave
annotate src/guile.mk @ 6354:9d1395334e68
mingw-w64: Handle negative zero input for cacosh (bug #49091).
* src/mingw-w64-complex-inverse-trig.patch: Handle negative zero input for
cacosh.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 05 Aug 2022 19:32:03 +0200 |
parents | 13be64f9f16d |
children |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2308
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. |
844 | 3 |
4 PKG := guile | |
2308
7e3c0c52552f
package guile: increase ignored version to 2.0.5
Tony Theodore <tonyt@logyst.com>
parents:
2153
diff
changeset
|
5 $(PKG)_IGNORE := 2.0.5 |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3048
diff
changeset
|
6 $(PKG)_VERSION := 1.8.7 |
844 | 7 $(PKG)_CHECKSUM := 24cd2f06439c76d41d982a7384fe8a0fe5313b54 |
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE) | |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
11 $(PKG)_DEPS := libtool gmp libiconv gettext libunistring gc libffi readline |
844 | 12 |
13 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
14 $(WGET) -q -O- 'http://git.savannah.gnu.org/gitweb/?p=$(PKG).git;a=tags' | \ |
844 | 15 grep '<a class="list subject"' | \ |
16 $(SED) -n 's,.*<a[^>]*>[^0-9>]*\([0-9][^< ]*\)\.<.*,\1,p' | \ | |
17 head -1 | |
18 endef | |
19 | |
20 define $(PKG)_BUILD | |
937
2d9d50ec94e2
don't use "struct timespec" from <pthreads.h> in package guile
Volker Grabsch <vog@notjusthosting.com>
parents:
935
diff
changeset
|
21 # The setting "scm_cv_struct_timespec=no" ensures that Guile |
2d9d50ec94e2
don't use "struct timespec" from <pthreads.h> in package guile
Volker Grabsch <vog@notjusthosting.com>
parents:
935
diff
changeset
|
22 # won't try to use the "struct timespec" from <pthreads.h>, |
2d9d50ec94e2
don't use "struct timespec" from <pthreads.h> in package guile
Volker Grabsch <vog@notjusthosting.com>
parents:
935
diff
changeset
|
23 # which would fail because we tell Guile not to use Pthreads. |
1666
9c1cb932b77a
package guile: wine confuses native build steps so set CC_FOR_BUILD and --build
Tony Theodore <tonyt@logyst.com>
parents:
937
diff
changeset
|
24 cd '$(1)' && CC_FOR_BUILD=gcc ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
25 $(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
|
26 --prefix='$(HOST_PREFIX)' \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
27 $(ENABLE_SHARED_OR_STATIC) \ |
935
9993be51f18d
disable the use of the buggy Pthreads-w32 library in packages freetds, guile, libmikmod, libshout, libxml2, sqlite, tiff, vorbis and xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
872
diff
changeset
|
28 --without-threads \ |
937
2d9d50ec94e2
don't use "struct timespec" from <pthreads.h> in package guile
Volker Grabsch <vog@notjusthosting.com>
parents:
935
diff
changeset
|
29 scm_cv_struct_timespec=no \ |
1956
ec24966a70b9
packages gnutls p11-kit dlfcn-win32: rollback p11-kit support
Mark Brand <mabrand@mabrand.nl>
parents:
1951
diff
changeset
|
30 LIBS='-lunistring -lintl -liconv' \ |
1700
1749bf309c38
package guile: allow unused vars
Mark Brand <mabrand@mabrand.nl>
parents:
1669
diff
changeset
|
31 CFLAGS='-Wno-unused-but-set-variable' |
864
f7b6430ab3be
don't generate guile-procedures.txt in package guile because this requires a native guile installation
Volker Grabsch <vog@notjusthosting.com>
parents:
860
diff
changeset
|
32 $(MAKE) -C '$(1)' -j '$(JOBS)' schemelib_DATA= |
f7b6430ab3be
don't generate guile-procedures.txt in package guile because this requires a native guile installation
Volker Grabsch <vog@notjusthosting.com>
parents:
860
diff
changeset
|
33 $(MAKE) -C '$(1)' -j 1 install schemelib_DATA= |
844 | 34 |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
35 '$(MXE_CC)' \ |
1707
4e48476ea587
fix compiler errors instead of suppressing them
Volker Grabsch <vog@notjusthosting.com>
parents:
1700
diff
changeset
|
36 -W -Wall -Werror -ansi -pedantic \ |
3014
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
37 '$(2).c' -o '$(HOST_BINDIR)/test-guile.exe' \ |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
38 `'$(MXE_PKG_CONFIG)' guile-1.8 --cflags --libs` |
844 | 39 endef |