summaryrefslogtreecommitdiff
path: root/pcr/mosquitto/usr_move.patch
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2015-02-25 14:04:53 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2015-02-25 14:04:53 -0300
commite8999041b5857b81fac18299c9a1c569124834c6 (patch)
treedc59ce3411a8606d75c4f227f3115f7044d844c5 /pcr/mosquitto/usr_move.patch
parent16a77932784ea7e572a7a9a9b8fe21154c5131fa (diff)
mosquitto: upgrade
Diffstat (limited to 'pcr/mosquitto/usr_move.patch')
-rw-r--r--pcr/mosquitto/usr_move.patch22
1 files changed, 15 insertions, 7 deletions
diff --git a/pcr/mosquitto/usr_move.patch b/pcr/mosquitto/usr_move.patch
index 961ab8a36..4a5bb2e13 100644
--- a/pcr/mosquitto/usr_move.patch
+++ b/pcr/mosquitto/usr_move.patch
@@ -1,13 +1,21 @@
---- 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 $@
+--- a/src/Makefile 2015-02-18 02:44:09.000000000 +0100
++++ a/src/Makefile 2015-02-20 17:15:30.180477359 +0100
+@@ -102,15 +102,15 @@
+ ${CROSS_COMPILE}${CC} $(CFLAGS) ${CPPFLAGS} -c $< -o $@
install : all
- $(INSTALL) -d ${DESTDIR}$(prefix)/sbin
-- $(INSTALL) -s mosquitto ${DESTDIR}${prefix}/sbin/mosquitto
+- $(INSTALL) -s --strip-program=${CROSS_COMPILE}${STRIP} mosquitto ${DESTDIR}${prefix}/sbin/mosquitto
+ $(INSTALL) -d ${DESTDIR}$(prefix)/bin
-+ $(INSTALL) -s mosquitto ${DESTDIR}${prefix}/bin/mosquitto
++ $(INSTALL) -s --strip-program=${CROSS_COMPILE}${STRIP} 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
+ $(INSTALL) -s --strip-program=${CROSS_COMPILE}${STRIP} 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
+