diff options
author | joerg <joerg> | 2006-09-08 08:28:06 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-09-08 08:28:06 +0000 |
commit | d4e92a7afabb194a0afd09bd4fb248e7648a5d60 (patch) | |
tree | c307e8c9d4f1d2ea71c49bd4b18b41427e8eee37 /graphics/povray/patches | |
parent | 926290762ee927a567500b97b4534da8f2fa2b77 (diff) | |
download | pkgsrc-d4e92a7afabb194a0afd09bd4fb248e7648a5d60.tar.gz |
Don't install configuration files into $HOME, it might not even be
writeable.
Diffstat (limited to 'graphics/povray/patches')
-rw-r--r-- | graphics/povray/patches/patch-ad | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/graphics/povray/patches/patch-ad b/graphics/povray/patches/patch-ad index 33748dc134a..6b059ffc653 100644 --- a/graphics/povray/patches/patch-ad +++ b/graphics/povray/patches/patch-ad @@ -1,6 +1,6 @@ -$NetBSD: patch-ad,v 1.3 2004/11/18 16:15:35 adam Exp $ +$NetBSD: patch-ad,v 1.4 2006/09/08 08:28:06 joerg Exp $ ---- Makefile.in.orig 2004-08-02 23:20:09.000000000 +0000 +--- Makefile.in.orig 2004-08-03 01:20:09.000000000 +0200 +++ Makefile.in @@ -169,7 +169,7 @@ program_transform_name = @program_transf sbindir = @sbindir@ @@ -43,3 +43,21 @@ $NetBSD: patch-ad,v 1.3 2004/11/18 16:15:35 adam Exp $ done uninstall-povconfDATA: +@@ -813,17 +813,6 @@ install-data-local: + for f in $$filelist ; do \ + $(INSTALL_DATA) $(top_srcdir)/doc/$$f $(DESTDIR)$(povdocdir)/$$f ; \ + done +- @echo "Copying user configuration and INI files..."; \ +- $(mkinstalldirs) $(povconfuser); \ +- filelist='povray.conf povray.ini'; \ +- for f in $$filelist ; do \ +- if test -e $(povconfuser)/$$f; then \ +- echo "Creating backup of $(povconfuser)/$$f"; \ +- mv -f $(povconfuser)/$$f $(povconfuser)/$$f.bak; \ +- fi; \ +- done; \ +- $(INSTALL_DATA) $(top_srcdir)/povray.conf $(povconfuser)/povray.conf ; \ +- $(INSTALL_DATA) $(top_builddir)/povray.ini $(povconfuser)/povray.ini + + # For 'make uninstall' we remove the whole POV-Ray data directory. + # We have to use uninstall-local and not uninstall-data-local. |