summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/benchmark/Makefile2
-rw-r--r--devel/benchmark/pkg-plist4
2 files changed, 4 insertions, 2 deletions
diff --git a/devel/benchmark/Makefile b/devel/benchmark/Makefile
index 064c1140eeb8..995b3a1107cb 100644
--- a/devel/benchmark/Makefile
+++ b/devel/benchmark/Makefile
@@ -27,4 +27,6 @@ CXXFLAGS_gcc= -Wno-stringop-truncation
BINARY_ALIAS= git=false
+PLIST_SUB= VERSION=${DISTVERSION}
+
.include <bsd.port.mk>
diff --git a/devel/benchmark/pkg-plist b/devel/benchmark/pkg-plist
index f12859869e86..d43e8e819e88 100644
--- a/devel/benchmark/pkg-plist
+++ b/devel/benchmark/pkg-plist
@@ -6,8 +6,8 @@ lib/cmake/benchmark/benchmarkTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/benchmark/benchmarkTargets.cmake
lib/libbenchmark.so
lib/libbenchmark.so.1
-lib/libbenchmark.so.1.7.1
+lib/libbenchmark.so.%%VERSION%%
lib/libbenchmark_main.so
lib/libbenchmark_main.so.1
-lib/libbenchmark_main.so.1.7.1
+lib/libbenchmark_main.so.%%VERSION%%
libdata/pkgconfig/benchmark.pc