File prosody-makefile.patch of Package prosody

diff -urEbwB prosody-0.10.0/Makefile prosody-0.10.0.new/Makefile
--- prosody-0.10.0/Makefile	2017-09-28 15:07:47.000000000 +0200
+++ prosody-0.10.0.new/Makefile	2017-10-03 11:18:19.609730580 +0200
@@ -3,14 +3,14 @@
 
 BIN = $(DESTDIR)$(PREFIX)/bin
 CONFIG = $(DESTDIR)$(SYSCONFDIR)
-MODULES = $(DESTDIR)$(LIBDIR)/prosody/modules
-SOURCE = $(DESTDIR)$(LIBDIR)/prosody
+MODULES = $(DESTDIR)@@LIBDIR@@/prosody/modules
+SOURCE = $(DESTDIR)@@LIBDIR@@/prosody
 DATA = $(DESTDIR)$(DATADIR)
 MAN = $(DESTDIR)$(PREFIX)/share/man
 
-INSTALLEDSOURCE = $(LIBDIR)/prosody
+INSTALLEDSOURCE = @@LIBDIR@@/prosody
 INSTALLEDCONFIG = $(SYSCONFDIR)
-INSTALLEDMODULES = $(LIBDIR)/prosody/modules
+INSTALLEDMODULES = @@LIBDIR@@/prosody/modules
 INSTALLEDDATA = $(DATADIR)
 
 INSTALL=install -p