summaryrefslogtreecommitdiff
path: root/net/openbgpd6/files/patch-Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'net/openbgpd6/files/patch-Makefile.am')
-rw-r--r--net/openbgpd6/files/patch-Makefile.am16
1 files changed, 9 insertions, 7 deletions
diff --git a/net/openbgpd6/files/patch-Makefile.am b/net/openbgpd6/files/patch-Makefile.am
index da85a8ad6103..78ffb52c79fc 100644
--- a/net/openbgpd6/files/patch-Makefile.am
+++ b/net/openbgpd6/files/patch-Makefile.am
@@ -1,19 +1,21 @@
---- Makefile.am.orig 2019-05-01 11:22:14 UTC
+--- Makefile.am.orig 2020-05-05 08:36:21 UTC
+++ Makefile.am
-@@ -19,13 +19,14 @@
- EXTRA_DIST = README.md VERSION bgpd.conf
+@@ -19,13 +19,16 @@ ACLOCAL_AMFLAGS = -I m4
+ EXTRA_DIST = README.md LICENSE VERSION bgpd.conf
install-data-hook:
-- @if [ ! -d "$(DESTDIR)$(localstatedir)/run" ]; then \
-+ if [ ! -d "$(DESTDIR)$(localstatedir)/run" ]; then \
- $(INSTALL) -m 755 -d "$(DESTDIR)$(localstatedir)/run"; \
+- @if [ ! -d "$(DESTDIR)$(runstatedir)" ]; then \
++ if [ ! -d "$(DESTDIR)$(runstatedir)" ]; then \
+ $(INSTALL) -m 755 -d "$(DESTDIR)$(runstatedir)"; \
fi
- @if [ ! -d "$(DESTDIR)$(sysconfdir)" ]; then \
+ if [ ! -d "$(DESTDIR)$(sysconfdir)" ]; then \
$(INSTALL) -m 755 -d "$(DESTDIR)$(sysconfdir)"; \
fi
- @if [ ! -f "$(DESTDIR)$(sysconfdir)/bgpd.conf" ]; then \
-+ $(INSTALL) -m 644 "$(srcdir)/bgpd.conf" "$(DESTDIR)$(sysconfdir)/bgpd.conf.sample"; \
++ if [ ! -f "$(DESTDIR)$(sysconfdir)/bgpd.conf.sample" ]; then \
++ $(INSTALL) -m 644 "$(srcdir)/bgpd.conf" "$(DESTDIR)$(sysconfdir)/bgpd.conf.sample"; \
++ fi
+ if [ ! -f "$(DESTDIR)$(sysconfdir)/bgpd.conf" ]; then \
$(INSTALL) -m 644 "$(srcdir)/bgpd.conf" "$(DESTDIR)$(sysconfdir)/bgpd.conf"; \
else \