git: 49f2f609dc40 - main - sysutils/keyd: strip non-debug symbols by default

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 29 Jul 2022 17:56:18 UTC
The branch main has been updated by jbeich:

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

commit 49f2f609dc4039a1b96b3fc563212ea9c701d220
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-07-29 17:53:15 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-07-29 17:54:46 +0000

    sysutils/keyd: strip non-debug symbols by default
    
    ====> Running Q/A tests (stage-qa)
    Warning: 'bin/keyd' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
---
 sysutils/keyd/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sysutils/keyd/Makefile b/sysutils/keyd/Makefile
index 54ce63bceb17..643615ba0b92 100644
--- a/sysutils/keyd/Makefile
+++ b/sysutils/keyd/Makefile
@@ -54,4 +54,7 @@ post-patch:
 	@${REINPLACE_CMD} -e 's,__FreeBSD,&_disabled,' \
 		${WRKSRC}/src/vkbd/uinput.c
 
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
 .include <bsd.port.mk>