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.
22 lines
1 KiB
Text
22 lines
1 KiB
Text
$NetBSD: patch-af,v 1.1 2004/09/12 23:45:54 shattered 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
|