diff --git a/devel/dbus/Makefile b/devel/dbus/Makefile index 85560d8f6ccd..eaae62484f93 100644 --- a/devel/dbus/Makefile +++ b/devel/dbus/Makefile @@ -1,85 +1,86 @@ PORTNAME= dbus DISTVERSION= 1.16.2 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= devel gnome MASTER_SITES= https://dbus.freedesktop.org/releases/dbus/ MAINTAINER= desktop@FreeBSD.org COMMENT= Message bus system for inter-application communication WWW= https://www.freedesktop.org/Software/dbus LICENSE= GPLv2 LIB_DEPENDS= libexpat.so:textproc/expat2 USES= cpe libtool localbase meson pkgconfig python:build \ shebangfix tar:xz CPE_VENDOR= d-bus_project CPE_PRODUCT= d-bus USE_LDCONFIG= yes USE_RC_SUBR= dbus SHEBANG_FILES= tools/GetAllMatchRules.py \ tools/build-timestamp.py MESON_ARGS= -Dkqueue=enabled \ -Dapparmor=disabled \ -Ddoxygen_docs=disabled \ -Dducktype_docs=disabled \ -Depoll=disabled \ -Dinotify=disabled \ -Dlaunchd=disabled \ -Dlibaudit=disabled \ -Dmodular_tests=disabled \ -Dqt_help=disabled \ -Dselinux=disabled \ -Dsystemd=disabled \ -Druntime_dir=/var/run \ -Dsession_socket_dir=/tmp \ -Dtest_socket_dir=${WRKDIR} BINARY_ALIAS= python3=${PYTHON_CMD} PORTSCOUT= limitw:1,even USERS= messagebus GROUPS= messagebus _LIBVERSION= 3.38.3 OPTIONS_SUB= yes PLIST_SUB= GROUPS=${GROUPS} \ VERSION="1.0" \ LIBVERSION=${_LIBVERSION} PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES MANPAGES X11 OPTIONS_DEFAULT= MANPAGES X11 MANPAGES_BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl MANPAGES_USES= gnome MANPAGES_USE= gnome=libxslt:build MANPAGES_MESON_ENABLED= xml_docs X11_DESC= Support X11 Desktop Environments X11_USES= xorg X11_USE= XORG=ice,sm,x11 X11_MESON_ENABLED= x11_autolaunch post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/dbus/dbus-sysdeps-util-unix.c post-install: ${MV} ${STAGEDIR}${DOCSDIR}/examples ${STAGEDIR}${EXAMPLESDIR} .for file in session.conf system.conf @cd ${STAGEDIR}${ETCDIR}-1/ && \ ${MV} ${file} ${file}.sample .endfor .include .if ${OSVERSION} < 1400000 MESON_ARGS+= -Db_lundef=false .endif .include diff --git a/devel/dbus/files/patch-cmake_DBus1Config.pkgconfig.in b/devel/dbus/files/patch-cmake_DBus1Config.pkgconfig.in new file mode 100644 index 000000000000..6d0815cc2984 --- /dev/null +++ b/devel/dbus/files/patch-cmake_DBus1Config.pkgconfig.in @@ -0,0 +1,11 @@ +--- cmake/DBus1Config.pkgconfig.in.orig 2025-02-27 16:29:06 UTC ++++ cmake/DBus1Config.pkgconfig.in +@@ -8,7 +8,7 @@ + # [1] This variable is not required if DBus1_LIBRARIES is added + # to a target with target_link_libraries + +-get_filename_component(DBus1_PKGCONFIG_DIR "${CMAKE_CURRENT_LIST_DIR}/../../pkgconfig" ABSOLUTE) ++get_filename_component(DBus1_PKGCONFIG_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../libdata/pkgconfig" ABSOLUTE) + get_filename_component(DBus1_NEARBY_ARCH_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}/../../dbus-1.0/include" ABSOLUTE) + find_package(PkgConfig) + if(DEFINED ENV{PKG_CONFIG_DIR})