Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2022 06:11:05 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 41c66732c1b6 - main - math/gap: Strip binary; Remove unnecessary include bsd.port.options.mk
Message-ID:  <202210110611.29B6B5Mq026631@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit 41c66732c1b607f5cb4b73b5165e6205e1c0263f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-10-11 05:34:05 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-11 06:10:57 +0000

    math/gap: Strip binary; Remove unnecessary include bsd.port.options.mk
---
 math/gap/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/math/gap/Makefile b/math/gap/Makefile
index 601b69eb4b6b..301f685db884 100644
--- a/math/gap/Makefile
+++ b/math/gap/Makefile
@@ -31,8 +31,6 @@ MAKEFILE=	GNUmakefile
 
 ACLOCVER=	1.16	# Truncated version of aclocal / automake
 
-.include <bsd.port.options.mk>
-
 pre-configure:
 # Avoid conflict with C++20 <version> by ignoring <...> under WRKSRC
 	${REINPLACE_CMD} -i .c++20 's/-I/-iquote/' \
@@ -55,6 +53,8 @@ post-install:
 	cd ${WRKSRC} && ${COPYTREE_SHARE} pkg ${STAGEDIR}${DATADIR}
 	# remove redundant files
 	${RM} ${STAGEDIR}${DATADIR}/pkg/patternclass/lib/.DS_Store
+	# strip binary
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgap.so.8.0.0
 
 do-test:
 	@cd ${WRKSRC} && ./gap ${FILESDIR}/test.g



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210110611.29B6B5Mq026631>