diff options
Diffstat (limited to 'security/prelude-lml/patches/patch-ab')
-rw-r--r-- | security/prelude-lml/patches/patch-ab | 37 |
1 files changed, 14 insertions, 23 deletions
diff --git a/security/prelude-lml/patches/patch-ab b/security/prelude-lml/patches/patch-ab index 6268f1c4b3b..2883ab1164f 100644 --- a/security/prelude-lml/patches/patch-ab +++ b/security/prelude-lml/patches/patch-ab @@ -1,51 +1,42 @@ -$NetBSD: patch-ab,v 1.1.1.1 2006/01/29 15:56:42 shannonjr Exp $ +$NetBSD: patch-ab,v 1.2 2006/05/20 19:12:32 joerg Exp $ ---- Makefile.in.orig 2005-11-24 04:46:25.000000000 -0700 +--- Makefile.in.orig 2006-05-20 18:51:30.000000000 +0000 +++ Makefile.in -@@ -600,33 +600,33 @@ uninstall-info: uninstall-info-recursive - +@@ -695,27 +695,27 @@ uninstall-info: uninstall-info-recursive install-data-local: -- $(INSTALL) -m 700 -d $(DESTDIR)$(metadata_dir) + $(INSTALL) -m 700 -d $(DESTDIR)$(metadata_dir) - @if test -f $(DESTDIR)$(configdir)/prelude-lml.conf; then \ -+ $(INSTALL) -m 700 -d $(metadata_dir) -+ @if test -f $(configdir)/prelude-lml.conf; then \ ++ @if test -f $(DESTDIR)$(prefix)/share/examples/prelude-lml/prelude-lml.conf; then \ echo "********************************************************************************"; \ echo; \ - echo "$(DESTDIR)$(configdir)/prelude-lml.conf already exist..."; \ - echo "Installing default configuration in $(DESTDIR)$(configdir)/prelude-lml.conf-dist"; \ -+ echo "$(configdir)/prelude-lml.conf already exist..."; \ -+ echo "Installing default configuration in $(configdir)/prelude-lml.conf-dist"; \ ++ echo "$(DESTDIR)$(prefix)/share/examples/prelude-lml/prelude-lml.conf already exist..."; \ ++ echo "Installing default configuration in $(DESTDIR)$(prefix)/share/examples/prelude-lml/prelude-lml.conf-dist"; \ echo; \ echo "********************************************************************************"; \ - $(INSTALL) -m 600 $(top_srcdir)/prelude-lml.conf $(DESTDIR)$(configdir)/prelude-lml.conf-dist; \ -+ $(INSTALL) -m 600 $(top_srcdir)/prelude-lml.conf $(configdir)/prelude-lml.conf-dist; \ ++ $(BSD_INSTALL_DATA) $(top_srcdir)/prelude-lml.conf $(DESTDIR)$(prefix)/share/examples/prelude-lml/prelude-lml.conf-dist; \ else \ - $(INSTALL) -m 600 $(top_srcdir)/prelude-lml.conf $(DESTDIR)$(configdir)/; \ -+ $(INSTALL) -m 600 $(top_srcdir)/prelude-lml.conf $(configdir)/; \ ++ $(BSD_INSTALL_DATA) $(top_srcdir)/prelude-lml.conf $(DESTDIR)$(prefix)/share/examples/prelude-lml/; \ fi - @if test -f $(DESTDIR)$(configdir)/plugins.rules; then \ -+ @if test -f $(configdir)/plugins.rules; then \ ++ @if test -f $(DESTDIR)$(prefix)/share/examples/prelude-lml/plugins.rules; then \ echo "********************************************************************************"; \ echo; \ - echo "$(DESTDIR)$(configdir)/plugins.rules already exist..."; \ - echo "Installing default configuration in $(DESTDIR)$(configdir)/plugins.rules-dist"; \ -+ echo "$(configdir)/plugins.rules already exist..."; \ -+ echo "Installing default configuration in $(configdir)/plugins.rules-dist"; \ ++ echo "$(DESTDIR)$(prefix)/share/examples/prelude-lml/plugins.rules already exist..."; \ ++ echo "Installing default configuration in $(DESTDIR)$(prefix)/share/examples/prelude-lml/plugins.rules-dist"; \ echo; \ echo "********************************************************************************"; \ - $(INSTALL) -m 600 $(top_srcdir)/plugins.rules $(DESTDIR)$(configdir)/plugins.rules-dist; \ -+ $(INSTALL) -m 600 $(top_srcdir)/plugins.rules $(configdir)/plugins.rules-dist; \ ++ $(BSD_INSTALL_DATA) $(top_srcdir)/plugins.rules $(DESTDIR)$(prefix)/share/examples/prelude-lml/plugins.rules-dist; \ else \ - $(INSTALL) -m 600 $(top_srcdir)/plugins.rules $(DESTDIR)$(configdir)/; \ -+ $(INSTALL) -m 600 $(top_srcdir)/plugins.rules $(configdir)/; \ ++ $(BSD_INSTALL_DATA) $(top_srcdir)/plugins.rules $(DESTDIR)$(prefix)/share/examples/prelude-lml/; \ fi uninstall-local: -- rm -f $(DESTDIR)$(configdir)/prelude-lml.conf; \ -- rm -f $(DESTDIR)$(configdir)/plugin.rules; -+ rm -f $(configdir)/prelude-lml.conf; \ -+ rm -f $(configdir)/plugin.rules; - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. - .NOEXPORT: |