aboutsummaryrefslogtreecommitdiff
path: root/mail/mailagent/files/patch-agent-files-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mailagent/files/patch-agent-files-Makefile')
-rw-r--r--mail/mailagent/files/patch-agent-files-Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/mailagent/files/patch-agent-files-Makefile b/mail/mailagent/files/patch-agent-files-Makefile
new file mode 100644
index 000000000000..784c9f80524e
--- /dev/null
+++ b/mail/mailagent/files/patch-agent-files-Makefile
@@ -0,0 +1,20 @@
+--- agent/files/Makefile.orig 2014-06-20 11:29:40.559119965 -0300
++++ agent/files/Makefile 2014-06-20 11:30:00.539568981 -0300
+@@ -58,7 +58,7 @@
+ install::
+ @for dir in $(PRIVLIB); do \
+ case '${MFLAGS}' in *[i]*) set +e;; esac; \
+- (set -x; test -d $$dir || $(INSTALLDIR) $$dir); \
++ (set -x; test -d $$dir || $(INSTALLDIR) $(INSTALL_PREFIX)$$dir); \
+ done
+
+ deinstall::
+@@ -67,7 +67,7 @@
+ install:: $(FILES)
+ @case '${MFLAGS}' in *[i]*) set +e;; esac; \
+ for i in $(FILES); do \
+- (set -x; $(INSTALL) -c -m 444 $$i $(PRIVLIB)); \
++ (set -x; $(INSTALL) -c -m 444 $$i $(INSTALL_PREFIX)$(PRIVLIB)); \
+ done
+
+ deinstall::