aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/sdbus-cpp/Makefile1
-rw-r--r--devel/sdbus-cpp/pkg-plist2
2 files changed, 2 insertions, 1 deletions
diff --git a/devel/sdbus-cpp/Makefile b/devel/sdbus-cpp/Makefile
index 6bdb67d96f42..c704fbe0ab8f 100644
--- a/devel/sdbus-cpp/Makefile
+++ b/devel/sdbus-cpp/Makefile
@@ -22,5 +22,6 @@ GH_ACCOUNT= Kistler-Group
CMAKE_ON= SDBUSCPP_BUILD_CODEGEN
CMAKE_OFF= SDBUSCPP_BUILD_DOCS
CMAKE_TESTING_ON= SDBUSCPP_BUILD_TESTS
+PLIST_SUB= VERSION=${PORTVERSION}
.include <bsd.port.mk>
diff --git a/devel/sdbus-cpp/pkg-plist b/devel/sdbus-cpp/pkg-plist
index a1fbaafc13b7..1c8634ecc104 100644
--- a/devel/sdbus-cpp/pkg-plist
+++ b/devel/sdbus-cpp/pkg-plist
@@ -26,6 +26,6 @@ lib/cmake/sdbus-c++/sdbus-c++-targets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/sdbus-c++/sdbus-c++-targets.cmake
lib/libsdbus-c++.so
lib/libsdbus-c++.so.2
-lib/libsdbus-c++.so.2.0.0
+lib/libsdbus-c++.so.%%VERSION%%
libdata/pkgconfig/sdbus-c++-tools.pc
libdata/pkgconfig/sdbus-c++.pc