summaryrefslogtreecommitdiff
path: root/sysutils/puppet5/files
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2019-02-23 05:38:27 +0000
committerRomain Tartière <romain@FreeBSD.org>2019-02-23 05:38:27 +0000
commitde77e91b715f0c4aeffa894f8d8dae4231bc4448 (patch)
tree3c8e6e63aff46bb60c932f8781382ec7bd648754 /sysutils/puppet5/files
parenttextproc/gmetadom: Add USES=compiler:c++11-lang (diff)
Do not hardcode /usr/local and rely on %%PREFIX%%.
While here, also add %%PREFIX%%/sbin to $PATH. Bump PORTREVISION for this change. With hat: puppet
Notes
Notes: svn path=/head/; revision=493642
Diffstat (limited to 'sysutils/puppet5/files')
-rw-r--r--sysutils/puppet5/files/puppet.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/puppet5/files/puppet.in b/sysutils/puppet5/files/puppet.in
index 74ea2c3793f2..3f1010a59254 100644
--- a/sysutils/puppet5/files/puppet.in
+++ b/sysutils/puppet5/files/puppet.in
@@ -30,7 +30,7 @@ unset puppet_flags
pidfile="${puppet_rundir}/agent.pid"
start_precmd="install -d -o puppet -g puppet ${pidfile%/*}"
-PATH="${PATH}:/usr/local/bin"
+PATH="${PATH}:%%PREFIX%%/bin:%%PREFIX%%/sbin"
# An UTF-8 locale is required
: LC_ALL=${LC_ALL:=C.UTF-8}