Date: Wed, 19 Apr 2023 16:42:43 GMT From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= <fernape@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 931d277e9f7d - main - lang/nim: Fix invalid path to documentation in compiler source code Message-ID: <202304191642.33JGghjb022569@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=931d277e9f7db6872299f8b948b7c403d194c9c1 commit 931d277e9f7db6872299f8b948b7c403d194c9c1 Author: Neal Nelson <ports@nicandneal.net> AuthorDate: 2023-04-19 15:41:26 +0000 Commit: Fernando ApesteguĂa <fernape@FreeBSD.org> CommitDate: 2023-04-19 16:37:51 +0000 lang/nim: Fix invalid path to documentation in compiler source code Use /usr/local/share/doc/nim instead of ../doc. PR: 270858 Reported by: thindil@laeran.pl.eu.org --- lang/nim/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lang/nim/Makefile b/lang/nim/Makefile index 311bebdae76d..b283c05d82dd 100644 --- a/lang/nim/Makefile +++ b/lang/nim/Makefile @@ -1,5 +1,6 @@ PORTNAME= nim DISTVERSION= 1.6.12 +PORTREVISION= 2 CATEGORIES= lang MASTER_SITES= https://nim-lang.org/download/ @@ -81,6 +82,7 @@ do-install: # Install nim lib files ${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME} (cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/${PORTNAME} "! -name libnimrtl.so") + ${REINPLACE_CMD} 's|\.\.\/doc|/usr/local/share/doc/nim|g' ${WRKSRC}/compiler/commands.nim ${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/compiler (cd ${WRKSRC}/compiler && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/compiler "! -name nim ! -name nim1") # Configuration files
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304191642.33JGghjb022569>