summaryrefslogtreecommitdiff
path: root/net/netatalk/patches/patch-ah
blob: a7e5fb846d310abb50ba1c7393b63cb8fc27044d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ah,v 1.7 2010/07/19 21:21:25 markd Exp $

--- config/Makefile.in.orig	2010-02-07 18:59:32.000000000 +0000
+++ config/Makefile.in
@@ -668,12 +668,14 @@ uninstall-local:
 		rm -f $(DESTDIR)$(pkgconfdir)/$$f; \
 	done
 
+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; \