opnsense-ports/databases/puppetdb/files/patch-ext__files__puppetdb
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

20 lines
595 B
Text

--- ./ext/files/puppetdb.orig 2014-09-01 19:00:53.880156353 +0000
+++ ./ext/files/puppetdb 2014-09-01 19:03:36.589145104 +0000
@@ -6,7 +6,7 @@
# Display usage then exit
function usage {
- local libexecdir=/usr/libexec/puppetdb
+ local libexecdir=%%PREFIX%%/libexec/puppetdb
local files="${libexecdir}/puppetdb-*"
# Seems trying to match an asterisk is hard in bash
@@ -48,7 +48,7 @@
function execsubcommand {
sub=$1
shift
- cmd="/usr/libexec/puppetdb/puppetdb-${sub}"
+ cmd="%%PREFIX%%/libexec/puppetdb/puppetdb-${sub}"
if [ -e ${cmd} ]; then
exec "${cmd}" "$@"