Re: git: 0c7a24c1125f - main - math/flexiblas: new port, FlexiBLAS - A BLAS and LAPACK wrapper library

From: Max Brazhnikov <makc_at_freebsd.org>
Date: Thu, 02 Nov 2023 17:23:27 UTC
Hi Thierry,

> +.include <bsd.port.pre.mk>
> +
> +.if exists(${LOCALBASE}/lib/libatlas.so)
> +LIB_DEPENDS+=  libatlas.so:math/atlas
> +PLIST_SUB+=    OPENBLAS="@comment " ATLAS=""
> +.else
> +LIB_DEPENDS+=  libcblas.so:math/cblas  \
> +               libopenblas.so:math/openblas
> +PLIST_SUB+=    OPENBLAS="" ATLAS="@comment "
> +.endif

Could this be governed not by fate but via options?

Max