pkgsrc/math/openblas/patches/patch-c_check
bacon 845e0f015e math/openblas: import openblas-0.3.7
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.
OpenBLAS is an open source project supported by
Lab of Parallel Software and Computational Science, ISCAS.

This package builds the serial library.

Needs patching and testing on platforms besides Linux
2020-11-05 16:31:45 +00:00

15 lines
493 B
Text

$NetBSD: patch-c_check,v 1.1 2020/11/05 16:31:45 bacon Exp $
Avoid name collision on ARCH
--- c_check.orig 2015-10-27 20:44:50 UTC
+++ c_check
@@ -235,7 +235,7 @@ open(CONFFILE, "> $config" ) || die "Ca
# print $data, "\n";
print MAKEFILE "OSNAME=$os\n";
-print MAKEFILE "ARCH=$architecture\n";
+print MAKEFILE "ARCH_=$architecture\n";
print MAKEFILE "C_COMPILER=$compiler\n";
print MAKEFILE "BINARY32=\n" if $binformat ne bin32;
print MAKEFILE "BINARY64=\n" if $binformat ne bin64;