summaryrefslogtreecommitdiff
path: root/net/bird2/files/patch-Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/bird2/files/patch-Makefile.in')
-rw-r--r--net/bird2/files/patch-Makefile.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/bird2/files/patch-Makefile.in b/net/bird2/files/patch-Makefile.in
new file mode 100644
index 000000000000..d5824ea146b0
--- /dev/null
+++ b/net/bird2/files/patch-Makefile.in
@@ -0,0 +1,15 @@
+--- Makefile.in.orig 2017-04-29 22:26:04 UTC
++++ Makefile.in
+@@ -163,11 +163,7 @@ install: all
+ if test -n "@CLIENT@" ; then \
+ $(INSTALL_PROGRAM) $(exedir)/birdc $(DESTDIR)/$(sbindir)/birdc ; \
+ fi
+- if ! test -f $(DESTDIR)/@CONFIG_FILE@ ; then \
+- $(INSTALL_DATA) $(srcdir)/doc/bird.conf.example $(DESTDIR)/@CONFIG_FILE@ ; \
+- else \
+- echo "Not overwriting old bird.conf" ; \
+- fi
++ $(INSTALL_DATA) $(srcdir)/doc/bird.conf.example $(DESTDIR)/@CONFIG_FILE@.example
+
+ install-docs:
+ $(INSTALL) -d $(DESTDIR)/$(docdir)