git: cfd9ffcc3874 - main - security/p5-Digest-MD2: Strip shared library

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 27 Apr 2023 15:55:10 UTC
The branch main has been updated by sunpoet:

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

commit cfd9ffcc3874eb8e61c5516d1c9a25de33d30a7f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-27 15:48:19 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-27 15:48:19 +0000

    security/p5-Digest-MD2: Strip shared library
    
    - Bump PORTREVISION for package change
---
 security/p5-Digest-MD2/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/security/p5-Digest-MD2/Makefile b/security/p5-Digest-MD2/Makefile
index b2f7b97f79be..a700a0ecd75a 100644
--- a/security/p5-Digest-MD2/Makefile
+++ b/security/p5-Digest-MD2/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	Digest-MD2
 PORTVERSION=	2.04
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -15,4 +15,7 @@ LICENSE_COMB=	dual
 USES=		perl5
 USE_PERL5=	configure
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Digest/MD2/MD2.so
+
 .include <bsd.port.mk>