On 2026/01/08 07:22, Stuart Henderson wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   [email protected]   2026/01/08 07:22:36
> 
> Modified files:
>       math/lapack    : Makefile distinfo 
> 
> Log message:
> switch to GH_* so that portroach can find distfiles
> keep at 3.12.0 for now, 3.12.1 needs a patch and wider arch testing
> 

this is what I have for 3.12.1, so far I've built it and run tests on
arm64, and it's just finished building on amd64. will go on to build
deps on arm64 in a bit.

patches were all committed upstream (and mostly result from hitting
punched-card type line length limits it seems).

at least a sparc64 build test would be handy if anyone has spare cycles.

Index: Makefile
===================================================================
RCS file: /cvs/ports/math/lapack/Makefile,v
diff -u -p -r1.41 Makefile
--- Makefile    8 Jan 2026 14:22:36 -0000       1.41
+++ Makefile    8 Jan 2026 15:11:06 -0000
@@ -4,17 +4,13 @@ DPB_PROPERTIES=       parallel
 
 GH_ACCOUNT=    Reference-LAPACK
 GH_PROJECT=    lapack
-V=             3.12.0
-GH_TAGNAME=    v$V
-REVISION=      0
-
-SHARED_LIBS +=  blas                      2.1 # 0.0
-SHARED_LIBS +=  cblas                     2.0 # 0.0
-SHARED_LIBS +=  lapack                    7.1 # 0.0
-SHARED_LIBS +=  lapacke                   0.0 # 0.0
-SHARED_LIBS +=  tmglib                    0.0 # 0.0
+GH_TAGNAME=    v3.12.1
 
-WANTLIB += ${MODFORTRAN_WANTLIB} m
+SHARED_LIBS +=  blas                      2.2
+SHARED_LIBS +=  cblas                     2.1
+SHARED_LIBS +=  lapack                    7.2
+SHARED_LIBS +=  lapacke                   0.1
+SHARED_LIBS +=  tmglib                    0.1
 
 CATEGORIES=    math
 
@@ -23,6 +19,8 @@ HOMEPAGE=     https://netlib.org/lapack/
 # BSD
 PERMIT_PACKAGE=        Yes
 
+WANTLIB += ${MODFORTRAN_WANTLIB} m
+
 MODULES=       devel/cmake \
                fortran
 
@@ -36,8 +34,5 @@ CONFIGURE_ARGS=       -DBUILD_TESTING=ON \
 
 BUILD_DEPENDS= ${MODFORTRAN_BUILD_DEPENDS}
 LIB_DEPENDS-main= ${MODFORTRAN_LIB_DEPENDS}
-#TEST_DEPENDS=         lang/python/3
-
-SUBST_VARS=    V
 
 .include <bsd.port.mk>

Reply via email to