Date: Wed, 16 Feb 2022 09:33:10 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: f00ef1df14f1 - main - math/gap: Correct paths in sysinfo.gap Message-ID: <202202160933.21G9XAr4080682@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=f00ef1df14f1d23e59ab6986600157aa0055340b commit f00ef1df14f1d23e59ab6986600157aa0055340b Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-02-16 09:31:47 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-02-16 09:33:08 +0000 math/gap: Correct paths in sysinfo.gap Paths contained the build directory. Approved by: portmgr (unbreak) --- math/gap/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/math/gap/Makefile b/math/gap/Makefile index ce19ff57f0a4..f2f7db23b718 100644 --- a/math/gap/Makefile +++ b/math/gap/Makefile @@ -2,6 +2,7 @@ PORTNAME= gap DISTVERSION= 4.11.1 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= https://github.com/gap-system/gap/releases/download/v${DISTVERSION}/ @@ -93,5 +94,10 @@ post-install: .for p in ${MINPACK} ${ADD_PACK} (cd ${WRKSRC}/pkg && ${CP} -R $$(ls -d ${p}*) ${STAGEDIR}${DATADIR}/pkg/) .endfor + # correct paths in sysinfo.gap + ${REINPLACE_CMD} -i '' -e ' \ + s|^GAP_BIN_DIR=.*|GAP_BIN_DIR="${PREFIX}/bin"|; \ + s|^GAP_LIB_DIR=.*|GAP_LIB_DIR="${PREFIX}/lib"|; \ + ' ${STAGEDIR}${DATADIR}/sysinfo.gap .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202160933.21G9XAr4080682>