On Sun May 16, 2021 at 02:21:28PM +0200, Marc Espie wrote:
> SuperLU is a sparse matrix linear equation solving library.
> 
> It's a required dependency of something else I'm trying to port (opentoonz)
> 
> This port itself is not a problem, I explicitly disabled the fortran
> API unless someone asks for it.

Build and the tests are good. Makefile tweaks:

- Remove empty lines
- Remove spaces before tabs
- TRUE, FALSE => ON/OFF

... otherwise OK rsadowski

--- Makefile.orig       Sun May 16 16:16:27 2021
+++ Makefile    Sun May 16 16:17:02 2021
@@ -1,30 +1,28 @@
 # $OpenBSD$
 
-COMMENT =      library for solving sparse linear equation systems
+COMMENT =      library for solving sparse linear equation systems
 
+GH_ACCOUNT =   xiaoyeli
+GH_PROJECT =   superlu
+GH_TAGNAME =   v5.2.2
 
-GH_ACCOUNT =   xiaoyeli
-GH_PROJECT =   superlu
-GH_TAGNAME =   v5.2.2
+SHARED_LIBS += superlu 0.0     # 5.2.2
 
-SHARED_LIBS +=         superlu 0.0     # 5.2.2
+CATEGORIES =   math
 
-CATEGORIES =   math
+HOMEPAGE =     https://portal.nersc.gov/project/sparse/superlu/
 
-HOMEPAGE =     https://portal.nersc.gov/project/sparse/superlu/
-
 # Mostly BSD
 PERMIT_PACKAGE = Yes
 
-WANTLIB +=     m blas
+WANTLIB +=     m blas
 
-MODULES =      devel/cmake
+MODULES =      devel/cmake
 
 LIB_DEPENDS =  math/blas
 
 CONFIGURE_ARGS += -DBUILD_SHARED_LIBS=ON
-CONFIGURE_ARGS += -DUSE_XSDK_DEFAULTS=TRUE
-CONFIGURE_ARGS += -DXSDK_ENABLE_Fortran=FALSE
-
+CONFIGURE_ARGS += -DUSE_XSDK_DEFAULTS=ON
+CONFIGURE_ARGS += -DXSDK_ENABLE_Fortran=OFF
 
 .include <bsd.port.mk>

Reply via email to