summaryrefslogtreecommitdiff
path: root/lang/nim/Makefile
diff options
context:
space:
mode:
authorLoïc Bartoletti <lbartoletti@FreeBSD.org>2020-04-04 11:11:50 +0000
committerLoïc Bartoletti <lbartoletti@FreeBSD.org>2020-04-04 11:11:50 +0000
commit4dba87e83cd94e5593da562cc5153b9686d37572 (patch)
tree90c83c9808b30cfb525694f31c0f7c54f388a724 /lang/nim/Makefile
parentmultimedia/libdvdnav: fix build on GCC architectures (diff)
lang/nim: Update to 1.2.0
- Remove files/patch-koch.nim (This patch is not needed to build nim and tools) - Update files/patch-install.sh and files/patch-config-nim.cfg - Unbreak arm (fixed upstream) [1] - Add all optional tools - Order pkg-plist - Move USES (pet portlint) [1] https://github.com/nim-lang/Nim/pull/13822 Changelog: - https://nim-lang.org/blog/2020/04/03/version-120-released.html PR: 245328 Approved by: tcberner (mentor), Neal Nelson (maintainer) Differential Revision: https://reviews.freebsd.org/D24294
Notes
Notes: svn path=/head/; revision=530639
Diffstat (limited to 'lang/nim/Makefile')
-rw-r--r--lang/nim/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/lang/nim/Makefile b/lang/nim/Makefile
index 6df9426b548e..74a5d67af6b2 100644
--- a/lang/nim/Makefile
+++ b/lang/nim/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= nim
-PORTVERSION= 1.0.6
+PORTVERSION= 1.2.0
CATEGORIES= lang
MASTER_SITES= https://nim-lang.org/download/
@@ -12,26 +12,26 @@ COMMENT= Nim programming language
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/copying.txt
-BROKEN_aarch64= fails to compile: crt1.c: undefined reference to main
-BROKEN_armv6= fails to compile: crt1.c: undefined reference to main
-BROKEN_armv7= fails to compile: crt1.c: undefined reference to main
BROKEN_mips64= fails to build: build.sh: clang: not found
BROKEN_sparc64= fails to build: build.sh: clang: not found
-TOOLS_DESC= Build and install nimgrep and nimsuggest
+USES= compiler tar:xz
+
+TOOLS_DESC= Build and install nim tools
OPTIONS_DEFINE= DOCS TOOLS
+OPTIONS_DEFAULT= DOCS TOOLS
+
OPTIONS_SUB= yes
MAKE_JOBS_UNSAFE= yes
-USES= compiler tar:xz
.include <bsd.port.pre.mk>
-TLIST= nimgrep nimsuggest
+TLIST= nimfind nimgrep nimpretty nimsuggest testament
.if ${ARCH} == "powerpc64"
-. if defined(PPC_ABI) && ${PPC_ABI} == ELFv1
+. if defined(PPC_ABI) && ${PPC_ABI} == ELFv1
EXTRA_PATCHES= ${PATCHDIR}/elfv1-patch-build.sh
. endif
.endif