Mercurial > mxe-octave
annotate src/freetds.mk @ 5177:64f1d5ad3a5a
* src/freetds.mk: update to v1.1.17
author | John Donoghue |
---|---|
date | Thu, 10 Oct 2019 08:40:46 -0400 |
parents | 35249dc96f3b |
children | 15201244e996 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2153
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. |
529
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 PKG := freetds |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
5177 | 6 $(PKG)_VERSION := 1.1.17 |
7 $(PKG)_CHECKSUM := d6ba34a5a6d9ee617100424517a6aa235a433b45 | |
1812
8858af5863d5
package freetds: update and use hosted known version
Mark Brand <mabrand@mabrand.nl>
parents:
1806
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
1949 | 9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
2677
4d6ee6781718
Update freedts url
Jeremy Stephens <viking@pillageandplunder.net>
parents:
2525
diff
changeset
|
10 $(PKG)_URL := ftp://ftp.freetds.org/pub/$(PKG)/stable/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3040
diff
changeset
|
11 $(PKG)_DEPS := libiconv gnutls |
529
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
4344 | 13 $(PKG)_CONFIG_OPTS := |
14 ifeq ($(MXE_WINDOWS_BUILD),yes) | |
15 $(PKG)_CONFIG_OPTS += --disable-threadsafe | |
16 endif | |
17 | |
529
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 define $(PKG)_UPDATE |
4571 | 19 $(WGET) -q -O- 'ftp://ftp.freetds.org/pub/freetds/stable/' | \ |
20 $(SED) -n 's,.*freetds-\([0-9.]*\)\.tar.*,\1,p' | \ | |
21 $(SORT) -V | \ | |
22 tail -1 | |
529
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 endef |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 define $(PKG)_BUILD |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 cd '$(1)' && ./configure \ |
2997 | 27 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2997
diff
changeset
|
28 --prefix='$(HOST_PREFIX)' \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
29 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
529
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 --disable-rpath \ |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 --disable-dependency-tracking \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2677
diff
changeset
|
32 $(ENABLE_SHARED_OR_STATIC) \ |
4344 | 33 $($(PKG)_CONFIG_OPTS) \ |
529
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
34 --enable-libiconv \ |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
35 --enable-msdblib \ |
1099
be4292f84a3b
upgrade package freetds to cvs
Mark Brand <mabrand@mabrand.nl>
parents:
935
diff
changeset
|
36 --enable-sspi \ |
1684
7f4aeb15a700
package freetds: adjusted configuration
Mark Brand <mabrand@mabrand.nl>
parents:
1128
diff
changeset
|
37 --with-tdsver=7.2 \ |
1691
b5f32ee6dda0
fix broken gnutls detection in package freetds
Volker Grabsch <vog@notjusthosting.com>
parents:
1684
diff
changeset
|
38 --with-gnutls \ |
3034
565a86a04c05
Update for native mingw freetds build.
John Donoghue <john.donoghue@ieee.org>
parents:
3022
diff
changeset
|
39 $($(PKG)_CONFIG_OPTS) \ |
3022
a542328fc284
Update freetds,gnuplot to use MXE_XXXX set tools
John Donoghue <john.donoghue@ieee.org>
parents:
3013
diff
changeset
|
40 PKG_CONFIG='$(MXE_PKG_CONFIG)' |
4951 | 41 $(MAKE) -C '$(1)' -j '$(JOBS)' install $(MXE_DISABLE_DOCS) TARGET_DOCDIR='$(1)' |
529
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
42 endef |