summaryrefslogtreecommitdiff
path: root/mail/mailagent/files/patch-agent-examples-Makefile.SH
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-08-14 14:59:26 +0000
committerJohn Marino <marino@FreeBSD.org>2014-08-14 14:59:26 +0000
commit1b8383012bee4e00b036f03cfa5e0efe127b2426 (patch)
treefb523dfc935713d5600473cb7cfe4e1071edcbcb /mail/mailagent/files/patch-agent-examples-Makefile.SH
parentUpdate kyua-testers to 0.3: (diff)
Convert mail/mailagent from an interactive to a regular port
This PR saved this unmaintained port from the chopping block next week. PR: 196642 Submitted by: Yoshiaki Kasahara
Notes
Notes: svn path=/head/; revision=364848
Diffstat (limited to 'mail/mailagent/files/patch-agent-examples-Makefile.SH')
-rw-r--r--mail/mailagent/files/patch-agent-examples-Makefile.SH20
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/mailagent/files/patch-agent-examples-Makefile.SH b/mail/mailagent/files/patch-agent-examples-Makefile.SH
new file mode 100644
index 000000000000..68908ebe626f
--- /dev/null
+++ b/mail/mailagent/files/patch-agent-examples-Makefile.SH
@@ -0,0 +1,20 @@
+--- ./agent/examples/Makefile.SH.orig 2006-08-24 22:24:12.000000000 +0900
++++ ./agent/examples/Makefile.SH 2014-08-14 01:59:33.512702931 +0900
+@@ -84,7 +84,7 @@
+ install::
+ @for dir in $(PRIVLIB)/examples; do \
+ case '${MFLAGS}' in *[i]*) set +e;; esac; \
+- (set -x; test -d $$dir || $(INSTALLDIR) $$dir); \
++ (set -x; test -d $(INSTALL_PREFIX)$$dir || $(INSTALLDIR) $(INSTALL_PREFIX)$$dir); \
+ done
+
+ deinstall::
+@@ -93,7 +93,7 @@
+ install:: $(FILES)
+ @case '${MFLAGS}' in *[i]*) set +e;; esac; \
+ for i in $(FILES); do \
+- (set -x; $(INSTALL) -c -m 444 $$i $(PRIVLIB)/examples); \
++ (set -x; $(INSTALL) -c -m 444 $$i $(INSTALL_PREFIX)$(PRIVLIB)/examples); \
+ done
+
+ deinstall::