git: 9af6bfc9aad3 - 2023Q3 - devel/sdbus-cpp: unbreak pkg-config support
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Sep 2023 09:05:35 UTC
The branch 2023Q3 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=9af6bfc9aad351cc12012c08bdfc2b525c8293bc commit 9af6bfc9aad351cc12012c08bdfc2b525c8293bc Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-09-05 07:49:17 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-09-05 09:05:07 +0000 devel/sdbus-cpp: unbreak pkg-config support $ pkg-config --libs sdbus-c++ Package libsystemd was not found in the pkg-config search path. Perhaps you should add the directory containing `libsystemd.pc' to the PKG_CONFIG_PATH environment variable Package 'libsystemd', required by 'sdbus-c++', not found (cherry picked from commit 53705c8b604a4ccc55220a9b742aa5a9324c4124) --- devel/sdbus-cpp/Makefile | 1 + devel/sdbus-cpp/files/patch-basu | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/devel/sdbus-cpp/Makefile b/devel/sdbus-cpp/Makefile index 3a0eee41935d..6027d410c826 100644 --- a/devel/sdbus-cpp/Makefile +++ b/devel/sdbus-cpp/Makefile @@ -1,6 +1,7 @@ PORTNAME= sdbus-cpp DISTVERSIONPREFIX= v DISTVERSION= 1.2.0 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= jbeich@FreeBSD.org diff --git a/devel/sdbus-cpp/files/patch-basu b/devel/sdbus-cpp/files/patch-basu index b31aa3a37623..6688ad309939 100644 --- a/devel/sdbus-cpp/files/patch-basu +++ b/devel/sdbus-cpp/files/patch-basu @@ -21,6 +21,17 @@ libsystemd is Linux-only, so replace with basu message(STATUS "Building with libsystemd v${LIBSYSTEMD_VERSION}") else() # Build static libsystemd library as an external project +--- pkgconfig/sdbus-c++.pc.in.orig 2021-10-25 07:02:37 UTC ++++ pkgconfig/sdbus-c++.pc.in +@@ -5,7 +5,7 @@ Description: C++ library on top of sd-bus, a systemd D + + Name: @PROJECT_NAME@ + Description: C++ library on top of sd-bus, a systemd D-Bus library +-Requires: libsystemd ++Requires: basu + Version: @SDBUSCPP_VERSION@ + Libs: -L${libdir} -l@PROJECT_NAME@ + Cflags: -I${includedir} --- src/Connection.cpp.orig 2021-10-25 07:02:37 UTC +++ src/Connection.cpp @@ -30,7 +30,7 @@