pkgsrc-wip/bacula/patches/patch-ae
Sergey Svishchev 6b0e791932 Update to latest release, 1.34.6 (too many changes since 1.32f to list here).
pkgsrc-specific changes:
  Use sqlite backend for now.  Provide rc.d scripts.

Builds and runs on FreeBSD 5.2.1, Red Hat Linux AS 2.1, 3.0.
2004-09-12 23:45:53 +00:00

22 lines
1 KiB
Text

$NetBSD: patch-ae,v 1.1 2004/09/12 23:45:54 shattered Exp $
--- src/filed/Makefile.in.orig 2004-03-11 00:38:48.000000000 +0300
+++ src/filed/Makefile.in
@@ -111,14 +111,14 @@ devclean: realclean
install: all
$(INSTALL_PROGRAM) bacula-fd $(DESTDIR)$(sbindir)/bacula-fd
@srcconf=bacula-fd.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-fd; then \
$(INSTALL_PROGRAM) static-bacula-fd $(DESTDIR)$(sbindir)/static-bacula-fd; \
fi