From 931d277e9f7db6872299f8b948b7c403d194c9c1 Mon Sep 17 00:00:00 2001 From: Neal Nelson Date: Wed, 19 Apr 2023 17:41:26 +0200 Subject: 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(+) (limited to 'lang/nim') 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 -- cgit v1.2.3