summaryrefslogtreecommitdiff
path: root/net-mgmt/rancid-devel/files/patch-etc__Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/rancid-devel/files/patch-etc__Makefile.am')
-rw-r--r--net-mgmt/rancid-devel/files/patch-etc__Makefile.am34
1 files changed, 34 insertions, 0 deletions
diff --git a/net-mgmt/rancid-devel/files/patch-etc__Makefile.am b/net-mgmt/rancid-devel/files/patch-etc__Makefile.am
new file mode 100644
index 000000000000..6a967375cf8d
--- /dev/null
+++ b/net-mgmt/rancid-devel/files/patch-etc__Makefile.am
@@ -0,0 +1,34 @@
+
+$FreeBSD$
+
+--- etc/Makefile.am.orig
++++ etc/Makefile.am
+@@ -33,26 +33,8 @@
+ endif
+
+ 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)/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.conf.sample $(DESTDIR)$(sysconfdir)
++ $(INSTALL_DATA) lg.conf.sample $(DESTDIR)$(sysconfdir)
+
+ #clean:
+ # rm -f Makefile rancid.conf $(BIN_DATAS) $(BIN_PROGS)