Mercurial > mxe-octave
annotate src/dbus.mk @ 4774:1a72a54ee8c4
dbus: set localstatedir to /var
This variable appears to only be used for findint the machine-id
file. We want to look in /var and, as a fallback /etc, not some
directory under --prefix.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 23 Jul 2018 14:10:57 -0400 |
parents | 7e8c6bb47c21 |
children | 4c5a70572b2b |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2255
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. |
1530 | 3 |
4 PKG := dbus | |
5 $(PKG)_IGNORE := | |
4016 | 6 $(PKG)_VERSION := 1.10.0 |
7 $(PKG)_CHECKSUM := eec3c798633f623e960eb1d9f93b47648f389443 | |
1530 | 8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := http://$(PKG).freedesktop.org/releases/$(PKG)/$($(PKG)_FILE) | |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
11 $(PKG)_DEPS := expat |
1530 | 12 |
13 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
14 $(WGET) -q -O- 'http://cgit.freedesktop.org/dbus/dbus/refs/tags' | \ |
4558 | 15 $(SED) -n "s,.*<a href='[^']*/tag/?h=[^0-9]*\\([0-9][^']*\\)'.*,\\1,p" | \ |
1885
36d9d04b0510
update packages: dbus fltk imagemagick x264
Mark Brand <mabrand@mabrand.nl>
parents:
1880
diff
changeset
|
16 grep -v '^1\.[01234]\.' | \ |
1530 | 17 head -1 |
18 endef | |
19 | |
20 define $(PKG)_BUILD | |
2237
f11367e37e86
package dbus: don't need to call automake anymore
Mark Brand <mabrand@mabrand.nl>
parents:
2002
diff
changeset
|
21 cd '$(1)' && ./configure \ |
2997 | 22 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
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) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2997
diff
changeset
|
24 --prefix='$(HOST_PREFIX)' \ |
4774
1a72a54ee8c4
dbus: set localstatedir to /var
John W. Eaton <jwe@octave.org>
parents:
4558
diff
changeset
|
25 --localstatedir=/var \ |
1530 | 26 --with-xml=expat \ |
27 --disable-tests \ | |
28 --disable-verbose-mode \ | |
29 --disable-asserts \ | |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2793
diff
changeset
|
30 $(ENABLE_SHARED_OR_STATIC) \ |
2647
0c267ecd6ee6
package dbus: misc improvements
Mark Brand <mabrand@mabrand.nl>
parents:
2646
diff
changeset
|
31 --disable-maintainer-mode \ |
3108
acee522701c0
[MSVC] enable dbus compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
32 --disable-silent-rules \ |
3264 | 33 --disable-launchd \ |
3234
13f5573c98ca
disable doxygen docs for dbus build
John W. Eaton <jwe@octave.org>
parents:
3108
diff
changeset
|
34 --disable-doxygen-docs \ |
3264 | 35 --disable-xml-docs \ |
36 CFLAGS='-DPROCESS_QUERY_LIMITED_INFORMATION=0x1000' \ | |
3108
acee522701c0
[MSVC] enable dbus compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
37 && $(CONFIGURE_POST_HOOK) |
4302 | 38 $(MAKE) -C '$(1)' -j '$(JOBS)' install $(MXE_DISABLE_DOCS) DESTDIR='$(3)' |
1530 | 39 endef |