git: e23124d6aad4 - main - math/p5-Math-Pari: Strip shared library

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 03 Feb 2025 16:09:02 UTC
The branch main has been updated by sunpoet:

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

commit e23124d6aad406effa6fd48ba36ce8b7d912793e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-02-03 15:32:15 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-02-03 15:54:07 +0000

    math/p5-Math-Pari: Strip shared library
    
    - Use PREFIX/SITE_ARCH_REL instead of SITE_ARCH
    - Bump PORTREVISION for package change
---
 math/p5-Math-Pari/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/math/p5-Math-Pari/Makefile b/math/p5-Math-Pari/Makefile
index 2323b2a8dcef..c2bd83eabdc9 100644
--- a/math/p5-Math-Pari/Makefile
+++ b/math/p5-Math-Pari/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	Math-Pari
 PORTVERSION=	2.01080900
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	math perl5
 MASTER_SITES=	CPAN  \
 		http://pari.math.u-bordeaux.fr/pub/pari/unix/OLD/2.3/:pari \
@@ -66,7 +66,8 @@ pre-build:
 	cd ${PARI_WRKSRC} && ln -s $$(dirname $$(readlink gp)) build
 
 post-install:
-	${INSTALL_LIB} ${PARI_WRKSRC}/build/libpari-gmp.so.2.3.5 ${STAGEDIR}${SITE_ARCH}/auto/Math/Pari
-	${LN} -s libpari-gmp.so.2.3.5 ${STAGEDIR}${SITE_ARCH}/auto/Math/Pari/libpari-gmp.so.2
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/Pari/Pari.so
+	${INSTALL_LIB} ${PARI_WRKSRC}/build/libpari-gmp.so.2.3.5 ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/Pari
+	${LN} -s libpari-gmp.so.2.3.5 ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/Pari/libpari-gmp.so.2
 
 .include <bsd.port.mk>