summaryrefslogtreecommitdiff
path: root/package/weechat/patches/patch-src_plugins_Makefile_am
diff options
context:
space:
mode:
Diffstat (limited to 'package/weechat/patches/patch-src_plugins_Makefile_am')
-rw-r--r--package/weechat/patches/patch-src_plugins_Makefile_am13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/weechat/patches/patch-src_plugins_Makefile_am b/package/weechat/patches/patch-src_plugins_Makefile_am
new file mode 100644
index 000000000..02ed4f0af
--- /dev/null
+++ b/package/weechat/patches/patch-src_plugins_Makefile_am
@@ -0,0 +1,13 @@
+--- weechat-0.4.2.orig/src/plugins/Makefile.am 2013-10-06 08:58:14.000000000 +0200
++++ weechat-0.4.2/src/plugins/Makefile.am 2013-11-07 10:41:59.000000000 +0100
+@@ -113,8 +113,8 @@ EXTRA_DIST = CMakeLists.txt
+ # install plugin header
+
+ install-data-hook:
+- $(INSTALL) -d $(includedir)/$(PACKAGE)
+- $(INSTALL_DATA) $(abs_top_srcdir)/src/plugins/weechat-plugin.h $(includedir)/$(PACKAGE)
++ $(INSTALL) -d $(DESTDIR)/$(includedir)/$(PACKAGE)
++ $(INSTALL_DATA) $(abs_top_srcdir)/src/plugins/weechat-plugin.h $(DESTDIR)/$(includedir)/$(PACKAGE)
+
+ # uninstall plugin header
+