summaryrefslogtreecommitdiff
path: root/net/latd/patches/patch-ac
blob: b8ad587d013e282e584f66fcda71ef6fa9c62608 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ac,v 1.2 2010/02/11 22:04:14 joerg Exp $

--- Makefile.in.orig	2003-10-20 19:18:37.000000000 +0200
+++ Makefile.in	2003-10-20 19:20:20.000000000 +0200
@@ -508,12 +508,12 @@
 sysconfDATA_INSTALL = $(INSTALL_DATA)
 install-sysconfDATA: $(sysconf_DATA)
 	@$(NORMAL_INSTALL)
-	$(mkinstalldirs) $(DESTDIR)$(sysconfdir)
+	$(mkinstalldirs) ${DESTDIR}$(PREFIX)/share/examples/latd
 	@list='$(sysconf_DATA)'; for p in $$list; do \
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
-	  echo " $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f"; \
-	  $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f; \
+	  echo " $(sysconfDATA_INSTALL) $$d$$p $(PREFIX)/share/examples/latd/$$f"; \
+	  $(sysconfDATA_INSTALL) $$d$$p ${DESTDIR}$(PREFIX)/share/examples/latd/$$f; \
 	done
 
 uninstall-sysconfDATA: