diff options
Diffstat (limited to 'multimedia/tvtime/patches/patch-ak')
-rw-r--r-- | multimedia/tvtime/patches/patch-ak | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/multimedia/tvtime/patches/patch-ak b/multimedia/tvtime/patches/patch-ak new file mode 100644 index 00000000000..47c7fb83010 --- /dev/null +++ b/multimedia/tvtime/patches/patch-ak @@ -0,0 +1,29 @@ +$NetBSD: patch-ak,v 1.1 2008/09/17 23:00:05 joerg Exp $ + +--- docs/Makefile.am.orig 2004-10-30 17:20:27.000000000 +0200 ++++ docs/Makefile.am +@@ -50,23 +50,8 @@ install-data-local: + + .PHONY: install-exec-hook + install-exec-hook: +- -mkdir -p -- '$(DESTDIR)$(pkgsysconfdir)' || touch noconfdir +- @if [ -f noconfdir ]; then ( \ +- echo 'Warning: I could not create the directory' \ +- '`$(DESTDIR)$(pkgsysconfdir)'"'" ;\ +- echo ' because you do not have the required permissions.' ;\ +- ); fi +- -if [ -f noconfdir ]; then \ +- rm -f noconfdir; \ +- else \ + $(INSTALL) -m 'u=rw,go=r' 'html/default.tvtime.xml' \ +- '$(DESTDIR)$(pkgsysconfdir)/tvtime.xml' || touch noconfdir; \ +- fi +- @if [ -f noconfdir ]; then rm -f noconfdir; ( \ +- echo 'Warning: I could not create the default tvtime' \ +- 'configuration file' ;\ +- echo ' because you do not have the required permissions.' ;\ +- ); fi ++ '$(DESTDIR)$(datadir)/examples/tvtime/tvtime.xml' + + uninstall-hook: + -rmdir -p '$(DESTDIR)$(pkgsysconfdir)' |