Mercurial > mxe-octave
annotate src/freetds.mk @ 3034:565a86a04c05
Update for native mingw freetds build.
* src/freetds.mk: provide PKG_CONFIG_PATH to configure when native mingw used.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 09 Jun 2013 15:08:26 -0400 |
parents | a542328fc284 |
children | 706c4daf3372 |
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 := |
1949 | 6 $(PKG)_CHECKSUM := 3ab06c8e208e82197dc25d09ae353d9f3be7db52 |
1812
8858af5863d5
package freetds: update and use hosted known version
Mark Brand <mabrand@mabrand.nl>
parents:
1806
diff
changeset
|
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
1949 | 8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
2677
4d6ee6781718
Update freedts url
Jeremy Stephens <viking@pillageandplunder.net>
parents:
2525
diff
changeset
|
9 $(PKG)_URL := ftp://ftp.freetds.org/pub/$(PKG)/stable/$($(PKG)_FILE) |
1684
7f4aeb15a700
package freetds: adjusted configuration
Mark Brand <mabrand@mabrand.nl>
parents:
1128
diff
changeset
|
10 $(PKG)_DEPS := gcc libiconv gnutls |
529
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 define $(PKG)_UPDATE |
1830
867b6165f31d
improved wording in warning messages
Volker Grabsch <vog@notjusthosting.com>
parents:
1821
diff
changeset
|
13 echo 'Warning: Updates are temporarily disabled for package freetds.' >&2; |
1821
303627a5a2de
disable update for package freetds, until their release candidate gets stable reference
Volker Grabsch <vog@notjusthosting.com>
parents:
1819
diff
changeset
|
14 echo $(freetds_VERSION) |
303627a5a2de
disable update for package freetds, until their release candidate gets stable reference
Volker Grabsch <vog@notjusthosting.com>
parents:
1819
diff
changeset
|
15 endef |
303627a5a2de
disable update for package freetds, until their release candidate gets stable reference
Volker Grabsch <vog@notjusthosting.com>
parents:
1819
diff
changeset
|
16 define $(PKG)_UPDATE_orig |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
17 $(WGET) -q -O- 'http://freetds.cvs.sourceforge.net/viewvc/freetds/freetds/' | \ |
529
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 grep '<option>R' | \ |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 $(SED) -n 's,.*R\([0-9][0-9_]*\)<.*,\1,p' | \ |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 $(SED) 's,_,.,g' | \ |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 head -1 |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 endef |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 |
3034
565a86a04c05
Update for native mingw freetds build.
John Donoghue <john.donoghue@ieee.org>
parents:
3022
diff
changeset
|
24 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) |
565a86a04c05
Update for native mingw freetds build.
John Donoghue <john.donoghue@ieee.org>
parents:
3022
diff
changeset
|
25 $(PKG)_CONFIG_OPTS := PKG_CONFIG_PATH='$(PKG_CONFIG_PATH)' |
565a86a04c05
Update for native mingw freetds build.
John Donoghue <john.donoghue@ieee.org>
parents:
3022
diff
changeset
|
26 endif |
565a86a04c05
Update for native mingw freetds build.
John Donoghue <john.donoghue@ieee.org>
parents:
3022
diff
changeset
|
27 |
529
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 define $(PKG)_BUILD |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 cd '$(1)' && ./configure \ |
2997 | 30 $(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
|
31 --prefix='$(HOST_PREFIX)' \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
32 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
529
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
33 --disable-rpath \ |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
34 --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
|
35 $(ENABLE_SHARED_OR_STATIC) \ |
529
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
36 --enable-libiconv \ |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
37 --enable-msdblib \ |
1099
be4292f84a3b
upgrade package freetds to cvs
Mark Brand <mabrand@mabrand.nl>
parents:
935
diff
changeset
|
38 --enable-sspi \ |
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:
759
diff
changeset
|
39 --disable-threadsafe \ |
1684
7f4aeb15a700
package freetds: adjusted configuration
Mark Brand <mabrand@mabrand.nl>
parents:
1128
diff
changeset
|
40 --with-tdsver=7.2 \ |
1691
b5f32ee6dda0
fix broken gnutls detection in package freetds
Volker Grabsch <vog@notjusthosting.com>
parents:
1684
diff
changeset
|
41 --with-gnutls \ |
3034
565a86a04c05
Update for native mingw freetds build.
John Donoghue <john.donoghue@ieee.org>
parents:
3022
diff
changeset
|
42 $($(PKG)_CONFIG_OPTS) \ |
3022
a542328fc284
Update freetds,gnuplot to use MXE_XXXX set tools
John Donoghue <john.donoghue@ieee.org>
parents:
3013
diff
changeset
|
43 PKG_CONFIG='$(MXE_PKG_CONFIG)' |
1128
001b869cef5e
another bugfix for package freetds (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
1126
diff
changeset
|
44 $(MAKE) -C '$(1)' -j '$(JOBS)' install man_MANS= |
529
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
45 endef |