Hi,

The following diff updates math:igraph to 0.9.10 and should unbreak the build 
on 
!lld architectures (like sparc64) where LTO isn't supported.

It is the latest version of 0.9 serie (but 0.10.0 was released at same time).

I would appreciate a test on sparc64 (to be sure my condition !lld is fine, 
else 
it should be !clang).

igraph SHARED_LIBS +0.1 as a new symbol was added.

Comments or OK ?
-- 
Sebastien Marie

diff /home/semarie/repos/openbsd/ports
commit - 240e2d38ce1c1f27efe4b746bdba3247823f7fef
path + /home/semarie/repos/openbsd/ports
blob - d7fbe4877b3e76eff3042950477211c4480be875
file + math/igraph/Makefile
--- math/igraph/Makefile
+++ math/igraph/Makefile
@@ -1,8 +1,9 @@
 COMMENT =      C graph library
-V =            0.9.9
+
+V =            0.9.10
 DISTNAME =     igraph-$V
 
-SHARED_LIBS =  igraph 1.0      # 0.0
+SHARED_LIBS =  igraph 1.1      # 0.0
 
 CATEGORIES =   math
 
@@ -30,8 +31,11 @@ LIB_DEPENDS =        devel/glpk \
 # those are only needed to regenerate parsers in the development version
 # The release tarball doesn't even ship those .y/.l files
 CONFIGURE_ARGS +=      -DBUILD_SHARED_LIBS=ON \
-                       -DIGRAPH_ENABLE_TLS=ON \
-                       -DIGRAPH_ENABLE_LTO=ON
+                       -DIGRAPH_ENABLE_TLS=ON
 
+.if "${PROPERTIES:Mlld}"
+CONFIGURE_ARGS +=      -DIGRAPH_ENABLE_LTO=ON
+.endif
+
 DEBUG_PACKAGES =       ${BUILD_PACKAGES}
 .include <bsd.port.mk>
blob - d5f95b580bf9ebb508c8893d4aadd4c79ab08ea7
file + math/igraph/distinfo
--- math/igraph/distinfo
+++ math/igraph/distinfo
@@ -1,2 +1,2 @@
-SHA256 (igraph-0.9.9.tar.gz) = 7jWNm9E+O0kVM+Ptpc2pNLxSOKp1amjC3vqrTjPuV6s=
-SIZE (igraph-0.9.9.tar.gz) = 3952162
+SHA256 (igraph-0.9.10.tar.gz) = PhDrLgWIv2ouHnMPsaaF91kcvliTJvSsH1u0WzZmTb4=
+SIZE (igraph-0.9.10.tar.gz) = 3964468

Reply via email to