pkgsrc-wip/lcdproc/patches/patch-ad
2009-11-05 19:40:05 +00:00

37 lines
1.5 KiB
Text

$NetBSD: patch-ad,v 1.1 2009/11/05 19:40:07 christtrekker Exp $
--- clients/lcdvc/Makefile.in.orig 2009-06-21 10:09:27.000000000 -0500
+++ clients/lcdvc/Makefile.in 2009-11-05 13:27:57.000000000 -0600
@@ -191,6 +191,7 @@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
+sysconfstagedir = @datadir@/examples/@PACKAGE@
target_alias = @target_alias@
sysconf_DATA = lcdvc.conf
lcdvc_SOURCES = lcdvc.c lcdvc.h lcd_link.c lcd_link.h vc_link.c vc_link.h
@@ -287,20 +288,20 @@
uninstall-info-am:
install-sysconfDATA: $(sysconf_DATA)
@$(NORMAL_INSTALL)
- test -z "$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)"
+ test -z "$(sysconfstagedir)" || $(mkdir_p) "$(DESTDIR)$(sysconfstagedir)"
@list='$(sysconf_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=$(am__strip_dir) \
- echo " $(sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \
- $(sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \
+ echo " $(sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfstagedir)/$$f'"; \
+ $(sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfstagedir)/$$f"; \
done
uninstall-sysconfDATA:
@$(NORMAL_UNINSTALL)
@list='$(sysconf_DATA)'; for p in $$list; do \
f=$(am__strip_dir) \
- echo " rm -f '$(DESTDIR)$(sysconfdir)/$$f'"; \
- rm -f "$(DESTDIR)$(sysconfdir)/$$f"; \
+ echo " rm -f '$(DESTDIR)$(sysconfstagedir)/$$f'"; \
+ rm -f "$(DESTDIR)$(sysconfstagedir)/$$f"; \
done
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)