diff options
Diffstat (limited to 'sysutils/bacula/patches/patch-ah')
-rw-r--r-- | sysutils/bacula/patches/patch-ah | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/bacula/patches/patch-ah b/sysutils/bacula/patches/patch-ah index 7d6f0b210c1..cf6fd6ac124 100644 --- a/sysutils/bacula/patches/patch-ah +++ b/sysutils/bacula/patches/patch-ah @@ -1,4 +1,4 @@ -$NetBSD: patch-ah,v 1.5 2009/05/15 10:29:05 adam Exp $ +$NetBSD: patch-ah,v 1.6 2009/05/16 08:06:57 adam Exp $ --- src/wx-console/Makefile.in.orig 2009-03-09 16:34:05.000000000 +0100 +++ src/wx-console/Makefile.in @@ -16,7 +16,7 @@ $NetBSD: patch-ah,v 1.5 2009/05/15 10:29:05 adam Exp $ $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) bwx-console $(DESTDIR)$(sbindir)/bwx-console @srcconf=bwx-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-ah,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 uninstall: (cd $(DESTDIR)$(sbindir); $(RMF) bwx-console) |