summaryrefslogtreecommitdiff
path: root/sysutils/bacula/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/bacula/patches/patch-af')
-rw-r--r--sysutils/bacula/patches/patch-af22
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/bacula/patches/patch-af b/sysutils/bacula/patches/patch-af
new file mode 100644
index 00000000000..5cf4b95ac33
--- /dev/null
+++ b/sysutils/bacula/patches/patch-af
@@ -0,0 +1,22 @@
+$NetBSD: patch-af,v 1.1.1.1 2004/11/06 16:17:38 mjl Exp $
+
+--- src/stored/Makefile.in.orig 2004-06-20 15:43:04.000000000 +0400
++++ src/stored/Makefile.in
+@@ -132,14 +132,14 @@ install: all
+ $(INSTALL_PROGRAM) bscan $(DESTDIR)$(sbindir)/bscan
+ $(INSTALL_PROGRAM) btape $(DESTDIR)$(sbindir)/btape
+ @srcconf=bacula-sd.conf; \
+- if test -f ${DESTDIR}${sysconfdir}/$$srcconf; then \
++ if test -f ${DESTDIR}${prefix}/share/examples/bacula/$$srcconf; then \
+ destconf=$$srcconf.new; \
+ echo " ==> Found existing $$srcconf, installing new conf file as $$destconf"; \
+ else \
+ destconf=$$srcconf; \
+ fi; \
+- echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf"; \
+- ${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf
++ echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}${prefix}/share/examples/bacula/$$destconf"; \
++ ${INSTALL_CONFIG} $$srcconf ${DESTDIR}${prefix}/share/examples/bacula/$$destconf
+ @if test -f static-bacula-sd; then \
+ $(INSTALL_PROGRAM) static-bacula-sd $(DESTDIR)$(sbindir)/static-bacula-sd; \
+ fi