summaryrefslogtreecommitdiff
path: root/math/lapack++/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'math/lapack++/files/patch-configure')
-rw-r--r--math/lapack++/files/patch-configure11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/lapack++/files/patch-configure b/math/lapack++/files/patch-configure
new file mode 100644
index 000000000000..9055b19b0c1d
--- /dev/null
+++ b/math/lapack++/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig
++++ configure
+@@ -26093,7 +26093,7 @@
+ *)
+ ARCH="OS_${target_os}"
+ # Workaround for bogus system names
+- ARCH=` echo ${ARCH} | ${SED} 's/^a-z0-9_//g' `
++ ARCH=` echo ${ARCH} | ${SED} 's/[^A-Za-z0-9_]//g' `
+ ;;
+ esac
+ { echo "$as_me:$LINENO: result: $ARCH" >&5