git: 855d85e242e3 - main - devel/benchmark: Use version tag in plist
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Nov 2022 11:57:12 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=855d85e242e301963e0141aa2a7866c34d728f0b commit 855d85e242e301963e0141aa2a7866c34d728f0b Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-11-19 10:14:21 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-11-19 11:57:09 +0000 devel/benchmark: Use version tag in plist Suggested by: sunpoet@ --- devel/benchmark/Makefile | 2 ++ devel/benchmark/pkg-plist | 4 ++-- 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