summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/ncl/ymake-grib.patch
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/ncl/ymake-grib.patch')
-rw-r--r--var/spack/repos/builtin/packages/ncl/ymake-grib.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ncl/ymake-grib.patch b/var/spack/repos/builtin/packages/ncl/ymake-grib.patch
new file mode 100644
index 0000000000..40b9163599
--- /dev/null
+++ b/var/spack/repos/builtin/packages/ncl/ymake-grib.patch
@@ -0,0 +1,11 @@
+--- a/config/ymake
++++ b/config/ymake
+@@ -226,7 +226,7 @@
+ else if (-e "yMakefile") then
+ set ymakefile="yMakefile"
+ set outfile = "Makefile"
+-else
++else if (! -e "makefile") then
+ echo "$0 : no y(mM)akefile found" > /dev/tty
+ exit 1
+ endif