summaryrefslogtreecommitdiff
path: root/net/zebra/patches/patch-aa
diff options
context:
space:
mode:
authorkim <kim>2000-08-24 01:25:36 +0000
committerkim <kim>2000-08-24 01:25:36 +0000
commit54c4859b629dd19e1b72c80fd7ff75e611e75b42 (patch)
treebe708faf6c6649592b5fa26b1773803eae70160a /net/zebra/patches/patch-aa
parent3b006174c1ad511ff2ce2e216b0a37c305cd109b (diff)
downloadpkgsrc-54c4859b629dd19e1b72c80fd7ff75e611e75b42.tar.gz
Place machine-specific config files in /etc/zebra, and
install sample configs in ${PREFIX}/share/examples/zebra.
Diffstat (limited to 'net/zebra/patches/patch-aa')
-rw-r--r--net/zebra/patches/patch-aa33
1 files changed, 33 insertions, 0 deletions
diff --git a/net/zebra/patches/patch-aa b/net/zebra/patches/patch-aa
new file mode 100644
index 00000000000..edcdfc43e5f
--- /dev/null
+++ b/net/zebra/patches/patch-aa
@@ -0,0 +1,33 @@
+$NetBSD: patch-aa,v 1.5 2000/08/24 01:25:38 kim Exp $
+
+--- bgpd/Makefile.am.orig Thu Aug 17 04:27:58 2000
++++ bgpd/Makefile.am Wed Aug 23 16:19:15 2000
+@@ -4,6 +4,8 @@
+ DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
+ INSTALL_SDATA=@INSTALL@ -m 600
+
++sysconfdatadir=$(datadir)/examples/zebra
++
+ noinst_LIBRARIES = libbgp.a
+ sbin_PROGRAMS = bgpd
+ #noinst_PROGRAMS = bgp_btoa
+@@ -36,14 +38,14 @@
+
+ install-sysconfDATA: $(sysconf_DATA)
+ @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
++ $(mkinstalldirs) $(DESTDIR)$(sysconfdatadir)
+ @list='$(sysconf_DATA)'; for p in $$list; do \
+ if test -f $(srcdir)/$$p; then \
+- echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \
+- $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \
++ echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdatadir)/$$p"; \
++ $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdatadir)/$$p; \
+ else if test -f $$p; then \
+- echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \
+- $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \
++ echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdatadir)/$$p"; \
++ $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdatadir)/$$p; \
+ fi; fi; \
+ done
+