Mercurial > mxe-octave
annotate src/guile.mk @ 2525:4d0f3a9da57e
all packages: use $(WGET) portability variable
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Wed, 09 May 2012 01:16:05 +1000 |
parents | b5321bdec505 |
children | 47558e958113 |
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 |
844 | 6 $(PKG)_CHECKSUM := 24cd2f06439c76d41d982a7384fe8a0fe5313b54 |
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
9 $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE) | |
1956
ec24966a70b9
packages gnutls p11-kit dlfcn-win32: rollback p11-kit support
Mark Brand <mabrand@mabrand.nl>
parents:
1951
diff
changeset
|
10 $(PKG)_DEPS := gcc libtool gmp libiconv gettext libunistring gc libffi readline |
844 | 11 |
12 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
13 $(WGET) -q -O- 'http://git.savannah.gnu.org/gitweb/?p=$(PKG).git;a=tags' | \ |
844 | 14 grep '<a class="list subject"' | \ |
15 $(SED) -n 's,.*<a[^>]*>[^0-9>]*\([0-9][^< ]*\)\.<.*,\1,p' | \ | |
16 head -1 | |
17 endef | |
18 | |
19 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
|
20 # 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
|
21 # 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
|
22 # 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
|
23 cd '$(1)' && CC_FOR_BUILD=gcc ./configure \ |
844 | 24 --host='$(TARGET)' \ |
2153
e4c83fa61a5b
replaced $(BUILD) with a more direct and less brittle construct
Volker Grabsch <vog@notjusthosting.com>
parents:
2147
diff
changeset
|
25 --build="`config.guess`" \ |
844 | 26 --prefix='$(PREFIX)/$(TARGET)' \ |
27 --disable-shared \ | |
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 |
35 '$(TARGET)-gcc' \ | |
1707
4e48476ea587
fix compiler errors instead of suppressing them
Volker Grabsch <vog@notjusthosting.com>
parents:
1700
diff
changeset
|
36 -W -Wall -Werror -ansi -pedantic \ |
844 | 37 '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-guile.exe' \ |
38 `'$(TARGET)-pkg-config' guile-1.8 --cflags --libs` | |
39 endef |