aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/bacula-server
diff options
context:
space:
mode:
authorlkoeller <lkoeller@FreeBSD.org>2005-10-02 19:07:05 +0800
committerlkoeller <lkoeller@FreeBSD.org>2005-10-02 19:07:05 +0800
commit74ea4d2116f9bb8e40df7b4b4e54809b06ff851a (patch)
tree19c946a0755a61992d381fc342c6a06f8fed15fd /sysutils/bacula-server
parent71db2c78661a766ba94f51fe1c6cf2b8f9cc4068 (diff)
downloadfreebsd-ports-gnome-74ea4d2116f9bb8e40df7b4b4e54809b06ff851a.tar.gz
freebsd-ports-gnome-74ea4d2116f9bb8e40df7b4b4e54809b06ff851a.tar.zst
freebsd-ports-gnome-74ea4d2116f9bb8e40df7b4b4e54809b06ff851a.zip
o) Change default location bconsole looks for it's configuration file
from ./bconsole.conf to ${PREFIX}/etc/bconsole.conf where it's installed PR: - Obtained from: "Radim Kolar" <hsn@netmag.cz>
Diffstat (limited to 'sysutils/bacula-server')
-rw-r--r--sysutils/bacula-server/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile
index a2c826c6bd74..0374df6547ec 100644
--- a/sysutils/bacula-server/Makefile
+++ b/sysutils/bacula-server/Makefile
@@ -153,6 +153,8 @@ pre-everything::
.endif
post-patch:
+# Default bconsole.conf is ${PREFIX}/etc
+ @${REINPLACE_CMD} -e 's|./bconsole.conf|${PREFIX}/etc/bconsole.conf|g' ${WRKSRC}/src/console/console.c
.if defined(WITH_CLIENT_ONLY)
# In client port only install startup script out of script dir (see below post-install)
# Dont mkdir ${PREFIX}/share/bacule cause it's empty