File prosody-configure.patch of Package prosody
diff -urEbwB prosody-0.11.0/configure prosody-0.11.0.new/configure
--- prosody-0.11.0/configure 2018-11-19 11:42:24.000000000 +0100
+++ prosody-0.11.0.new/configure 2018-11-22 12:38:01.969935735 +0100
@@ -4,15 +4,15 @@
APP_NAME="Prosody"
APP_DIRNAME="prosody"
-PREFIX="/usr/local"
-SYSCONFDIR="$PREFIX/etc/$APP_DIRNAME"
+PREFIX="/usr"
+SYSCONFDIR="/etc/$APP_DIRNAME"
LIBDIR="$PREFIX/lib"
-DATADIR="$PREFIX/var/lib/$APP_DIRNAME"
+DATADIR="/var/lib/$APP_DIRNAME"
LUA_SUFFIX=""
LUA_DIR="/usr"
LUA_BINDIR="/usr/bin"
-LUA_INCDIR="/usr/include"
-LUA_LIBDIR="/usr/lib"
+LUA_INCDIR="@@INCLUDEDIR@@"
+LUA_LIBDIR="@@LIBDIR@@"
IDN_LIB="idn"
ICU_FLAGS="-licui18n -licudata -licuuc"
OPENSSL_LIB="crypto"