aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2023-05-26 00:27:17 +0000
committerDima Panov <fluffy@FreeBSD.org>2023-05-26 00:27:17 +0000
commita3def2cf30f89b6fd6c36384a1364d13de89392a (patch)
tree387ca84922a3857872f1c7b418bbab2e74cf7f98
parent8170b4444a960298e33d987fe93049c1eada0426 (diff)
downloadports-a3def2cf30f89b6fd6c36384a1364d13de89392a.tar.gz
ports-a3def2cf30f89b6fd6c36384a1364d13de89392a.zip
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
-rw-r--r--security/pam_search_list/Makefile9
1 files 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>