diff options
author | jkim <jkim@FreeBSD.org> | 2014-07-03 07:53:20 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2014-07-03 07:53:20 +0800 |
commit | ced1cae70908974eac5282dc6fef0ec003474d11 (patch) | |
tree | 714c924580b71a2b306140600c16d90a30c4b3c9 /mail/davmail | |
parent | a177764f1185be990ac48c6b2be798cfc41aeda2 (diff) | |
download | freebsd-ports-gnome-ced1cae70908974eac5282dc6fef0ec003474d11.tar.gz freebsd-ports-gnome-ced1cae70908974eac5282dc6fef0ec003474d11.tar.zst freebsd-ports-gnome-ced1cae70908974eac5282dc6fef0ec003474d11.zip |
Properly prefix java with LOCALBASE.
Submitted by: John Hein <z7dr6ut7gs@snkmail.com>
Diffstat (limited to 'mail/davmail')
-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 "$@" |