openbsd-ports/graphics/fnlib/patches/patch-ab
2000-01-12 01:38:10 +00:00

23 lines
947 B
Plaintext

--- config/Makefile.in.orig Mon Oct 18 20:43:55 1999
+++ config/Makefile.in Sun Jan 2 02:10:20 2000
@@ -108,14 +108,14 @@
install-sysconfDATA: $(sysconf_DATA)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
+ $(mkinstalldirs) $(PREFIX)/lib/fnlib
@list='$(sysconf_DATA)'; for p in $$list; do \
if test -f $(srcdir)/$$p; then \
- echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \
- $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \
+ echo " $(INSTALL_DATA) $(srcdir)/$$p $(PREFIX)/lib/fnlib/$$p.sample"; \
+ $(INSTALL_DATA) $(srcdir)/$$p $(PREFIX)/lib/fnlib/$$p.sample; \
else if test -f $$p; then \
- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \
- $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \
+ echo " $(INSTALL_DATA) $$p $(PREFIX)/lib/fnlib/$$p.sample"; \
+ $(INSTALL_DATA) $$p $(PREFIX)/lib/fnlib/$$p.sample; \
fi; fi; \
done