]> git.puffer.fish Git - matthieu/frr.git/commitdiff
doc: update build instructions for freebsd on how to obtain libyang
authorRenato Westphal <renato@opensourcerouting.org>
Mon, 14 Jan 2019 18:29:18 +0000 (16:29 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 19 Feb 2019 12:41:37 +0000 (09:41 -0300)
Unfortunately the first version of the FreeBSD libyang port contained
a bug in which the libyang pkginfo file wasn't being installed
correctly in the system, and this prevented the FRR build system from
detecting the library. This bug was already fixed months ago but some
FreeBSD package repositories still have the old bugged version of the
port. This means we can't suggest people to install libyang using
"pkg install" since this causes problems for most people. In this
case, suggest FreeBSD users to build and install libyang manually
as we suggest for other BSD platforms.

This commit should be reverted once all FreeBSD package repositories
are updated with the new version of the libyang port.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
doc/developer/building-frr-for-freebsd10.rst
doc/developer/building-frr-for-freebsd11.rst

index 5dde915f6aa5861d59ad3fd52569adba5da45b7c..a6539309a238b04145bad584c5afb5f5e11393e2 100644 (file)
@@ -17,12 +17,14 @@ is first package install and asked)
 ::
 
     pkg install git autoconf automake libtool gmake gawk json-c pkgconf \
-        bison flex py27-pytest c-ares python3 py-sphinx libyang
+        bison flex py27-pytest c-ares python3 py-sphinx
 
 Make sure there is no /usr/bin/flex preinstalled (and use the newly
 installed in /usr/local/bin): (FreeBSD frequently provides a older flex
 as part of the base OS which takes preference in path)
 
+.. include:: building-libyang.rst
+
 ::
 
     rm -f /usr/bin/flex
index 9bef1fbfde16d90acefc7147e28f839c4657f918..16d06e0a6647af5680183dc58b4cf443e9e0d4f6 100644 (file)
@@ -17,12 +17,14 @@ is first package install and asked)
 .. code-block:: shell
 
    pkg install git autoconf automake libtool gmake gawk json-c pkgconf \
-      bison flex py27-pytest c-ares python3 py36-sphinx texinfo libyang
+      bison flex py27-pytest c-ares python3 py36-sphinx texinfo
 
 Make sure there is no /usr/bin/flex preinstalled (and use the newly
 installed in /usr/local/bin): (FreeBSD frequently provides a older flex
 as part of the base OS which takes preference in path)
 
+.. include:: building-libyang.rst
+
 .. code-block:: shell
 
    rm -f /usr/bin/flex