git: 931d277e9f7d - main - lang/nim: Fix invalid path to documentation in compiler source code
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Apr 2023 16:42:43 UTC
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