summaryrefslogtreecommitdiff
path: root/net/netatalk/patches/patch-ah
blob: ab4c007fa54927027b8160911054ed375b8ff2d4 (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
$NetBSD: patch-ah,v 1.5 2009/06/09 13:57:56 taca Exp $

--- config/Makefile.in.orig	2009-04-25 01:46:56.000000000 +0900
+++ config/Makefile.in
@@ -413,13 +413,14 @@ uninstall-am: uninstall-local
 #
 # install configuration files
 #
+egconfdir = @prefix@/share/examples/netatalk
 
 install-config-files: $(CONFFILES) $(GENFILES)
-	$(mkinstalldirs) $(DESTDIR)$(pkgconfdir)
+	$(mkinstalldirs) $(DESTDIR)$(egconfdir)
 	for f in $(CONFFILES) $(GENFILES); do \
 		if test "x$(OVERWRITE_CONFIG)" = "xyes" -o ! -f $(DESTDIR)$(pkgconfdir)/$$f; then \
-			echo "$(INSTALL_DATA) $$f $(DESTDIR)$(pkgconfdir)"; \
-			$(INSTALL_DATA) $$f $(DESTDIR)$(pkgconfdir); \
+			echo "$(INSTALL_DATA) $$f $(DESTDIR)$(egconfdir)"; \
+			$(INSTALL_DATA) $$f $(DESTDIR)$(egconfdir); \
 		else \
 			echo "not overwriting $$f"; \
 		fi; \
@@ -445,10 +446,10 @@ install-config-files: $(CONFFILES) $(GEN
 @USE_PAM_FALSE@install-data-local: install-config-files
 
 @USE_PAM_FALSE@uninstall-local:
-@USE_PAM_FALSE@    for f in $(CONFFILES) $(GENFILES); do \
-@USE_PAM_FALSE@        echo rm -f $(DESTDIR)$(pkgconfdir)/$$f; \
-@USE_PAM_FALSE@        rm -f $(DESTDIR)$(pkgconfdir)/$$f; \
-@USE_PAM_FALSE@    done
+@USE_PAM_FALSE@	for f in $(CONFFILES) $(GENFILES); do \
+@USE_PAM_FALSE@		echo rm -f $(DESTDIR)$(pkgconfdir)/$$f; \
+@USE_PAM_FALSE@		rm -f $(DESTDIR)$(pkgconfdir)/$$f; \
+@USE_PAM_FALSE@	done
 # 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: