git: 84be3524e7dd - main - devel/google-perftools: Fix plist when PROFILE=OFF

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 12 Mar 2024 01:16:35 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=84be3524e7dd90fee8cfebe008293725d2e0b088

commit 84be3524e7dd90fee8cfebe008293725d2e0b088
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-03-12 01:09:03 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-03-12 01:16:33 +0000

    devel/google-perftools: Fix plist when PROFILE=OFF
    
    PR:             277642
    Reported by:    Christos Chatzaras <chris@cretaforce.gr>
---
 devel/google-perftools/pkg-plist | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/devel/google-perftools/pkg-plist b/devel/google-perftools/pkg-plist
index 0f3036f7154e..a4bca331ec05 100644
--- a/devel/google-perftools/pkg-plist
+++ b/devel/google-perftools/pkg-plist
@@ -6,7 +6,7 @@ include/google/malloc_extension.h
 include/google/malloc_extension_c.h
 include/google/malloc_hook.h
 include/google/malloc_hook_c.h
-include/google/profiler.h
+%%PROFILER%%include/google/profiler.h
 include/google/stacktrace.h
 include/google/tcmalloc.h
 include/gperftools/heap-checker.h
@@ -43,7 +43,7 @@ lib/libtcmalloc_minimal_debug.a
 lib/libtcmalloc_minimal_debug.so
 lib/libtcmalloc_minimal_debug.so.4
 lib/libtcmalloc_minimal_debug.so.4.5.16
-libdata/pkgconfig/libprofiler.pc
+%%PROFILER%%libdata/pkgconfig/libprofiler.pc
 libdata/pkgconfig/libtcmalloc.pc
 libdata/pkgconfig/libtcmalloc_debug.pc
 libdata/pkgconfig/libtcmalloc_minimal.pc