1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/dns/powerdns/files/patch-m4_pdns__with__lua.m4
Dima Panov f902de4b94 dns/powerdns: unbreak build with lua54
Switch to autoreconf to avoid heavy multiline patching of configure script

PR:		253077
Submitted by:	fluffy
Approved by:	maintainer
MFH:		2021Q1
2021-02-06 02:06:28 +00:00

12 lines
613 B
Plaintext

--- m4/pdns_with_lua.m4.orig 2020-09-30 10:42:53 UTC
+++ m4/pdns_with_lua.m4
@@ -41,7 +41,7 @@ AC_DEFUN([PDNS_WITH_LUA],[
], [ : ])
AS_IF([test -z "$LUAPC"], [
found_lua=n
- m4_foreach_w([luapc], [lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua], [
+ m4_foreach_w([luapc], [lua5.4 lua-5.4 lua54 lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua], [
AS_IF([test "$found_lua" != "y"], [
PKG_CHECK_MODULES([LUA], [luapc >= ${lua_min_version}], [
AC_DEFINE([HAVE_LUA], [1], [Define to 1 if you have lua])