annotate src/xerces.mk @ 5893:53a6c7df43f8

Mesa 3D: Update to version 21.1.8. * src/mesa.mk: Update version and checksum. * src/mesa-2-uninitialized.patch: Remove file. * dist-files.mk: Remove file from list.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 16 Sep 2021 22:37:45 +0200
parents 13be64f9f16d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 1454
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.
551
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := xerces
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
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 := 3.1.1
924
75f1899e6022 update package xerces (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents: 769
diff changeset
7 $(PKG)_CHECKSUM := 177ec838c5119df57ec77eddec9a29f7e754c8b2
551
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := xerces-c-$($(PKG)_VERSION)
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_FILE := xerces-c-$($(PKG)_VERSION).tar.gz
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_URL := http://apache.linux-mirror.org/xerces/c/$(word 1,$(subst ., ,$($(PKG)_VERSION)))/sources/$($(PKG)_FILE)
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_URL_2 := http://www.apache.org/dist/xerces/c/$(word 1,$(subst ., ,$($(PKG)_VERSION)))/sources/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
12 $(PKG)_DEPS := libiconv curl
551
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
15 $(WGET) -q -O- 'http://www.apache.org/dist/xerces/c/3/sources/?C=M;O=D' | \
925
b16546bc4b07 improved version recognition of package xerces
Volker Grabsch <vog@notjusthosting.com>
parents: 924
diff changeset
16 $(SED) -n 's,.*<a href="xerces-c-\([0-9][^"]*\)\.tar.*,\1,p' | \
567
22af4af31e80 avoid rc (release candidate) versions of package xerces
Volker Grabsch <vog@notjusthosting.com>
parents: 553
diff changeset
17 grep -v rc | \
551
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 head -1
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
1181
c807edd4158c bugfix for package xerces
Volker Grabsch <vog@notjusthosting.com>
parents: 1139
diff changeset
22 cd '$(1)' && CONFIG_SHELL='$(SHELL)' ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2525
diff changeset
24 $(ENABLE_SHARED_OR_STATIC) \
1081
5a29ddfd25e8 increase portability of package xerces by disabling SSE2
Volker Grabsch <vog@notjusthosting.com>
parents: 1080
diff changeset
25 --disable-sse2 \
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)' \
551
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --enable-libtool-lock \
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --disable-pretty-make \
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: 925
diff changeset
29 --disable-threads \
551
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 --enable-network \
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 --enable-netaccessor-curl \
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 --disable-netaccessor-socket \
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 --disable-netaccessor-cfurl \
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 --disable-netaccessor-winsock \
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
35 --enable-transcoder-iconv \
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
36 --disable-transcoder-gnuiconv \
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
37 --disable-transcoder-icu \
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
38 --disable-transcoder-macosunicodeconverter \
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
39 --disable-transcoder-windows \
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
40 --enable-msgloader-inmemory \
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
41 --disable-msgloader-iconv \
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
42 --disable-msgloader-icu \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
43 --with-curl='$(HOST_PREFIX)' \
551
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
44 --without-icu \
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
45 LIBS="`$(MXE_PKG_CONFIG) --libs libcurl`"
551
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
46 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
47 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
1077
1d5c719ec98a test program for package xerces
Volker Grabsch <vog@notjusthosting.com>
parents: 935
diff changeset
48
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
49 '$(MXE_CXX)' \
1078
7c2212494395 bugfix: compile the test program of package xerces with stricter compiler flags
Volker Grabsch <vog@notjusthosting.com>
parents: 1077
diff changeset
50 -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
51 '$(2).cpp' -o '$(HOST_BINDIR)/test-xerces.exe' \
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
52 `'$(MXE_PKG_CONFIG)' xerces-c --cflags --libs`
551
359d61d7cb6d new package: xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
53 endef