summaryrefslogtreecommitdiff
path: root/sysutils/bacula/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/bacula/patches/patch-ag')
-rw-r--r--sysutils/bacula/patches/patch-ag8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/bacula/patches/patch-ag b/sysutils/bacula/patches/patch-ag
index 7190146c8cf..16667cb3930 100644
--- a/sysutils/bacula/patches/patch-ag
+++ b/sysutils/bacula/patches/patch-ag
@@ -1,4 +1,4 @@
-$NetBSD: patch-ag,v 1.5 2009/05/15 10:29:05 adam Exp $
+$NetBSD: patch-ag,v 1.6 2009/05/16 08:06:57 adam Exp $
--- src/gnome2-console/Makefile.in.orig 2009-02-18 12:40:09.000000000 +0100
+++ src/gnome2-console/Makefile.in
@@ -16,7 +16,7 @@ $NetBSD: patch-ag,v 1.5 2009/05/15 10:29:05 adam Exp $
$(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) bgnome-console $(DESTDIR)$(sbindir)/bgnome-console
@srcconf=bgnome-console.conf; \
- if test -f ${DESTDIR}${sysconfdir}/$$srcconf; then \
-+ if test -f ${DESTDIR}/usr/pkg/share/examples/bacula/$$srcconf; then \
++ if test -f ${DESTDIR}%%EXAMPLESDIR%%/$$srcconf; then \
destconf=$$srcconf.new; \
echo " ==> Found existing $$srcconf, installing new conf file as $$destconf"; \
else \
@@ -24,8 +24,8 @@ $NetBSD: patch-ag,v 1.5 2009/05/15 10:29:05 adam Exp $
fi; \
- echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf"; \
- ${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf
-+ echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}/usr/pkg/share/examples/bacula/$$destconf"; \
-+ ${INSTALL_CONFIG} $$srcconf ${DESTDIR}/usr/pkg/share/examples/bacula/$$destconf
++ echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}%%EXAMPLESDIR%%/$$destconf"; \
++ ${INSTALL_CONFIG} $$srcconf ${DESTDIR}%%EXAMPLESDIR%%/$$destconf
if test -f static-bgnome-console; then \
$(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) static-bgnome-console $(DESTDIR)$(sbindir)/static-bgnome-console; \
fi