pkgsrc/lang/nim/Makefile
ryoon 54b7a6e427 Update to 1.0.2
Changelog:
v1.0.2 - 2019-10-23
Bugfixes

    fixes the --verbosity:2 regression
    Fixed "Fail to compile a file twice under Windows (v1.0 bug)." #12242
    fix nimpretty removing space before pragma
    JS: gensym is stricter for 'this'
    Fixed "VM Assertion Error with newruntime" #12294
    Fixed "Assertion error when running nim check on compiler/nim.nim" #12281
    Fixed "Compiler crash with empty array and generic instantiation with int as parameter" #12264
    Fixed "Regression in JS backend codegen "Error: request to generate code for .compileTime proc"" #12240
    Fix how relativePath handle case sensitiviy
    Fixed "SIGSEGV in compiler when using generic types and seqs" #12336
    Fixed "[1.0.0] weird interaction between import os and casting integer to char on macosx trigger bad codegen" #12291
    VM: no special casing for big endian machines
    Fixed "internal error: environment misses with a simple template inside one of Jester macros" #12323
    nimsuggest: fix tcp socket leak
    nimsuggest: fix tcp socket leak for epc backend
    Fixed "writeFile and write(f, str) skip null bytes on Windows" #12315
    Fixed "Crash in intsets symmetric_difference" #12366
    Fixed "[regression] VM crash when dealing with var param of a proc result" #12244
    fixes a koch regression that made 'koch boot --listcmd' not work anymore
    Fixed "[regression] inconsistent signed int mod operator between runtime, compiletime, and semfold" #12332
    Fixed "Boehm disables interior pointer checking" #12286
    Fixes semCustomPragma when nkSym
    Fixed yield in nkCheckedFieldExpr
    Fixed "randomize() from random not working on JS" #12418
    Fixed "Compiler crash with invalid object variant" #12379
    fix type's case in random.nim
    Fixed "Update docs with a better way to signal unimplemented methods" #10804
    Fixed "Nim language manual, push pragma is not explained well" #10824
    Fixed "[regression] Importing more than one module with same name from different packages produce bad codegen" #12420
    Namespace unittest enums to avoid name conflicts
    Fixed "VM checks unsigned integers for overflow." #12310
    Fixed "line directive is not generated for first line of function definition" #12426

Documentation improvements

    threadpool: fix link in docs (#12258)
    Fix spellings (#12277)
    fix #12278, don't expose internal PCRE documentation
    Fixed "Documentation of quitprocs is wrong" [#12279(https://github.com/nim-lang/Nim/issues/12279)
    Fix typo in docs
    Fix reference to parseSpec proc in readme
    [doc/tut1] removed discard discussion in comments
    Documentation improvements around the db interface
    Easier build instructions for windows - just run build_all.bat.
    fix a few dead links and a missing sentence in documentation
    Macro docs additions
    Updated the code example in the os module to use better grammar.
    Mention "lambdas" and => in the manual
    Better documentation on Garbage Collector
2019-10-30 12:28:48 +00:00

29 lines
772 B
Makefile

# $NetBSD: Makefile,v 1.11 2019/10/30 12:28:48 ryoon Exp $
DISTNAME= nim-1.0.2
CATEGORIES= lang
MASTER_SITES= http://nim-lang.org/download/
EXTRACT_SUFX= .tar.xz
MAINTAINER= cfkoch@edgebsd.org
HOMEPAGE= https://nim-lang.org/
COMMENT= The Nim programming language
LICENSE= mit
INSTALLATION_DIRS= bin
do-build:
cd ${WRKSRC} && sh ./build.sh
printf '#! %s\nexec %s _=%s/nim/bin/nim %s/nim/bin/nim "$$@"\n' \
"${SH}" "${SETENV}" "${PREFIX}" "${PREFIX}" \
> ${WRKSRC}/nim-wrapper.sh
do-install:
cd ${WRKSRC} && sh ./install.sh ${DESTDIR}${PREFIX}
${INSTALL_SCRIPT} ${WRKSRC}/nim-wrapper.sh ${DESTDIR}${PREFIX}/bin/nim
do-test:
cd ${WRKSRC} && ./bin/nim compile koch.nim
cd ${WRKSRC} && LD_LIBRARY_PATH=${PREFIX}/lib ./koch tests
.include "../../mk/bsd.pkg.mk"