pkgsrc/mail/jchkmail/patches/patch-ac

27 lines
1,007 B
Text

$NetBSD: patch-ac,v 1.1 2006/04/11 11:12:21 manu Exp $
--- etc/Makefile.in.orig 2003-07-03 11:54:08.000000000 +0000
+++ etc/Makefile.in
@@ -125,13 +125,8 @@ uninstall-info-am:
sysconfDATA_INSTALL = $(INSTALL_DATA)
install-sysconfDATA: $(sysconf_DATA)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
- @list='$(sysconf_DATA)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
- echo " $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f"; \
- $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f; \
- done
+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(PREFIX)/share/examples/jchkmail
+ for f in ${sysconf_DATA:C/.org//}; do $(BSD_INSTALL_DATA) $$f.org $(DESTDIR)$(PREFIX)/share/examples/jchkmail/$$f; done
uninstall-sysconfDATA:
@$(NORMAL_UNINSTALL)
@@ -218,7 +213,6 @@ info-am:
install-data-am:
@$(NORMAL_INSTALL)
- $(MAKE) $(AM_MAKEFLAGS) install-data-hook
install-exec-am: install-sysconfDATA