Hi,

- update nim to 1.6.6
- add missing test dependencies
- enable for arm64; some additional tests fail as compared to amd64
  and coroutines aren't supported. but generally works good enough
  to gather more test-results from actual users.

OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/nim/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile    11 Mar 2022 19:29:08 -0000      1.14
+++ Makefile    22 Aug 2022 14:30:17 -0000
@@ -1,8 +1,8 @@
-ONLY_FOR_ARCHS =       i386 amd64
+ONLY_FOR_ARCHS =       amd64 arm64 i386
 
 COMMENT =              statically typed, imperative programming language
 
-DISTNAME =             nim-1.6.4
+DISTNAME =             nim-1.6.6
 EXTRACT_SUFX =         .tar.xz
 
 CATEGORIES =           lang
@@ -20,6 +20,8 @@ MODULES =             lang/python
 PORTHOME =             ${WRKDIR}
 TEST_DEPENDS =         archivers/p7zip,-main \
                        archivers/unzip \
+                       devel/boehm-gc \
+                       devel/pcre \
                        lang/node \
                        multimedia/sfml
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/nim/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo    28 Feb 2022 13:16:10 -0000      1.6
+++ distinfo    22 Aug 2022 14:30:17 -0000
@@ -1,2 +1,2 @@
-SHA256 (nim-1.6.4.tar.xz) = f8MJKFW1wiAM2f7tEz0EYFgj8lDXO01KxQEwA3DgoMI=
-SIZE (nim-1.6.4.tar.xz) = 5130208
+SHA256 (nim-1.6.6.tar.xz) = Z7ERzm84YVA7n8wcrln8NNASJWbT7P7zoGSiF0EhpFI=
+SIZE (nim-1.6.6.tar.xz) = 5149956
Index: patches/patch-build_sh
===================================================================
RCS file: /cvs/ports/lang/nim/patches/patch-build_sh,v
retrieving revision 1.5
diff -u -p -r1.5 patch-build_sh
--- patches/patch-build_sh      11 Mar 2022 19:29:08 -0000      1.5
+++ patches/patch-build_sh      22 Aug 2022 14:30:17 -0000
@@ -1,5 +1,5 @@
- - don't hardcode -O3
- - fix wrong usage of test(1)
+- don't hardcode -O3
+- fix wrong usage of test(1)
 
 Index: build.sh
 --- build.sh.orig
@@ -17,8 +17,8 @@ Index: build.sh
  
  case $ucpu in
    *i386* | *i486* | *i586* | *i686* | *bepc* | *i86pc* )
--    if [ isOpenIndiana -eq "yes" ] ; then
-+    if [ isOpenIndiana == "yes" ] ; then
+-    if [ "$isOpenIndiana" = "yes" ] ; then
++    if [ "$isOpenIndiana" == "yes" ] ; then
        mycpu="amd64"
      else
        mycpu="i386"
-- 
jasper

Reply via email to