annotate src/log4cxx.mk @ 6161:8fcac4d6d983 release

of-queueing: Fix syntax error with Octave 7 (bug #62314). * src/of-queueing-1-octave7.patch: Add new file. * dist-files.mk: Include new patch.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 14 Apr 2022 19:27:13 +0200
parents 13be64f9f16d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2469
51a4ed33302d various packages: fix references to mingw-cross-env and doc/index.html
Tony Theodore <tonyt@logyst.com>
parents: 2466
diff changeset
1 # This file is part of MXE.
51a4ed33302d various packages: fix references to mingw-cross-env and doc/index.html
Tony Theodore <tonyt@logyst.com>
parents: 2466
diff changeset
2 # See index.html for further information.
2465
c5d8bb3beb28 new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff changeset
3
c5d8bb3beb28 new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff changeset
4 PKG := log4cxx
c5d8bb3beb28 new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.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 := 0.10.0
2465
c5d8bb3beb28 new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff changeset
7 $(PKG)_CHECKSUM := d79c053e8ac90f66c5e873b712bb359fd42b648d
c5d8bb3beb28 new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := apache-log4cxx-$($(PKG)_VERSION)
c5d8bb3beb28 new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff changeset
9 $(PKG)_FILE := apache-log4cxx-$($(PKG)_VERSION).tar.gz
2466
a7a203db74c5 packages apr, apr-util, log4cxx: various changes and add log4cxx test program
Tony Theodore <tonyt@logyst.com>
parents: 2465
diff changeset
10 $(PKG)_URL := http://apache.naggo.co.kr/logging/log4cxx/0.10.0/$($(PKG)_FILE)
2465
c5d8bb3beb28 new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff changeset
11 $(PKG)_URL_2 := http://apache.mirror.cdnetworks.com//logging/log4cxx/0.10.0/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
12 $(PKG)_DEPS := apr-util
2465
c5d8bb3beb28 new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff changeset
13
2466
a7a203db74c5 packages apr, apr-util, log4cxx: various changes and add log4cxx test program
Tony Theodore <tonyt@logyst.com>
parents: 2465
diff changeset
14 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2508
diff changeset
15 $(WGET) -q -O- 'http://logging.apache.org/log4cxx/download.html' | \
2466
a7a203db74c5 packages apr, apr-util, log4cxx: various changes and add log4cxx test program
Tony Theodore <tonyt@logyst.com>
parents: 2465
diff changeset
16 $(SED) -n 's,.*log4cxx-\([0-9.]*\)\.tar.*,\1,p' | \
a7a203db74c5 packages apr, apr-util, log4cxx: various changes and add log4cxx test program
Tony Theodore <tonyt@logyst.com>
parents: 2465
diff changeset
17 head -1
a7a203db74c5 packages apr, apr-util, log4cxx: various changes and add log4cxx test program
Tony Theodore <tonyt@logyst.com>
parents: 2465
diff changeset
18 endef
2465
c5d8bb3beb28 new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff changeset
19
c5d8bb3beb28 new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff changeset
20 define $(PKG)_BUILD
c5d8bb3beb28 new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff changeset
21 cd '$(1)' && ./configure \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
22 --prefix='$(HOST_PREFIX)' \
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) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
25 --with-apr='$(HOST_PREFIX)' \
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
26 --with-apr-util='$(HOST_PREFIX)' \
2465
c5d8bb3beb28 new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff changeset
27 CFLAGS=-D_WIN32_WINNT=0x0500 \
2466
a7a203db74c5 packages apr, apr-util, log4cxx: various changes and add log4cxx test program
Tony Theodore <tonyt@logyst.com>
parents: 2465
diff changeset
28 CXXFLAGS=-D_WIN32_WINNT=0x0500
2480
1efe881c8227 package log4cxx: disable parallel build and quote paths
Tony Theodore <tonyt@logyst.com>
parents: 2471
diff changeset
29 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS=
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
30 mkdir -p '$(HOST_PREFIX)/share/cmake/log4cxx'
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
31 cp '$(1)/log4cxx-config.cmake' '$(HOST_PREFIX)/share/cmake/log4cxx/log4cxx-config.cmake'
2466
a7a203db74c5 packages apr, apr-util, log4cxx: various changes and add log4cxx test program
Tony Theodore <tonyt@logyst.com>
parents: 2465
diff changeset
32
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
33 '$(MXE_CXX)' \
2466
a7a203db74c5 packages apr, apr-util, log4cxx: various changes and add log4cxx test program
Tony Theodore <tonyt@logyst.com>
parents: 2465
diff changeset
34 -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
35 '$(2).cpp' -o '$(HOST_BINDIR)/test-log4cxx.exe' \
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
36 `$(MXE_PKG_CONFIG) liblog4cxx --libs`
2465
c5d8bb3beb28 new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff changeset
37 endef