Skip to content

Commit

Permalink
lang/nim: fix plist
Browse files Browse the repository at this point in the history
 - Fix problems with optional parts of the pkg-plist of lang/nim.
 - Install an extra set of libraries needed by devel/nimble in order to build.

PR:		273482
  • Loading branch information
Neal Nelson authored and clausecker committed Sep 10, 2023
1 parent ab06f81 commit 9fd4b39
Show file tree
Hide file tree
Showing 2 changed files with 455 additions and 438 deletions.
2 changes: 2 additions & 0 deletions lang/nim/Makefile
@@ -1,5 +1,6 @@
PORTNAME= nim
DISTVERSION= 2.0.0
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= https://nim-lang.org/download/

Expand Down Expand Up @@ -80,6 +81,7 @@ do-install:
(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${NIMDIR}/lib "! -name libnimrtl.so")
${MKDIR} ${NIMDIR}/lib/compiler
(cd ${WRKSRC}/compiler && ${COPYTREE_SHARE} . ${NIMDIR}/lib/compiler "! -name nim ! -name nim1")
(cd ${WRKSRC}/dist/checksums && ${COPYTREE_SHARE} . ${NIMDIR}/lib/dist/checksums)
# Configuration files
${MKDIR} ${NIMDIR}/config
.for file in nim.cfg nimdoc.cfg nimdoc.tex.cfg
Expand Down

0 comments on commit 9fd4b39

Please sign in to comment.