diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2014-07-02 23:53:20 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2014-07-02 23:53:20 +0000 |
commit | 2e6bc86aade7f03996d86128cd7acd5982585f48 (patch) | |
tree | 714c924580b71a2b306140600c16d90a30c4b3c9 /mail | |
parent | 9f5419485f1691d28b8029b16143d5d4ff3dd9a3 (diff) | |
download | ports-2e6bc86aade7f03996d86128cd7acd5982585f48.tar.gz ports-2e6bc86aade7f03996d86128cd7acd5982585f48.zip |
Properly prefix java with LOCALBASE.
Submitted by: John Hein <z7dr6ut7gs@snkmail.com>
Notes
Notes:
svn path=/head/; revision=360324
Diffstat (limited to 'mail')
-rw-r--r-- | mail/davmail/files/davmail.in | 4 | ||||
-rw-r--r-- | mail/davmail/files/davmail.sh.in | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mail/davmail/files/davmail.in b/mail/davmail/files/davmail.in index 1bad204d9812..6cbef07fd4f5 100644 --- a/mail/davmail/files/davmail.in +++ b/mail/davmail/files/davmail.in @@ -27,7 +27,7 @@ start_cmd="${name}_start" davmail_procname() { - JAVAVM_DRYRUN=yes "%%PREFIX%%/bin/java" | \ + JAVAVM_DRYRUN=yes "%%LOCALBASE%%/bin/java" | \ /usr/bin/awk -F= '{if ($1=="JAVAVM_PROG") print $2}' 2> /dev/null } @@ -37,7 +37,7 @@ required_files=${davmail_config} davmail_daemon() { - %%PREFIX%%/bin/java \ + %%LOCALBASE%%/bin/java \ -cp "%%DATADIR%%/davmail.jar:%%DATADIR%%/lib/*" \ davmail.DavGateway "${davmail_config}" & echo -n $! > ${pidfile} } diff --git a/mail/davmail/files/davmail.sh.in b/mail/davmail/files/davmail.sh.in index fe38b949fee8..c0326c9f4747 100644 --- a/mail/davmail/files/davmail.sh.in +++ b/mail/davmail/files/davmail.sh.in @@ -1,5 +1,5 @@ #!/bin/sh # $FreeBSD$ -exec %%PREFIX%%/bin/java \ +exec %%LOCALBASE%%/bin/java \ -cp "%%DATADIR%%/davmail.jar:%%DATADIR%%/lib/*" \ davmail.DavGateway "$@" |