4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
23 # Copyright (c) 2016, 2023, Oracle and/or its affiliates.
27 USE_PARALLEL_BUILD
= yes
28 USE_DEFAULT_TEST_TRANSFORMS
= yes
29 include ..
/..
/..
/make-rules
/shared-macros.mk
32 COMPONENT_VERSION
= 1.14.10
34 COMPONENT_SUMMARY
= Simple IPC library based on messages
35 COMPONENT_PROJECT_URL
= https
://dbus.freedesktop.org
36 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
37 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
38 COMPONENT_ARCHIVE_HASH
= sha256
:ba1f21d2bd9d339da2d4aa8780c09df32fea87998b73da24f49ab9df1e36a50f
39 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/releases
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
40 COMPONENT_SIG_URL
= $(COMPONENT_ARCHIVE_URL
).asc
41 COMPONENT_FMRI
= system
/library
/dbus
42 COMPONENT_CLASSIFICATION
= System
/Services
43 COMPONENT_LICENSE
= dbus
, GPLv2
45 # https://release-monitoring.org/api/project/$(COMPONENT_ANITYA_ID) will answer a JSON object with project information
46 COMPONENT_ANITYA_ID
= 5356
48 include $(WS_MAKE_RULES
)/common.mk
50 # Needed for "gmake test" to work successfully.
53 # Will break parallel 32/64-bit builds; needs update when that happens.
54 CONFIGURE_BINDIR
.32 = $(CONFIGURE_PREFIX
)/bin
56 CONFIGURE_OPTIONS
+= --sysconfdir
=$(ETCDIR
)
57 CONFIGURE_OPTIONS
+= --with-dbus-daemondir
=$(USRLIBEXECDIR
)
58 CONFIGURE_OPTIONS
+= --with-dbus-user
=root
59 CONFIGURE_OPTIONS
+= --libexecdir
=$(USRLIBEXECDIR
)
60 CONFIGURE_OPTIONS
+= --localstatedir
=$(VARDIR
)
61 CONFIGURE_OPTIONS
+= --disable-static
62 CONFIGURE_OPTIONS
+= --enable-xml-docs
# needs text/xmlto
63 CONFIGURE_OPTIONS
+= --enable-doxygen-docs
# needs developer/documentation-tool/doxygen
64 CONFIGURE_OPTIONS
+= --enable-evports
65 CONFIGURE_OPTIONS
+= --enable-year2038
66 # enable-tests activates more tests but is said to be unsafe for deployments. Thus, we don't use it here.
67 #CONFIGURE_OPTIONS += --enable-tests
69 # Makefile.am files of this component are not compatible with Solaris make.
70 # Use GNU make to avoid the configuration error when makefile fragments are processed.
71 CONFIGURE_OPTIONS
+= MAKE
=$(GMAKE
)
73 # GNU Build System files have to be regenerated for automake 1.16.
74 # It can be removed when the upstream starts to use a newer automake version.
75 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && PATH
="$(PATH)" autoreconf
-fiv
)
77 # Manually added build dependencies
78 REQUIRED_PACKAGES
+= developer
/build
/autoconf-archive
79 REQUIRED_PACKAGES
+= developer
/documentation-tool
/doxygen
80 REQUIRED_PACKAGES
+= developer
/documentation-tool
/gtk-doc
81 REQUIRED_PACKAGES
+= text
/xmlto
83 # Auto-generated dependencies
84 REQUIRED_PACKAGES
+= SUNWcs
85 REQUIRED_PACKAGES
+= library
/expat
86 REQUIRED_PACKAGES
+= shell/ksh93
87 REQUIRED_PACKAGES
+= system
/library
88 REQUIRED_PACKAGES
+= x11
/library
/libx11