Hi, ports@:

    Here is a patch for math/igraph:
    i) Update to 0.10.8
    ii) Enable `make -test`.  (`make test` does not work in current version)
    It build and run well on amd64-current system, and 100% tests pass.


Cheers !
wen
Index: Makefile
===================================================================
RCS file: /cvs/ports/math/igraph/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile    27 Sep 2023 09:27:55 -0000      1.9
+++ Makefile    8 Dec 2023 11:58:31 -0000
@@ -1,8 +1,8 @@
 COMMENT =      C graph library
-V =            0.10.4
+V =            0.10.8
 DISTNAME =     igraph-$V
 
-SHARED_LIBS =  igraph 2.0      # 0.0
+SHARED_LIBS =  igraph 3.0      # 0.0
 
 CATEGORIES =   math
 
@@ -32,6 +32,8 @@ LIB_DEPENDS =         devel/glpk \
 CONFIGURE_ARGS +=      -DBUILD_SHARED_LIBS=ON \
                        -DIGRAPH_ENABLE_TLS=ON \
                        -DIGRAPH_WARNINGS_AS_ERRORS=OFF
+do-test:
+       cd ${WRKBUILD} && exec cmake --build . --target check
 
 .include <bsd.port.arch.mk>
 .if ${PROPERTIES:Mlld}
Index: distinfo
===================================================================
RCS file: /cvs/ports/math/igraph/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo    4 Mar 2023 10:09:50 -0000       1.3
+++ distinfo    8 Dec 2023 11:58:31 -0000
@@ -1,2 +1,2 @@
-SHA256 (igraph-0.10.4.tar.gz) = qlcAtYxfHh3h9GN6sU3xXGsg4l5R0PWiYJIYGOjwKvw=
-SIZE (igraph-0.10.4.tar.gz) = 4279321
+SHA256 (igraph-0.10.8.tar.gz) = rF+pSub9HqzmUeSyNemcBWR5pcXQ1kGu0wJArDOxlAM=
+SIZE (igraph-0.10.8.tar.gz) = 4326926

Reply via email to