git: a3def2cf30f8 - main - security/pam_search_list: unbreak packaging (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Fri, 26 May 2023 00:32:24 UTC
The branch main has been updated by fluffy:

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

commit a3def2cf30f89b6fd6c36384a1364d13de89392a
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2023-05-26 00:27:17 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2023-05-26 00:27:17 +0000

    security/pam_search_list: unbreak packaging (+)
    
    Profiled static libraries are not building by default a long time ago.
    
    Convert profiling to OPTION, off by default to mimic modern behavior.
    
    Reported by:    poudriere failure
    Approved by:    portmgr blanket
---
 security/pam_search_list/Makefile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/security/pam_search_list/Makefile b/security/pam_search_list/Makefile
index 2b3579e09f27..1722818c728a 100644
--- a/security/pam_search_list/Makefile
+++ b/security/pam_search_list/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pam_search_list
 PORTVERSION=	0.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	SF/${PORTNAME:S/_/-/g}
 DISTNAME=	${PORTNAME:S/_/-/g}-${PORTVERSION}
@@ -16,8 +16,9 @@ PLIST_FILES=	lib/libpam_search_list.a \
 		lib/pam_search_list.so.0 \
 		man/man8/pam_search_list.8.gz
 
-.if !defined(NO_PROFILE)
-PLIST_FILES+=	lib/libpam_search_list_p.a
-.endif
+OPTIONS_DEFINE=	PROFILE
+
+PROFILE_MAKE_ENV=	MK_PROFILE=yes
+PROFILE_PLIST_FILES=	lib/libpam_search_list_p.a
 
 .include <bsd.port.mk>