> Index: math/suitesparse/Makefile
> ===================================================================
> RCS file: /cvs/ports/math/suitesparse/Makefile,v
> retrieving revision 1.5
> diff -u -p -u -r1.5 Makefile
> --- math/suitesparse/Makefile 27 Feb 2017 23:08:14 -0000      1.5
> +++ math/suitesparse/Makefile 4 Nov 2017 21:54:46 -0000
> @@ -6,6 +6,7 @@ COMMENT=              suite of sparse matrix algorit
>  
>  DISTNAME=            SuiteSparse-4.4.6
>  PKGNAME=             ${DISTNAME:L}
> +REVISION=            0
>  
>  CATEGORIES=          math
>  
> @@ -28,6 +29,7 @@ WANTLIB += ${MODFORTRAN_WANTLIB} blas la
>  MASTER_SITES=                http://faculty.cse.tamu.edu/davis/SuiteSparse/
>  
>  MODULES=             fortran
> +MODFORTRAN_COMPILER= gfortran
>  
>  BUILD_DEPENDS=               ${MODFORTRAN_BUILD_DEPENDS}
>  LIB_DEPENDS=         ${MODFORTRAN_LIB_DEPENDS} \
> @@ -89,7 +91,7 @@ post-build:
>                       libcolamd.so.${LIBcolamd_VERSION} \
>                       libccolamd.so.${LIBccolamd_VERSION} \
>                       libsuitesparseconfig.so.${LIBsuitesparseconfig_VERSION} 
> \
> -                     -lm -L${LOCALBASE}/lib -lblas -lg2c -llapack
> +                     -lm -L${LOCALBASE}/lib -lblas -lgfortran -llapack
>  
>       cd ${WRKSRC} && \
>               ${CC} -shared -o libcsparse.so.${LIBcsparse_VERSION} \
> @@ -115,13 +117,13 @@ post-build:
>                       UMFPACK/Lib/*.o libamd.so.${LIBamd_VERSION} \
>                       libcholmod.so.${LIBcholmod_VERSION} \
>                       libsuitesparseconfig.so.${LIBsuitesparseconfig_VERSION} 
> \
> -                     -lm -L${LOCALBASE}/lib -lblas -lg2c -llapack
> +                     -lm -L${LOCALBASE}/lib -lblas -lgfortran -llapack
>  
>       cd ${WRKSRC} && \
>               ${CC} -shared -o libspqr.so.${LIBspqr_VERSION} \
>                       SPQR/Lib/*.o libcholmod.so.${LIBcholmod_VERSION} \
>                       libsuitesparseconfig.so.${LIBsuitesparseconfig_VERSION} 
> \
> -                     -lm -L${LOCALBASE}/lib -lblas -lg2c -llapack
> +                     -lm -L${LOCALBASE}/lib -lblas -lgfortran -llapack
>  
>       cd ${WRKSRC} && \
>               ${CC} -shared -o librbio.so.${LIBrbio_VERSION} \
> Index: math/suitesparse/patches/patch-SuiteSparse_config_SuiteSparse_config_mk
> ===================================================================
> RCS file: 
> /cvs/ports/math/suitesparse/patches/patch-SuiteSparse_config_SuiteSparse_config_mk,v
> retrieving revision 1.1.1.1
> diff -u -p -u -r1.1.1.1 patch-SuiteSparse_config_SuiteSparse_config_mk
> --- math/suitesparse/patches/patch-SuiteSparse_config_SuiteSparse_config_mk   
> 20 Jul 2015 23:10:35 -0000      1.1.1.1
> +++ math/suitesparse/patches/patch-SuiteSparse_config_SuiteSparse_config_mk   
> 4 Nov 2017 21:54:46 -0000
> @@ -24,7 +24,7 @@ $OpenBSD: patch-SuiteSparse_config_Suite
>   # This is probably slow ... it might connect to the Standard Reference BLAS:
>  -# BLAS = -lblas -lgfortran
>  -  LAPACK = -llapack
> -+  BLAS = -L${LOCALBASE}/lib -lblas -lg2c
> ++  BLAS = -L${LOCALBASE}/lib -lblas -lgfortran
>  +  LAPACK = -L${LOCALBASE}/lib -llapack
>   
>   # MKL 

OK

Reply via email to