summaryrefslogtreecommitdiff
path: root/pcr/mosquitto/binmerge.patch
blob: d6d79041d7b35c83f81d54f13476b619c6e4fe73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- src/Makefile.orig	2013-06-03 12:23:15.288586121 -0300
+++ src/Makefile	2013-06-03 12:23:29.455571403 -0300
@@ -90,15 +90,15 @@
 	${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
 endif
 
 uninstall :
-	-rm -f ${DESTDIR}${prefix}/sbin/mosquitto
+	-rm -f ${DESTDIR}${prefix}/bin/mosquitto
 	-rm -f ${DESTDIR}${prefix}/include/mosquitto_plugin.h
 	-rm -f ${DESTDIR}${prefix}/bin/mosquitto_passwd