summaryrefslogtreecommitdiff
path: root/pcr/mosquitto/usr_move.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/mosquitto/usr_move.patch')
-rw-r--r--pcr/mosquitto/usr_move.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pcr/mosquitto/usr_move.patch b/pcr/mosquitto/usr_move.patch
new file mode 100644
index 000000000..961ab8a36
--- /dev/null
+++ b/pcr/mosquitto/usr_move.patch
@@ -0,0 +1,13 @@
+--- a/src/Makefile 2013-06-03 03:03:05.321690000 +0200
++++ b/src/Makefile 2013-06-04 03:45:13.514436898 +0200
+@@ -96,8 +96,8 @@
+ ${CC} $(CFLAGS) ${CPPFLAGS} -c $< -o $@
+
+ install : all
+- $(INSTALL) -d ${DESTDIR}$(prefix)/sbin
+- $(INSTALL) -s mosquitto ${DESTDIR}${prefix}/sbin/mosquitto
++ $(INSTALL) -d ${DESTDIR}$(prefix)/bin
++ $(INSTALL) -s mosquitto ${DESTDIR}${prefix}/bin/mosquitto
+ $(INSTALL) mosquitto_plugin.h ${DESTDIR}${prefix}/include/mosquitto_plugin.h
+ ifeq ($(WITH_TLS),yes)
+ $(INSTALL) -s mosquitto_passwd ${DESTDIR}${prefix}/bin/mosquitto_passwd