summaryrefslogtreecommitdiff
path: root/graphics/povray/patches/patch-ad
blob: 6b059ffc65311665ae9e28c1e72f45fc7d93e896 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
$NetBSD: patch-ad,v 1.4 2006/09/08 08:28:06 joerg Exp $

--- Makefile.in.orig	2004-08-03 01:20:09.000000000 +0200
+++ Makefile.in
@@ -169,7 +169,7 @@ program_transform_name = @program_transf
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 subdirs = @subdirs@
-sysconfdir = @sysconfdir@
+sysconfdir = @datadir@/examples/@PACKAGE@
 target_alias = @target_alias@
 
 # Directories.
@@ -343,12 +343,12 @@ uninstall-man1:
 dist_povconfDATA_INSTALL = $(INSTALL_DATA)
 install-dist_povconfDATA: $(dist_povconf_DATA)
 	@$(NORMAL_INSTALL)
-	$(mkinstalldirs) $(DESTDIR)$(povconfdir)
+	$(mkinstalldirs) $(DESTDIR)$(sysconfdir)
 	@list='$(dist_povconf_DATA)'; for p in $$list; do \
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
-	  echo " $(dist_povconfDATA_INSTALL) $$d$$p $(DESTDIR)$(povconfdir)/$$f"; \
-	  $(dist_povconfDATA_INSTALL) $$d$$p $(DESTDIR)$(povconfdir)/$$f; \
+	  echo " $(dist_povconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f"; \
+	  $(dist_povconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f; \
 	done
 
 uninstall-dist_povconfDATA:
@@ -361,12 +361,12 @@ uninstall-dist_povconfDATA:
 povconfDATA_INSTALL = $(INSTALL_DATA)
 install-povconfDATA: $(povconf_DATA)
 	@$(NORMAL_INSTALL)
-	$(mkinstalldirs) $(DESTDIR)$(povconfdir)
+	$(mkinstalldirs) $(DESTDIR)$(sysconfdir)
 	@list='$(povconf_DATA)'; for p in $$list; do \
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
-	  echo " $(povconfDATA_INSTALL) $$d$$p $(DESTDIR)$(povconfdir)/$$f"; \
-	  $(povconfDATA_INSTALL) $$d$$p $(DESTDIR)$(povconfdir)/$$f; \
+	  echo " $(povconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f"; \
+	  $(povconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f; \
 	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.