summaryrefslogtreecommitdiff
path: root/net-mgmt/rancid-devel/files/patch-etc__Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/rancid-devel/files/patch-etc__Makefile.in')
-rw-r--r--net-mgmt/rancid-devel/files/patch-etc__Makefile.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/net-mgmt/rancid-devel/files/patch-etc__Makefile.in b/net-mgmt/rancid-devel/files/patch-etc__Makefile.in
new file mode 100644
index 000000000000..66e8a0709bb2
--- /dev/null
+++ b/net-mgmt/rancid-devel/files/patch-etc__Makefile.in
@@ -0,0 +1,34 @@
+
+$FreeBSD$
+
+--- etc/Makefile.in.orig
++++ etc/Makefile.in
+@@ -375,26 +375,8 @@
+
+
+ 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)
+
+ lg.conf.sample: Makefile $(srcdir)/lg.conf.sample.in
+ rm -f lg.conf.sample lg.conf.sample.tmp; \