Mercurial > mxe-octave
annotate src/freetds.mk @ 1830:867b6165f31d
improved wording in warning messages
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 18 May 2011 14:03:44 +0200 |
parents | 303627a5a2de |
children | 2823ea0b25b5 |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
603
diff
changeset
|
1 # This file is part of mingw-cross-env. |
714
29f1ba4559ae
point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents:
641
diff
changeset
|
2 # See doc/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 # FreeTDS |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 PKG := freetds |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
6 $(PKG)_IGNORE := |
1819 | 7 $(PKG)_VERSION := 0.91.dev.20110515RC2 |
8 $(PKG)_CHECKSUM := a73153d9b086220590981c2cb84f4bdddf5058c7 | |
1812
8858af5863d5
package freetds: update and use hosted known version
Mark Brand <mabrand@mabrand.nl>
parents:
1806
diff
changeset
|
9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
8858af5863d5
package freetds: update and use hosted known version
Mark Brand <mabrand@mabrand.nl>
parents:
1806
diff
changeset
|
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
529
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 $(PKG)_WEBSITE := http://www.freetds.org/ |
1812
8858af5863d5
package freetds: update and use hosted known version
Mark Brand <mabrand@mabrand.nl>
parents:
1806
diff
changeset
|
12 $(PKG)_URL := http://bitbucket.org/mabrand/mingw-cross-env/downloads/$($(PKG)_FILE) |
1684
7f4aeb15a700
package freetds: adjusted configuration
Mark Brand <mabrand@mabrand.nl>
parents:
1128
diff
changeset
|
13 $(PKG)_DEPS := gcc libiconv gnutls |
529
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 define $(PKG)_UPDATE |
1830
867b6165f31d
improved wording in warning messages
Volker Grabsch <vog@notjusthosting.com>
parents:
1821
diff
changeset
|
16 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
|
17 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
|
18 endef |
303627a5a2de
disable update for package freetds, until their release candidate gets stable reference
Volker Grabsch <vog@notjusthosting.com>
parents:
1819
diff
changeset
|
19 define $(PKG)_UPDATE_orig |
529
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 wget -q -O- 'http://freetds.cvs.sourceforge.net/viewvc/freetds/freetds/' | \ |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 grep '<option>R' | \ |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 $(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
|
23 $(SED) 's,_,.,g' | \ |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 head -1 |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 endef |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 define $(PKG)_BUILD |
603
bbeb07907607
fix for systems where wine confuses the cross-compiling detection of ./configure
Volker Grabsch <vog@notjusthosting.com>
parents:
559
diff
changeset
|
28 # wine confuses the cross-compiling detection, so set it explicitly |
759
bf4bcb3370fa
changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
29 $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure' |
603
bbeb07907607
fix for systems where wine confuses the cross-compiling detection of ./configure
Volker Grabsch <vog@notjusthosting.com>
parents:
559
diff
changeset
|
30 |
529
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 cd '$(1)' && ./configure \ |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
32 --prefix='$(PREFIX)/$(TARGET)' \ |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
33 --host='$(TARGET)' \ |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
34 --disable-rpath \ |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
35 --disable-dependency-tracking \ |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
36 --disable-shared \ |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
37 --enable-static \ |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
38 --enable-libiconv \ |
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
39 --enable-msdblib \ |
1099
be4292f84a3b
upgrade package freetds to cvs
Mark Brand <mabrand@mabrand.nl>
parents:
935
diff
changeset
|
40 --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
|
41 --disable-threadsafe \ |
1684
7f4aeb15a700
package freetds: adjusted configuration
Mark Brand <mabrand@mabrand.nl>
parents:
1128
diff
changeset
|
42 --with-tdsver=7.2 \ |
1691
b5f32ee6dda0
fix broken gnutls detection in package freetds
Volker Grabsch <vog@notjusthosting.com>
parents:
1684
diff
changeset
|
43 --with-gnutls \ |
b5f32ee6dda0
fix broken gnutls detection in package freetds
Volker Grabsch <vog@notjusthosting.com>
parents:
1684
diff
changeset
|
44 PKG_CONFIG='$(TARGET)-pkg-config' |
1128
001b869cef5e
another bugfix for package freetds (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
1126
diff
changeset
|
45 $(MAKE) -C '$(1)' -j '$(JOBS)' install man_MANS= |
529
aade1560187d
new package: freetds (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
46 endef |