ports/net-mgmt/rancid3/files/patch-etc__Makefile.in
2017-10-25 18:13:38 +00:00

37 lines
1.5 KiB
Text

--- etc/Makefile.in.orig 2017-10-25 18:05:21 UTC
+++ etc/Makefile.in
@@ -535,30 +535,10 @@ uninstall-am: uninstall-pkgdataDATA unin
install-data-local: all
- @if test "$(DO_CONF_INSTALL)" = "yes"; then \
- if test -f $(DESTDIR)$(sysconfdir)/rancid.conf ; then \
- echo ""; \
- echo "WARNING: *** $(DESTDIR)$(sysconfdir)/rancid.conf exists. See "; \
- echo " *** $(pkgdatadir)/rancid.conf.sample for new"; \
- echo " *** examples."; \
- echo ""; \
- else \
- $(INSTALL_DATA) rancid.conf.sample $(DESTDIR)$(sysconfdir)/rancid.conf; \
- fi; \
- if test ! -f $(DESTDIR)$(sysconfdir)/rancid.types.conf ; then \
- $(INSTALL_DATA) rancid.types.conf $(DESTDIR)$(sysconfdir)/rancid.types.conf; \
- fi; \
- if test -f $(DESTDIR)$(sysconfdir)/lg.conf ; then \
- echo ""; \
- echo "WARNING: *** $(DESTDIR)$(sysconfdir)/lg.conf exists. See "; \
- echo " *** $(pkgdatadir)/lg.conf.sample for new"; \
- echo " *** examples."; \
- echo ""; \
- else \
- $(INSTALL_DATA) lg.conf.sample $(DESTDIR)$(sysconfdir)/lg.conf; \
- fi; \
- fi; \
- $(INSTALL_DATA) rancid.types.base $(DESTDIR)$(sysconfdir)/rancid.types.base
+ $(INSTALL_DATA) rancid.conf.sample $(DESTDIR)$(sysconfdir)
+ #$(INSTALL_DATA) rancid.types.conf $(DESTDIR)$(sysconfdir)
+ $(INSTALL_DATA) lg.conf.sample $(DESTDIR)$(sysconfdir)
+ $(INSTALL_DATA) rancid.types.base $(DESTDIR)$(sysconfdir)
lg.conf.sample: Makefile $(srcdir)/lg.conf.sample.in
rm -f lg.conf.sample lg.conf.sample.tmp; \