summaryrefslogtreecommitdiff
path: root/sysutils/slurm-wlm/files/patch-configure
diff options
context:
space:
mode:
authorJason W. Bacon <jwb@FreeBSD.org>2020-12-01 22:02:47 +0000
committerJason W. Bacon <jwb@FreeBSD.org>2020-12-01 22:02:47 +0000
commit128364843209a695e638da3633f2fe54e0bd867e (patch)
treeb185faadaeb9cd532271f549e504f39100b16f2c /sysutils/slurm-wlm/files/patch-configure
parentsysutils/doctl: Update to version 1.53.0 (diff)
sysutils/slurm-wlm: Patch in lua 5.4 support
PR opened upstream Make sure patch files have meaningful names PR: 251471 Reported by: greg@unrelenting.technology
Notes
Notes: svn path=/head/; revision=556796
Diffstat (limited to 'sysutils/slurm-wlm/files/patch-configure')
-rw-r--r--sysutils/slurm-wlm/files/patch-configure38
1 files changed, 38 insertions, 0 deletions
diff --git a/sysutils/slurm-wlm/files/patch-configure b/sysutils/slurm-wlm/files/patch-configure
new file mode 100644
index 000000000000..5fb3c989de75
--- /dev/null
+++ b/sysutils/slurm-wlm/files/patch-configure
@@ -0,0 +1,38 @@
+--- configure.orig 2020-11-30 15:56:36 UTC
++++ configure
+@@ -24075,8 +24075,24 @@ fi
+
+
+ x_ac_lua_pkg_name="lua"
+- #check for 5.3 then 5.2 then 5.1
+- if test -n "$PKG_CONFIG" && \
++ #check for 5.4 then 5.3 then 5.2 then 5.1
++if test -n "$PKG_CONFIG" && \
++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.4\""; } >&5
++ ($PKG_CONFIG --exists --print-errors "lua5.4") 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; then
++ x_ac_lua_pkg_name=lua5.4
++else
++ if test -n "$PKG_CONFIG" && \
++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.4\""; } >&5
++ ($PKG_CONFIG --exists --print-errors "lua-5.4") 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; then
++ x_ac_lua_pkg_name=lua-5.4
++else
++ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
+ ac_status=$?
+@@ -24125,6 +24141,8 @@ else
+ x_ac_lua_pkg_name=lua-5.1
+ else
+ x_ac_lua_pkg_name="lua >= 5.1"
++fi
++fi
+ fi
+ fi
+ fi