pkgsrc/security/prelude-pflogger/patches/patch-aa
2008-06-12 02:14:13 +00:00

25 lines
1.5 KiB
Text

$NetBSD: patch-aa,v 1.4 2008/06/12 02:14:45 joerg Exp $
--- Makefile.am.orig 2005-09-18 08:30:01.000000000 -0600
+++ Makefile.am
@@ -5,18 +5,7 @@ EXTRA_DIST = prelude-pflogger.conf confi
ChangeLog
install-data-local:
- @if test -f $(DESTDIR)$(configdir)/prelude-pflogger.conf; then \
- echo "********************************************************************************"; \
- echo; \
- echo "$(DESTDIR)$(configdir)/prelude-pflogger.conf already exist..."; \
- echo "Installing default configuration in $(DESTDIR)$(configdir)/prelude-pflogger.conf-dist"; \
- echo; \
- echo "********************************************************************************"; \
- $(INSTALL) -m 600 $(top_srcdir)/prelude-pflogger.conf $(DESTDIR)$(configdir)/prelude-pflogger.conf-dist; \
- else \
- $(INSTALL) -d -m 700 $(DESTDIR)$(configdir); \
- $(INSTALL) -m 600 $(top_srcdir)/prelude-pflogger.conf $(DESTDIR)$(configdir)/; \
- fi
+ $(INSTALL) -m 644 $(top_srcdir)/prelude-pflogger.conf ${DESTDIR}@EGDIR@;
uninstall-local:
- rm -f $(DESTDIR)$(configdir)/prelude-pflogger.conf;
+ rm -f @EGDIR@/prelude-pflogger.conf;